Re: udm_load_ispell_data(): unknown ispell type parameter
Yannick Warnier <[email protected]> Mon, 26 Sep 2005 06:41:06 +0100
| Newsgroups | gmane.comp.web.mnogosearch.php-frontend |
|---|---|
| Message-ID | <[email protected]> |
Le dimanche 25 septembre 2005 à 23:43 +0100, Yannick Warnier a écrit :
> Hi all,
>
> I am using mnogosearch 3.2.31 + mnogosearch-php 3.2.10 + php frontend
> 3.2.11 (also tried with 3.2.9).
Sorry, my mnogosearch-php version is said to be 30231 in phpinfo().
> When I load the search.php script, I get a simple error message "An
> error occured!".
>
> In Apache, the logs tell me this:
>
> udm_load_ispell_data(): Unknown ispell type parameter
> in /usr/share/mnogosearch-php/init.inc on line 402
>
> Line 402 of init.inc is:
> if (!
> Udm_Load_Ispell_Data($udm_agent,UDM_ISPELL_TYPE_DB,'','',1)) {
>
> The PHP doc (php.net) looks like this is the correct parameter to give
> this function.
>
> I know there is a more recent version of mnogosearch, but I would like
> to make it work with this one.
Also, I am trying to use handmade debian packages (not the ones
available publicly and completely outdated) and this error *might* be
bound to the problem with the MySQL extension, where it needs to be
completely recompiled too.
Is this a possible source of this error?
It looks to me like if, somehow, the mnogo.c (containing the
UDM_ISPELL_TYPE_DB constant declaration) wasn't loaded, but still
mnogosearch appears as installed in phpinfo().
Help! :-)
Yannick