ATutor

Learning Management Tools







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


cache problems


  • 2004-02-10 11:03:26

    cache problems

    Need help

    Cobalt RAQ3
    linux 5.0 pacifica
    Apache 1.3.6
    SQL 3.23.54
    PHP 4.2.2
    ATutor 1.3.1

    Install went fine.
    This is what I get when I tried to log in as admin

    /home/sites/home/web/ATutor/include/phpCache/phpCache.inc.php on line 352
    [ Variable: error]" />[ Variable: error]

    --------------------------------------------------------------------------------


    Warning: lstat failed for /tmp/cache//atutor_cache_atutor/phpCache.msgs= (errno=2 - No such file or directory) in /home/sites/home/web/ATutor/include/phpCache/phpCache.inc.php on line 227

    Warning: SAFE MODE Restriction in effect. The script whose uid is 99 is not allowed to access /home/tmp/cache/atutor_cache_atutor owned by uid 0 in /home/sites/home/web/ATutor/include/phpCache/phpCache.inc.php on line 352

    Warning: fopen("/tmp/cache//atutor_cache_atutor/phpCache.msgs=", "wb+") - No such file or directory in /home/sites/home/web/ATutor/include/phpCache/phpCache.inc.php on line 352

    [AT_ERROR_CACHE_DIR_BAD]

    Any, and I mean any help will be appreciated

    Dave

    david@liftcrew.ca

  • 2004-02-10 11:15:18

    cache dir

    a) either specify a cache directory that you own (not /tmp) or b) disable cacheing, or c) disable safe_mode.

    b) would be the easiest.
    simply comment out the CACHE_DIR statement in your config.inc.php file.

  • 2004-02-10 13:55:42

    NICE

    Thanks Joel
    b] worked

    If I want cahcing I should create a dir as the admin and enter that path in the set up?

  • 2004-02-10 15:00:04

    cache dir

    it isn't recommended that you enable cache'ing unless you really need it.

    it's only really needed if your database is being saturated..

  • 2004-02-12 14:17:29

    One more problem

    when I go to access tools and discussions it takes me to their directory listings. If I click the index.php I then get the browser page I am looking for.
    You got me throught me first crisis.
    Any idfeas

    dave

  • 2004-02-12 15:14:54

    Web server setting

    Your Web server is probably not set to recognize index.php as an index file.

    in httpd.conf add index.php to DirectoryIndex
    eg

    DirectoryIndex index.php index.html

  • 2004-02-13 21:12:55

    Unable to open content directory

    one more and I think we've got it. when I open file manager i get the error. Unable to open content directory. You may try to create it now does not change anything.?????

  • 2004-02-14 07:44:13

    Permissions?

    This shouldn't be happening if the installer finished without errors.

    Try resetting the permissions on the content directory

    chmod -R a+rwx content/

    or if you have root access use

    chown -R nobody:nobody content/

    (where nobody is the webserver user)


    Before you do that, see if you can use the chat, import a language pack or a content package. See if you can after you've reset the permissions.

  • 2004-02-16 09:27:52

    content dir

    No Go

    When I try to open file manager it says unable to open content directory. Create now.
    And then I get unable to create content directory

    Permissions of the content directory look like this:

    drwxrwxrwx 6 501 501 1024 Feb 16 05:28 content

    Permissions in the content directory look like this

    drwxrwxrwx 2 httpd 501 1024 Feb 16 05:25 1
    drwxrwxrwx 2 httpd 501 1024 Feb 16 05:28 2
    drwxrwxrwx 2 501 501 1024 Dec 16 13:04 chat
    drwxrwxrwx 2 501 501 1024 Dec 16 13:04 import
    -rwxrwxrwx 1 501 501 0 Dec 16 13:04 index.html

    Chat works. content packages does not. Can not do a backup of a course.

    Signed confused

  • 2004-02-16 15:56:08

    Try a fresh install

    Your webserver owner is httpd rather than nobody so use

    chown -R httpd:501 content/

    If that doesn't, try a fresh install, and use chmod a+rwx on the directories listed.

  • 2009-09-01 02:59:31

    Re: cache dir

    Hi goel,

    Can you tell me what is database saturation?

    and when do you say database is being saturated?

    [reply][b]In reply to:[/b]
    it isn't recommended that you enable cache'ing unless you really need it.

    it's only really needed if your database is being saturated..
    [op]forums/view.php?fid=7;pid=1060;page=1#1064[/op][/reply]