Posted: September 5, 2013 at 3:16 am
I upgraded several plugins for my client at http://imedicinereview.com yesterday. Yours broke the site, as you can see, adding this, among other things, to the top of the home page: Am working to resolve it but meanwhile here’s a dump of “important information.” And here is “system status” – Event Espresso version 3.1.34.1.P |
|
|
Hello,
Did you change host or move servers? Please look to resolving the session path issue. That itself may resolve this error. What version of event Espresso did you upgrade from? You can also try going to the Payment Settings page and deactivate all gateways. Then deactivate the plugin and reactivate it. See if the error persists after reactivation. If it does not, the reactivate the gateways. If the error does persist please advise. We may need site access at that point. |
Dean, I deactivated the PayPal gateway, which was the only one active, deactivated the plugin, and reactivated it. The problem persists. I’m not aware of any server changes at long-time host GoDaddy. I’m sorry, I don’t know what version the prior one was. Presumably the next most recent, since I periodically check plugins and do those that call for it. I would be happy to provide site access. How would you like me to communicate that info? Thanks, Ken |
|
Hi Ken, From looking over the list of plugins and their version numbers it’s saying the social and calendar add-ons are out of date. I can advise updating the calendar and social add-ons to their latest versions. As an aside, it turns out that GoDaddy will from time to time “upgrade” your hosting account (ie. move it to another server). We’ve seen more than a few times when they moved things they did not configure the session save path to point to the new location. Can you check with them and have them verify that the session save path is configured correctly? |
|
Hi Josh, GoDaddy support says there have been no server changes in over a year. There was nothing else he could tell me except there would be no reason for session path to have changed. I deactivated EE, updated the add-ons, reactivated all three, and as you can see at imedicinereview.com, the problem persists. I have an admin account with the username eventespresso. Let me know if you want the password (I think WordPress may have emailed it to support automatically). Ken |
|
Access to the admin account would not be helpful to have in this case. There are a few non-admin items that need to be corrected: 1) The check payment gateway that was copied over to /wp-content/uploads/espresso/gateways may have some code that was customized that’s breaking the site. You can deactivate the gateways, remove the copied gateway, then reactivate the gateways in order to load up the check gateway that is included with Event Espresso. 2) You can create a file on your server, name it test.php and place the following code in it to check for the session save path: <?php echo session_save_path(); ?> Then you can go to http://imedicinereview.com/test.php and check there. If a file name is not output, please forward that link to GoDaddy support. A link to a related discussion on the GoDaddy forums: |
|
Result from test.php is: Huh? It’s saying it doesn’t even recognize the function. I looked in my php.ini and there is no mention of session_save_path. I wanted to run this past you before doing battle with another clueless GoDaddy support person. What should I say to them? Meanwhile, I will go through the steps you mention in item one and let you know the result. |
|
Additional question: I am looking in the paypal directory under gateways. All the files I see are dated yesterday, which is when I updated the plugin. (a) Does it make sense to delete these files? (b) If so, do I delete all of them before reactivating the plugin and the PayPal gateway? |
|
Hi sbabar, The fatal error seems to indicate that session support is disabled on this server. While I can’t say that for sure, this related post in the wp.org forums may help: http://wordpress.org/support/topic/fast-secure-contact-form-3 With the gateways folder: Nothing should be deleted from wp-content/plugins/event-espresso/gateways. If you look at the error message from the original post:
It’s indicating that the check gateway has been copied over from the Event Espresso plugin to the /wp-content/uploads/espresso/gateways folder. In some cases this will cause problems after an update because the new version may have some changes to the gateway. Hope that helps. |
|
Josh, 1. Help me understand your previous advice, copied below, by telling me exactly which file or files to recopy, from where to where: 2. Fundamental question before I go mucking about with GoDaddy again: Why would Event Espresso work fine one moment, then immediately after I upgrade to the latest version, not work fine? More specifically, was there a change to Event Espresso that would make it finicky about the session path? If not, it seems to me we’re barking up the wrong tree. Is there a flaw in that logic? |
|
Third question: If I advise sbabar to buy a $65 support token, will it help expedite this case? I am charging him for my time, so in the interest of my client, I would like the most efficient resolution possible. |
|
Hi there, With number 1, no file copying is necessary or recommended in this case. When you update Event Espresso all the files are in their correct place. However, anything that was copied over earlier in /wp-content/uploads/espresso/templates may cause issues. The advice given there was to *remove* not copy. With number 2, there wasn’t a change that was made to Event Espresso to make it more finicky about session save paths. However we have seen time and again where GoDaddy makes a change to a server that causes this issue. With number 3: If a support token is purchased, we can work through the copied over gateway issues if FTP credentials can be sent via the form link that appears on the account page after a support token is purchased. The session save path issues are out of our reach and need to be resolved with the host. |
|
Josh, OK, thanks for your effort on this. Since I believe the likelihood of Godaddy having messed up the session path at exactly the moment in time that I updated the plugin is nil, and since nobody here copied over any gateway files to my knowledge, I’ve advised my client to buy a token to try to expedite a cure. Ken |
|
|
have you tried renaming the wp-content/uploads/espresso/gateways folder to wp-content/uploads/espresso/old_gateways? <?php $temp = session_save_path(); echo $temp; ?> But that is a curiosity, not central to the original error. The original error should be taken care of by getting wp-content/uploads/espresso/gateways/check/check_payment_vars.php out of the picture by renaming wp-content/uploads/espresso/gateways. |
Sidney (or whoever is on duty), Thanks for the new suggestions. Renamed gateways to old-gateways, reactivated EE plugin, got this at top of page: Plugin could not be activated because it triggered a fatal error. Warning: require_once(/home/content/10/6605910/html/wp-content/plugins/event-espresso/gateways/process_payments.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/10/6605910/html/wp-content/plugins/event-espresso/includes/functions/main.php on line 1162 What would be a reasonable response to that? (Also, Tried your mod to test.php as well as several variations of “Hello World” and got errors. Will have to check with GoDaddy, that just doesn’t seem right. You’re right that it may not have anything to do with the central problem, though.) Ken |
|
Hi Ken, Did you rename /wp-content/uploads/espresso/gateways to /wp-content/uploads/espresso/old-gateways (correct) or was it /wp-content/plugins/event-espresso/gateways that was renamed? (will break things). |
|
Josh, That was careless of me. I fixed my error, renamed the correct gateways folder and reactivated the plugin, which appears to have fixed the problem. Thanks for directing me to the right spot. What I’m not clear on is what caused the problem in the first place. This should have been a simple, free update. Did it happen because my client wasn’t current on his license? |
|
It seems the problem was caused by having an out of date copy of a gateway in the /wp-content/uploads/espresso/gateways directory. Files in that location will override what’s in the core plugin.
|
|
Yes, but how did it get there? We’ve been pretty much hands-off with this plugin, so I don’t think it’s something we did. Unless it’s something we didn’t do. Any ideas that will help me avoid a future recurrence? |
|
I do not know how it got there. As long as anyone with FTP access doesn’t copying anything into /wp-content/uploads/espresso/templates or /wp-content/uploads/espresso/gateways you’ll avoid a future recurrence. |
|
The support post ‘Automatic upgrade to 3.1.34.1.P broke my site’ 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.