CGI problem..

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Kenny1

CGI problem..

Post by Kenny1 »

Hello,

I'm running CMS Made Simple 1.0. I'm using PHP 4.4 and MySQL 4.1.10.

I get an error when trying to install cmsms saying that the files aren't found, I contacted the host and got a reply:
The error is usually due to the  php variable ['script_name'].  As our php is installed through CGI, the path leads to the cgi-bin/php.dat file.  You can alter the script name to $_SERVER['PHP_SELF']; to attempt to correct the issue.
What should I do now? Will I be able to use cmsms?

Thanks
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: CGI problem..

Post by tsw »

This has been changed in svn just moments ago and 1.0.2 will use php_self for checking the php file location.

you can edit install/install.php and change $_SERVER['SCRIPT_NAME'] to $_SERVER['PHP_SELF'] on lines 200 and 860 and try installing again.

Hope this helps
Kenny1

Re: CGI problem..

Post by Kenny1 »

tsw wrote: This has been changed in svn just moments ago and 1.0.2 will use php_self for checking the php file location.

you can edit install/install.php and change $_SERVER['SCRIPT_NAME'] to $_SERVER['PHP_SELF'] on lines 200 and 860 and try installing again.

Hope this helps
Thanks for the reply! Will try!
Kenny1

Re: CGI problem..

Post by Kenny1 »

Umm.. has this been changed in the 1.0.2? I dont see the changes in the log file..
Locked

Return to “CMSMS Core”