Menu

ERROR 8: session_start‎()‎ - V 4.2.3

Help
2009-12-30
2013-05-30
  • Andreas Otto

    Andreas Otto - 2009-12-30

    After installation of 4.2.3 I found several times the following entry in the log:

        Anonymous - ERROR 8: session_start‎()‎ ‎‎: ps_files_cleanup_dir: opendir‎(/tmp)‎ failed: Permission denied ‎(13)‎; 0 Error occurred on in function session_start1 called from line 333 of file session.php in function require_once2 called from line 79 of file config.php in function require3 called from line 29 of file individual.php

    Since the entries always start with …Permission denied (13)… I believe that I have a problem with my file permissions.

    Anyone who can help me?

    Andy

     
  • Greg Roach

    Greg Roach - 2009-12-30

    Your server appears to be configured to save PHP sessions in the /tmp directory.  This is not one of the "standard" locations, and indicates a misconfigured PHP installation.

    If this is a shared host, you can ask your ISP to investigate.

    Alternatively, you can tell PGV to ignore the default location and use its own.

    Create a directory called "session" inside your index directory.  Make sure it has the same permissions as index.  i.e. it must be writable by the web-server.

    Then, in your site configuration, set the session.save.path setting to this directory.  Use the full path (starting with /), such as /home/users/andyotto/html-docs/phpgedview/index/session

    If you can't log in to get to this setting, you can edit config.php to enter it manually.

     
  • Andreas Otto

    Andreas Otto - 2009-12-30

    Thanks!

    I have access to the php.ini and changed the path in there. It seems to work :-)

    Thanks again!

    Andy

     

Log in to post a comment.