Error on installation, unknown file missing

Discussion in 'Installation' started by eatessami, May 18, 2011.

  1. eatessami

    eatessami New Member

    Joined:
    May 12, 2011
    Messages:
    5
    All my php pages (login, signup etc) are getting the following errors on the bottom

    WARNING: Unknown: open(/var/php_sessions/sess_3389a247d3d25ce01ab147a1807024d7, O_RDWR) failed: No such file or directory (2) in line 0 of file Unknown
    WARNING: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in line 0 of file Unknown

    Any ideas??

    is this because i need to specify a session save path? i know i had to do that in another app, if so where and what file would i put this in?
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Logged on as admin, check your version information to see what your session.save_path is set to.

    My guess is that the path is either invalid or your web account does not have sufficient writes to it.

    If your server supports it, you can create a file called php.ini (or php5.ini depending on your server) and add this to it:

    Code:
    session.save_path = /tmp
    You should modify the above code to include a full path to a valid location on your server that your web account has write access to. Copy that new file to your amember directory.

    Alternatively, since this is most likely not an aMember specific issue, you could open a ticket with your Host/Support and provide them the specifics I've provided and they should be able to get you sorted.

Share This Page