404 php.dat not found
Posted: Thu Sep 14, 2006 1:43 pm
CMSMS 1.0.1 uploaded to Network Solutions Unix Apache 1.3.37 server with PHP 4.? and mySQL
Everything OK up through step 6 of the install, which is loaded in its own folder /htdocs/cmsms, rather than root. When I open index.php in my browser I get:
The requested URL /~989102.1019253//~989102.1019253//cgi-bin/php.dat was not found on this server.
There is in fact a file php.dat in the directory /cgi-bin. If I change its permissions from 770 to 777 I get an internal server error.
I don't have access to change the .htaccess file, which has been suggested in other posts.
Tech Support from NS says the cause of the error is the variable $_SERVER['SCRIPT_NAME'];, and suggests changing it to $_SERVER['PHP_SELF']; - but every instance I can find of the $_SERVER variable is the latter and not the former.
Any ideas what the problem is and how to fix it?
Everything OK up through step 6 of the install, which is loaded in its own folder /htdocs/cmsms, rather than root. When I open index.php in my browser I get:
The requested URL /~989102.1019253//~989102.1019253//cgi-bin/php.dat was not found on this server.
There is in fact a file php.dat in the directory /cgi-bin. If I change its permissions from 770 to 777 I get an internal server error.
I don't have access to change the .htaccess file, which has been suggested in other posts.
Tech Support from NS says the cause of the error is the variable $_SERVER['SCRIPT_NAME'];, and suggests changing it to $_SERVER['PHP_SELF']; - but every instance I can find of the $_SERVER variable is the latter and not the former.
Any ideas what the problem is and how to fix it?