ATutor

Learning Management Tools







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


Cache error


  • 2004-06-23 14:09:06

    Cache error

    Using Apache 1.3.27 and php4 4.2.3, exactly the same as I have on present server, which is working well with an ATutor 1.4 installation. However, I want to reinstall using a more powerful server and I managed to get the LAMP setup going as before, but during the installation I intermittently got sent to a listing of files on the new server.
    I managed to finish the installation and then imported the ATutor Howto course - no problem, but then I could no longer navigate in the course as I got sent the same file listing.
    On restarting the server I now get this error message:

    Fatal error: Call to undefined function: print_errors() in /var/www/ATutor/include/phpCache/phpCache.inc.php on line 518

    What have I done wrong?
    Yours, Guy

  • 2004-06-23 14:17:59

    Further to cache error

    I just noticed another thread on this same error and tried the suggestion to do chmod 777 on /include/phpCache
    But that has changed nothing. Besides, I notice that on my present online server the directly is not world writable and yet it works without problems.

    Any other ideas?
    Guy:(

  • 2004-06-23 16:55:55

    writable cache dir

    See the CACHE_DIR entry in the confguration options

    http://www.atutor.ca/atutor/docs/configuration.php

    [reply][b]In reply to:[/b]
    I just noticed another thread on this same error and tried the suggestion to do chmod 777 on /include/phpCache
    But that has changed nothing. Besides, I notice that on my present online server the dir...
    [op]forums/view.php?fid=7;pid=1913;page=1#1914[/op][/reply]

  • 2004-06-24 04:36:00

    Bad php config?

    Sorry to be a pain, but I've still got problems.
    I modified the Cache directory variable to point to /tmp/ and it has got rid of the cache error message. However, I still have the original problem of not being able to navigate the courses properly. When I click on a link to go to the next page and the link address ends with a /?cid=xxx I get sent a file listing of the contents of ATutor. Clicking on another xxx.php file I go back to the normal environment. It's the same with the other links ending in xxx.php; they all work.
    Have I got a bad php configuration (something in php.ini?) or is it in the httpd.conf file of Apache? Yet I configured Apache exactly as it is on the present server, which works with no problem.
    Any other suggestions?
    Guy

  • 2004-06-24 07:56:23

    Apache conf

    This sound like Apache is not configured to recognize index.php as the default page if no filename is given in a URL.

    In Apache's httpd.conf look for something like:

    DirectoryIndex index.html

    and change it to:

    DirectoryIndex index.php index.html

  • 2004-06-24 09:53:14

    Modif index.php worked

    Thanx for the tip.
    The modif inserting index.php after DirectoryIndex in httpd.conf did the trick! Everything seems to be working normally now.

    I'll have a bit more time for the final check of the French translation and will let you know probably tomorrow that it's ok to put online.
    Yours,
    Guy