From: Brad D. <buc...@us...> - 2004-01-14 00:41:06
|
Marcio Merlone wrote: > Hello all, > > I am using the bayes plugin with mysql back-end enabled. When I try to > I mark a message as [spam|not spam], I get this error below: > > Fatal error: Call to undefined function: query() in > /usr/share/squirrelmail/plugins/bayesspam/bayesspam_functions.php on > line 111 > > It is a SQM 1.4.2, bayesspam 3.2 on a Debian woody machine. Any ideas > are appreciated. Hi Marcio, Do you have PEAR installed on your server? It would include the file DB.php and hopefully it would be located in the include path that PHP currently is using. If you do have PEAR and the DB.php file on your system, perhaps PHP is not able to find it. To see PHP config options for your server you could whip up a very small php web page that contains the following code: <?php phpinfo(); ?> You may also need to alter the include_path directive in your php.ini config file so php will no where to look. Best of luck, Brad > Best Regards, > > -- > -- > Marcio Merlone > > mm...@su... kh...@in... ma...@me... > ICQ UIN #13746928 - Linux user #104911 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > -- > squirrelmail-plugins mailing list > List Address: squ...@li... > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > http://squirrelmail.org/cvs > LeVault: Privacy and Security in action |