<code>Warning: Invalid argument supplied for foreach() in /usr/local/admin/apache/vhosts/domain.org/httpdocs/wp-content/plugins/event-espresso/includes/functions/main.php on line 1130
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /usr/local/admin/apache/vhosts/domain.org/httpdocs/wp-content/plugins/event-espresso/espresso.php on line 56</code>
I’m using same domain, same everything, except for moving to a different host. Any ideas what broke?
The server is not able to write a file to preserve the session data. Based on the error message, it looks like the session save path has been set to /, instead of something like /tmp. You may want to check your php ini files (http://www.php.net/manual/en/session.configuration.php#ini.session.save-path) and run a test with the session_save_path() php function.
My host is saying they’ve migrated everything over just as is, and there should be no issues. I resolved the main.php line 1130 issue by enabling payment gateways that, for some reason, got disabled during migration. Could it also be that something in the database needs to be updated to fix espresso.php line 56?
Can you go to the Event Espresso menu, then System Status. At the bottom it should have a section called PHP Sessions, it will tell you where the session path is and if it is writeable.
If you want us to check this, on the same page at the top click the Generate Report button, then copy and paste the results here.
Viewing 3 reply threads
The support post ‘Moved Site to new host, now error.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.