ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Include error on newly upgraded 163


  • 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 -

  • 2009-09-14 08:51:59

    Re: Include error on newly upgraded 1.6.3

    I suspect the file, and probably its directory, are not readable. Check the permissions on you themes directory. it should be set to 755.

  • 2009-09-14 11:56:06

    Re: Include error on newly upgraded 1.6.3

    Hi,

    You're right greg! It's the therme's subfolder that was restricted to 740 instead of 755.

    Thank you so much!