1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Having Trouble Connecting The Database

Discussion in 'WordPress' started by hasanoben, Feb 2, 2013.

  1. #1
    My site's database was deleted by accident. I have a copy from several months ago. However when I connect the database to the wordpress config file. I got following error..
    PHP Warning: Unknown: open(/var/php_sessions/sess_bb37934642f76e268acfbd6db5bae473, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0

    What can i do to fix it? Thanks
    Last edited: Feb 2, 2013
    hasanoben, Feb 2, 2013 IP
  2. psharma

    psharma Prominent Member

    Likes Received:
    Best Answers:
    Trophy Points:
    are you trying this on a fresh copy of wordpress?
    psharma, Feb 5, 2013 IP