I first tried to install this software on a test server running PHP 5.2.17. I installed all of the files as instructed and made the changes given in the install.sh file by hand. I then set the configuration settings to the site's URL. That resulted in two error messages:
1. Warning: Cannot modify header information - headers already sent by (output started at /path/to/zoom/config_file.php:378 in /path/to/zoom/config.php on line 839. This is caused by extra blank lines after the last ?> in that file. I deleted those.
2. Parse error: syntax error, unexpected T_FUNCTION in /path/to/zoom/config.php on line 851. This is caused by an inline function starting on that line, which PHP 5.2 does not support. I converted it to a regular function.
At this point I decided to switch to a more modern version of PHP, so the remainder is under PHP 5.3.28. At this point, I no longer get any error messages, but clicking the Start button in ZoomIndexer.php produces no result. The Configure button is greyed out, but nothing else happens. The indexlog.txt is never created. I tried creating a blank file for it to use, but it remains empty. The zoomoutput file is created but remains empty.
I noticed that, while the install script creates a temp directory in the zoom directory, the code contains hardcoded references to the /tmp directory. This server does not allow PHP scripts to use /tmp, so I did a global replace with the path to /zoom/temp. Still no results.
I thought that the security policies might be preventing the ZoomEngine from running, so I copied it to the cgi-bin directory and changed the paths to it in zoom_defines.php. Still nothing happens.
I'm running out of ideas here. Any suggestions would be welcome.
Regards
Jim
1. Warning: Cannot modify header information - headers already sent by (output started at /path/to/zoom/config_file.php:378 in /path/to/zoom/config.php on line 839. This is caused by extra blank lines after the last ?> in that file. I deleted those.
2. Parse error: syntax error, unexpected T_FUNCTION in /path/to/zoom/config.php on line 851. This is caused by an inline function starting on that line, which PHP 5.2 does not support. I converted it to a regular function.
At this point I decided to switch to a more modern version of PHP, so the remainder is under PHP 5.3.28. At this point, I no longer get any error messages, but clicking the Start button in ZoomIndexer.php produces no result. The Configure button is greyed out, but nothing else happens. The indexlog.txt is never created. I tried creating a blank file for it to use, but it remains empty. The zoomoutput file is created but remains empty.
I noticed that, while the install script creates a temp directory in the zoom directory, the code contains hardcoded references to the /tmp directory. This server does not allow PHP scripts to use /tmp, so I did a global replace with the path to /zoom/temp. Still no results.
I thought that the security policies might be preventing the ZoomEngine from running, so I copied it to the cgi-bin directory and changed the paths to it in zoom_defines.php. Still nothing happens.
I'm running out of ideas here. Any suggestions would be welcome.
Regards
Jim
Comment