Page 1 of 1

CGI problem..

Posted: Wed Sep 20, 2006 2:44 am
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

Re: CGI problem..

Posted: Wed Sep 20, 2006 9:00 am
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

Re: CGI problem..

Posted: Thu Sep 21, 2006 12:35 am
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!

Re: CGI problem..

Posted: Sun Sep 24, 2006 5:49 am
by Kenny1
Umm.. has this been changed in the 1.0.2? I dont see the changes in the log file..