Webboard: PHP frontend - lots of errors
[email protected] 12 Sep 2005 01:08:36 -0000
| Newsgroups | gmane.comp.web.mnogosearch.php-frontend |
|---|---|
| Message-ID | <[email protected]> |
Author: Charles Sprickman Email: [email protected] Message: Hi, I'm just starting to work with the php frontend. I was able to successfully get the php module installed alongside a ports install of apache/php 4.4.0 on FreeBSD, and now I'm working on getting the search.php page and search.htm template tweaked. Since this is a devel box, I leave on php error reporting so I can find errors in my own php messes. :) When I load the mnogosearch search.php page, I get a huge number of errors above the actual content. Is this normal? Below I have included the output of just loading the search.php page: Notice: Constant UDM_DISABLED already defined in /usr/local/www/data/lists/stella/ search/search.php on line 16 Notice: Undefined variable: ps in /usr/local/www/data/lists/stella/search/init.inc on line 26 Notice: Undefined variable: np in /usr/local/www/data/lists/stella/search/init.inc on line 27 Notice: Undefined variable: o in /usr/local/www/data/lists/stella/search/init.inc on line 28 Notice: Undefined variable: resultslimit in /usr/local/www/data/lists/stella/search/init.inc on line 29 Notice: Undefined variable: excerptsize in /usr/local/www/data/lists/stella/search/init.inc on line 31 Notice: Undefined variable: excerptpadding in /usr/local/www/data/lists/stella/search/ init.inc on line 32 Notice: Undefined variable: dt in /usr/local/www/data/lists/stella/search/init.inc on line 34 Notice: Undefined variable: dt in /usr/local/www/data/lists/stella/search/init.inc on line 34 Notice: Undefined variable: dt in /usr/local/www/data/lists/stella/search/init.inc on line 34 Notice: Undefined variable: dp in /usr/local/www/data/lists/stella/search/init.inc on line 35 Notice: Undefined variable: dx in /usr/local/www/data/lists/stella/search/init.inc on line 36 Notice: Undefined variable: dy in /usr/local/www/data/lists/stella/search/init.inc on line 37 Notice: Undefined variable: dm in /usr/local/www/data/lists/stella/search/init.inc on line 38 Notice: Undefined variable: dm in /usr/local/www/data/lists/stella/search/init.inc on line 38 Notice: Undefined variable: dd in /usr/local/www/data/lists/stella/search/init.inc on line 39 Notice: Undefined variable: db in /usr/local/www/data/lists/stella/search/init.inc on line 41 Notice: Undefined variable: de in /usr/local/www/data/lists/stella/search/init.inc on line 42 Notice: Undefined variable: type in /usr/local/www/data/lists/stella/search/init.inc on line 43 Notice: Undefined variable: url in /usr/local/www/data/lists/stella/search/init.inc on line 45 Notice: Undefined variable: hlbeg in /usr/local/www/data/lists/stella/search/init.inc on line 50 Notice: Undefined variable: hlend in /usr/local/www/data/lists/stella/search/init.inc on line 51 Notice: Undefined variable: storedocurl in /usr/local/www/data/lists/stella/search/init.inc on line 53 Notice: Undefined variable: q in /usr/local/www/data/lists/stella/search/init.inc on line 62 Notice: Undefined variable: q in /usr/local/www/data/lists/stella/search/init.inc on line 75 Notice: Undefined variable: lang_content_negotiation in /usr/local/www/data/lists/stella/ search/search.php on line 24 Notice: Undefined variable: cc in /usr/local/www/data/lists/stella/search/search.php on line 39 Notice: Undefined offset: 1 in /usr/local/www/data/lists/stella/search/common.inc on line 141 Warning: udm_set_agent_param(): Can't open stopwords file 'stopwords/en.sl' (No such file or directory) in /usr/local/www/data/lists/stella/search/init.inc on line 223 That last one is me, I'm trying to get the thing to look in my /usr/local/etc/mnogosearch- stella directory for stopwords, but it's not quite working. The rest though... does anyone have any insight, or should I just turn off all php error reporting and ignore it. Searching does work. Thanks, Charles Reply: <http://www.mnogosearch.org/board/message.php?id=16545>