2009-09-14 01:39:11
Include error on newly upgraded 163
Hi,
I'm back to Atutor with a 1.5.5 installation from a first host that I moved and upgraded successfully on my local webserver.
But, when I put all the stuff on a new remote host, I get some include error (see below) opening the login page.
http://209.44.119.172/~vfpasse/atutor/login.php
I cannot understand why it is wrong here and right with both the previous host and my local Server.
The included file does exist at the right place.
I suspect something related to the fact that the to be included file is called from include/vitals.inc.php and the include instruction is
require(AT_INCLUDE_PATH . '../themes/' . $_SESSION['prefs']['PREF_THEME'] . '/theme.cfg.php');
and AT_INCLUDE_PATH values "include/" himself...
Any idea would be very appreciated.
Thank you
PHPInfo : http://209.44.119.172/~vfpasse/phpinfo.php
Things to describe:
Operating system ATutor is installed on - Unix
ATutor version - 1.6.3
Patch #s applied - None
ATutor theme name - scrhibe
PHP version - 5.2.10
MySQL version - 5.0.81-community
Webserver & version - Apache 2.2.11 (Unix)
Copies of error messages -
Warning: require(include/../themes/scrhibe/theme.cfg.php) [function.require]: failed to open stream: No such file or directory in /home/vfpasse/public_html/atutor/include/vitals.inc.php on line 257
Warning: require(include/../themes/scrhibe/theme.cfg.php) [function.require]: failed to open stream: No such file or directory in /home/vfpasse/public_html/atutor/include/vitals.inc.php on line 257
Fatal error: require() [function.require]: Failed opening required 'include/../themes/scrhibe/theme.cfg.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vfpasse/public_html/atutor/include/vitals.inc.php on line 257
Changes to default settings -
Web browser being used -
...and anything else relevant -