require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10
Posted: Mon Sep 14, 2009 9:51 pm
CMSMS version 1.5.4 (Carolina) Schema 31
Modules: Can't access admin pages to retrieve this information
Platform: Windows Server 2003, IIS 6
PHP: 5.2.10
Database: MySQL 5.0.75 running on Ubuntu Server 9.04 32bit
Hi,
I was running fine with the above configuration, but with PHP 5.2.4. I had to upgrade PHP to 5.2.10 for security reasons and this upgrade created my admin page issues. I have two different CMSMS environments running on this server, and the errors are the same on both. The other CMSMS environment is 1.2.4 (Greenland) schema 29.
Error when trying to load the admin login page:
PHP Warning: require_once(../include.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27 PHP Fatal error: require_once() [function.require]: Failed opening required '../include.php' (include_path='.;c:\PHP-5.2.10') in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27
[c:\PHP-5.2.10] is my current PHP path.
I'm sure the issue is in my php.ini file, because a few other issues arose post PHP upgrade, but I can't seem to figure this one out. If I comment out the windows path include path in php.ini, the error changes to:
PHP Warning: require_once(../include.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27 PHP Fatal error: require_once() [function.require]: Failed opening required '../include.php' (include_path='.;C:\php5\pear') in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27
I have tried updating the include path to include the pear directory with [include_path = ".;C:\PHP-5.2.10\PEAR"], but this only changes the error to reflect the path change.
Any help anyone can provide is appreciated.
Modules: Can't access admin pages to retrieve this information
Platform: Windows Server 2003, IIS 6
PHP: 5.2.10
Database: MySQL 5.0.75 running on Ubuntu Server 9.04 32bit
Hi,
I was running fine with the above configuration, but with PHP 5.2.4. I had to upgrade PHP to 5.2.10 for security reasons and this upgrade created my admin page issues. I have two different CMSMS environments running on this server, and the errors are the same on both. The other CMSMS environment is 1.2.4 (Greenland) schema 29.
Error when trying to load the admin login page:
PHP Warning: require_once(../include.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27 PHP Fatal error: require_once() [function.require]: Failed opening required '../include.php' (include_path='.;c:\PHP-5.2.10') in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27
[c:\PHP-5.2.10] is my current PHP path.
I'm sure the issue is in my php.ini file, because a few other issues arose post PHP upgrade, but I can't seem to figure this one out. If I comment out the windows path include path in php.ini, the error changes to:
PHP Warning: require_once(../include.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27 PHP Fatal error: require_once() [function.require]: Failed opening required '../include.php' (include_path='.;C:\php5\pear') in D:\Inetpub\wwwroot\issapac\admin\index.php on line 27
I have tried updating the include path to include the pear directory with [include_path = ".;C:\PHP-5.2.10\PEAR"], but this only changes the error to reflect the path change.
Any help anyone can provide is appreciated.