require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10

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.
Post Reply
outerringz
New Member
New Member
Posts: 4
Joined: Thu Apr 10, 2008 4:58 am

require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10

Post by outerringz »

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.
outerringz
New Member
New Member
Posts: 4
Joined: Thu Apr 10, 2008 4:58 am

Re: require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10

Post by outerringz »

I also went from PHP 5.2.4 using isapi to PHP 5.2.10 using FastCGI. Both my older and newer installations are running fine on the website front ends. The issue only appears to be effecting the admin pages.
Fraserm
Forum Members
Forum Members
Posts: 107
Joined: Wed Mar 04, 2009 2:27 pm

Re: require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10

Post by Fraserm »

Any time now you're going to be told by someone who could potentially help you (not me) that 1.5.4 is now no longer supported (1.6.4 and 1.6.5 only).

Suggest you revert back to the way things were if you can and then upgrade to 1.6.5
outerringz
New Member
New Member
Posts: 4
Joined: Thu Apr 10, 2008 4:58 am

Re: require_once(../include.php) errors after PHP upgrade from 5.2.4 to 5.2.10

Post by outerringz »

Kind of a bummer, but thanks for the info. I'll try that the next time I schedule an outage.
Post Reply

Return to “CMSMS Core”