Support

Home Forums Event Espresso Premium Session save path error

Session save path error

Posted: July 24, 2013 at 1:34 pm


dcouto

July 24, 2013 at 1:34 pm

I keep getting this error message on the System Status page:
/var/lib/php/session does not exist – contact your host to resolve the problem.

I contacted my host and they had this to say:
I had set the /var/lib/php/session to 777 so that it is writeable. And your php.ini file points to that folder for the save session path. We have confirmed that the path exist on the server. I am not sure why the plug-in is having the issue.

I am assuming this is why I can’t connect to my event with my iphone 4. Can you help?


Josh

  • Support Staff

July 24, 2013 at 3:20 pm

Who is the host? Was this working before?

The iphone issue may be something different. Please see this guide for setting up the mobile apps:

https://eventespresso.com/wiki/mobile-apps/


dcouto

July 24, 2013 at 4:56 pm

The host is Media Temple. I haven’t used Event Espresso on this site before. I have seen the guide and followed the instructions previous to my post. When I log on, the iphone app hangs and can’t seem to locate my event. There is only one.


Josh

  • Support Staff

July 24, 2013 at 5:00 pm

This guide from Media Temple may help:

https://kb.mediatemple.net/questions/652/%28dv%29+Session+save+path+errors+and+the+vhost.conf#dv_40

With the iOS app, are you using the newer HD app or the older app?


dcouto

July 24, 2013 at 5:47 pm

I saw this article previously and actually had their tech support go in, make sure the folder exists and make sure the permissions were set to 775. I am using the new HD app.


Josh

  • Support Staff

July 25, 2013 at 7:28 am

Which version of the API is installed? The HD app uses the new JSON API to communicate with your site:

https://eventespresso.com/wiki/api-addon/

The guide that I linked to has instructions on how to test the JSON API in a web browser. This well help confirm whether it’s working properly.


dcouto

July 25, 2013 at 8:03 am

Istalled JSON, now I am getting 500-internal server error when I try to log in using my iphone.


dcouto

July 25, 2013 at 8:12 am

When I test drive using

http://nakedinthehouseonline.com/testdrive/espresso-api/v1/events/public.pretty_json

just the news section of my site comes up.


Josh

  • Support Staff

July 25, 2013 at 8:37 am

This would indicate that the JSON API hasn’t been activated. If it is activated then there may be another plugin causing a conflict. You can rule this out by temporarily deactivating any other plugins.


dcouto

July 25, 2013 at 9:09 am

Deactivated all the plugins and left only JSON API on. Still got the news page on my site. Also still getting the -500 internal server error.


Josh

  • Support Staff

July 25, 2013 at 9:44 am

The testdrive part of the URL should be removed. So to test the API, it should be:

http://nakedinthehouseonline.com/espresso-api/v1/events/public.pretty_json
Which also throws a 500 error.

There could be a number of things causing this, one could be where the memory is running low, a PHP error is being thrown, or the server isn’t configured correctly.

There are some further steps that can be taken to troubleshoot:

1) The theme may have a function that’s conflicting which can be ruled out by temporarily switching to the twentytwelve theme.

2) If you go into wp-config.php and edit the file there you can try to increase the amount of memory allocated and turn on debugging, which may reveal the PHP errors if it’s a PHP error:

http://codex.wordpress.org/Editing_wp-config.php


dcouto

July 26, 2013 at 9:03 am

I have followed all these steps and still can’t get the iphone app to work. How much would it cost to have someone on your end fix this?


Richard Teachout

July 26, 2013 at 9:31 am

I’m having the same iphone HD app doesn’t work, but it used to.

Here’s what I’m getting in my log
==> /access.log <==
Ip.AD.DRE.SS – – [26/Jul/2013:11:27:41 -0400] “GET /espresso-api/v1/authenticate?username=REMOVED&password=REMOVED HTTP/1.1” 500 – “-” “EventEspressoHD/14 CFNetwork/609.1.4 Darwin/13.0.0”

==> /error.log <==
[Fri Jul 26 11:27:42 2013] [error] [client Ip.AD.DRE.SS] PHP Fatal error: Call to a member function get() on a non-object in /srv/wordpress/wp-includes/cache.php on line 113

Those two lines happen at the same time when trying to authenticate from the app.

I have JSON 2.0 installed, tried disabling other plugins, but don’t see what what is causing this, even tried disabling caching in wp-config, no dice.

Thoughts?


Josh

  • Support Staff

July 26, 2013 at 10:17 am

@dcouto

I don’t know what it would cost, and if it can even be fixed from out end since it’s not something we can reproduce. It may be something with the server’s environment that we can’t work around.

@richard

The issue you’re reporting sounds like it’s an issue similar to what was reported in this thread:

http://wordpress.org/support/topic/php-fatal-error-call-to-a-member-function-get-on-a-non-object-in

The support post ‘Session save path 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.

Event Espresso