404 php.dat not found

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
aptnano

404 php.dat not found

Post by aptnano »

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?
aptnano

Re: 404 php.dat not found - resolved

Post by aptnano »

Due to NS's configuration, I had to change all instances of the variable "$_SERVER['SCRIPT_NAME'];"  to  $_SERVER['PHP_SELF'];
This resolved the problem
jason

Re: 404 php.dat not found

Post by jason »

I have network solutions as well and im having the same problems.  What files did you need to change ?  Also, did you put the empty config file in the main directory or in the cmsms directory?  Help would be greatly appeciated
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: 404 php.dat not found

Post by tsw »

install.php has some SCRIPT_NAME stuff.

1.0.2 due today will have this thing sorted out

config.php place is in cmsms directory

Hope this helps
jason

Re: 404 php.dat not found

Post by jason »

Awesome1...finnally no more errors..thanks a million :) :)
Locked

Return to “[locked] Installation, Setup and Upgrade”