mduke
Mar 4th 2004, 3:03 pm
On OS X.2, WebSTAR 5.3 (server), DigitalPoint's Google search results page, which worked fine out of the box, suddenly quit (no results). My server logs show the same error results that I get on an alternative setup on (2) Unix/Apache searching the same site (the WebSTAR server). BTW, Unix php.ini had error reporting on so I could see the errors in browser.
I doubt the numerous errors that appear at both sites are related to the OS X site no longer yielding results (AFAIK, these errors are not unusual and when I disable them on Unix, the search results work fine). I supply both URLs (search for something like "salmon" or "trout"), and the error code from my WebSTAR log, which is the same as the errors I got on Unix (this because I need to shut off error checking to at least temporarily have working search engine via remote site before I can resolve this on OS X):
http://fish.washington.edu/search
http://depts.washington.edu/safs/search
I'm open to any suggestions. I suspect it's something to do with my OS X php.ini.
Marcus Duke
Webmaster/Info Specialist
UW Aquatic & Fishery Sciences
And here are the errs:
PHP Notice: Undefined index: start in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 26
PHP Notice: Undefined variable: line in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 34
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php(38) : eval()'d code on line 2
PHP Parse error: parse error, unexpected $ in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php(38) : eval()'d code on line 44
PHP Notice: Use of undefined constant end - assumed 'end' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant start - assumed 'start' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant end - assumed 'end' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 58
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 63
PHP Notice: Use of undefined constant start - assumed 'start' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 69
PHP Notice: Undefined index: start in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 69
PHP Notice: Use of undefined constant error - assumed 'error' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 70
PHP Notice: Undefined index: error in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 70
PHP Notice: Use of undefined constant urls - assumed 'urls' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 74
PHP Warning: Invalid argument supplied for foreach() in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 74
I doubt the numerous errors that appear at both sites are related to the OS X site no longer yielding results (AFAIK, these errors are not unusual and when I disable them on Unix, the search results work fine). I supply both URLs (search for something like "salmon" or "trout"), and the error code from my WebSTAR log, which is the same as the errors I got on Unix (this because I need to shut off error checking to at least temporarily have working search engine via remote site before I can resolve this on OS X):
http://fish.washington.edu/search
http://depts.washington.edu/safs/search
I'm open to any suggestions. I suspect it's something to do with my OS X php.ini.
Marcus Duke
Webmaster/Info Specialist
UW Aquatic & Fishery Sciences
And here are the errs:
PHP Notice: Undefined index: start in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 26
PHP Notice: Undefined variable: line in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 34
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php(38) : eval()'d code on line 2
PHP Parse error: parse error, unexpected $ in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php(38) : eval()'d code on line 44
PHP Notice: Use of undefined constant end - assumed 'end' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant start - assumed 'start' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant end - assumed 'end' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Undefined variable: urls in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 45
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 58
PHP Notice: Use of undefined constant results - assumed 'results' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 63
PHP Notice: Use of undefined constant start - assumed 'start' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 69
PHP Notice: Undefined index: start in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 69
PHP Notice: Use of undefined constant error - assumed 'error' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 70
PHP Notice: Undefined index: error in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 70
PHP Notice: Use of undefined constant urls - assumed 'urls' in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 74
PHP Warning: Invalid argument supplied for foreach() in /Applications/4DWebSTAR/WebServer/DefaultSite/search/results.php on line 74