ATutor

Learning Management Tools







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


Error Message


  • 2006-04-26 00:27:10

    Error Message

    Warning: main(include/header.inc.php): failed to open stream: No such file or directory in /home/airplane/public_html/flight-attendant-school/ATutor/themes/default/login.tmpl.php on line 1

    Warning: main(include/header.inc.php): failed to open stream: No such file or directory in /home/airplane/public_html/flight-attendant-school/ATutor/themes/default/login.tmpl.php on line 1

    Fatal error: main(): Failed opening required 'include/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/airplane/public_html/flight-attendant-school/ATutor/themes/default/login.tmpl.php on line 1

    Latest stable version, not sure what else to add.
    Thanks for your help.

    Gary

  • 2006-04-26 08:32:47

    Re: Error Message

    I'm guessing there is a symbolic link in the path to your home directory. You'll need to discover the actual path to your home directory and use the AT_CONTENT_DIR in include/config.inc.php

    to find the "current working directory" run the following script

    [php]

    echo getcwd();

    [/php]

  • 2006-04-26 09:06:06

    Re: Error Message

    Thank-you, I added that code to a page, and it came back with the same location, I copied it over the line in config.inc.php and don't seem to be getting the error anymore, unfortunately though the instructor page now says;

    Warning: array_intersect(): Argument #2 is not an array in /home/airplane/public_html/flight-attendant-school/ATutor/include/header.inc.php on line 195

    Appreciate any help, I noticed a forum on this or something similiar to add array on 217 / 223 is this the same fix?

    Thanks for the help.

    Gary

  • 2006-04-26 09:16:22

    Re: Error Message

    You'll need to describe the system ATutor is running, as mentioned in the Message box when you post to this forum.

    If you are using php5+, yes follow the instructions in the thread you found.

  • 2006-04-26 09:33:07

    Re: Error Message

    Thanks again, that fixed it.

    The last point in the forum regarding the array argument, and putting the (array) within the statement also (and not just at the start), I believe did the trick.

    Thanks!