post-installation problem

Hi! I've installed Omeka but when I tried to display my Omeka page, I got the following message:

"Omeka Has Encountered an Error

Zend_Session::start() - /hermes/bosweb/web242/b2427/ipg.alexlesanucom/neighborlands/application/libraries/Zend/Session.php(Line:479): Error #2 session_start() [function.session-start]: open(/var/php_sessions/sess_04cb29635debbe17dc25a7cfc8db7d34, O_RDWR) failed: No such file or directory (2) Array /hermes/bosweb/web242/b2427/ipg.alexlesanucom/neighborlands/application/libraries/Zend/Session.php(Line:489): Error #2 session_write_close() [function.session-write-close]: open(/var/php_sessions/sess_04cb29635debbe17dc25a7cfc8db7d34, O_RDWR) failed: No such file or directory (2) Array /hermes/bosweb/web242/b2427/ipg.alexlesanucom/neighborlands/application/libraries/Zend/Session.php(Line:489): Error #2 session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) Array"

Can anyone help me with this? Thanks!

Hi, the first thing to try would be to alert your server admin or hosting provider, since this issue is related to a missing file that stores your session data. If they don't provide any help, you can try the instructions below, which are more complicated but allow you to specify your own file for storing that session data.

Workaround:

This relates to a session configuration issue that has been fixed in the upcoming 1.2 version of Omeka.

This requires modifying the 'save_path' session option in your config.ini file, which is only available since Omeka 1.2.

To do this you'll need to either wait for the 1.2 release, or you'll need to download the trunk from SVN (http://omeka.org/codex/Using_Subversion). When you've downloaded the trunk (be sure to rename the config files appropriately), add something like the following to your application/config/config.ini file:

session.save_path = "/path/to/session"

Where the actual file path should be replaced by a directory that you have created and given read/write permission by your PHP process.

Hope that helps!

Correction: when I said "session file", I meant "directory". Your host will need to make sure that directory exists, or you'll need to follow the instructions and create your own.

Thanks a lot! I told my host about the problem and they recommended the following:

"I have added the Zend code in the php.ini file of your account and fixed the issue. Can you please check the website after clearing browser cache and cookies?

To clear browser cache and cookies, please follow the instructions given below:
1. Open a new browser.
2. Click on Tools.
3. Click on Internet Options.
4. Click on Delete Cookies button.
5. Click on Clear History button.
6. Click on Apply and OK buttons."

After this it seems that everything works! Thanks!