Posted: September 27, 2015 at 1:11 pm
|
Hi I seem to be having a few problems with the checkout experience on my site around the Event cart. And based on the topic re godaddy hosting im wondering if this might be the same with Hostgator Optimized wordpress hosting. If i add an event to the cart and then delete it – it disappears, which is what i’d expect but…when i either go back to the cart page or add something different the event i just deleted is back again. If i press delete again, i get an error message that tells me there is nothing in my cart to delete (words to that effect). Refreshes the page and then its got the other event listed. Is this something to do with Caching? Interestingly it only seems to happen if i do it with an account that isn’t an administrator account. The other thing is that fields that I’d expect to be pre populated from the user aren’t. On the registration page even if the user is logged in they still have to input first name, last name and email. So the user inputs the info and then another error message comes up and says that another user already has that email address. But again…doesn’t happen if i try under my admin user profile. Sorry if this is too much for one support post. Thanks in advance Lauren |
Hi Lauren, To get the ‘easy’ question out of the way:
We had another user report the same issue and are investigating the cause, we will update on this shortly.
Yes, that does sound like a caching issue. Can you link me to one of your events so I can view this please? |
|
|
Hi Tony Thanks for getting back to me – this is a development site and hosted on a different server to the main site so to view it unfortunately you would need to change the host files on your computer. Here are the details to change: 162.144.20.104 devondogs.co.uk http://www.devondogs.co.uk and one of our events can be found here after the host file change: http://devondogs.co.uk/events/contacts-weaves/ thanks again |
|
quick update – it looks like i may have got somewhere with this. In hostgator there is an option to turn off caching. I also went in and edited wp super cache to not cache the core pages. Now the cart is updating as I’d expect it to. I’m still no further with the other issue though. |
|
September 28, 2015 at 10:54 am Ok, so now those 2 things are working (thanks for the plugin update) however… I have my events to force people to login to register – so what i’m experiencing is if a user is not logged in before they go to the registration page they are promoted to login. But, when you enter the login details I get an error that says this registration step couldn’t be processed please refresh the page and try again. When the page refreshes the user is actually logged in. Do you know any reason why it might fail the login? Thanks |
September 28, 2015 at 10:57 am Hi Lauren, There is an update for the WP user integration that will correct the populating issue for you. Next, I’d like to take another look at the caching issue that you mentioned. We have an article that covers how to setup no-cache rules for Event Espresso here: https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ You mentioned that there is caching available from Hostgator and then you are using WP Super Cache. Is there any information such as a documentation page on the Hostgator caching solution? — |
|
|
September 28, 2015 at 11:02 am Hi Lorenzo I think the caching thing is sorted – within the hostgator optimised wordpress hosting panel there is an option to turn off caching which i did and now all is working fine on that side. Just the the issue i mentioned above to look at re the forced login and not accepting the login first time around. Thanks |
September 28, 2015 at 11:29 am Hi, did you update to the newest version of the WP users integration? We released an update earlier this afternoon. — |
|
|
September 28, 2015 at 11:36 am yes – did that as soon as i saw it 🙂 |
Hi Lauren, This could be a number of issues, most likely some form of error is being thrown on the ajax request when logging in. Which of your events is forced login, seems none of them are currently? If you enable WP_DEBUG are any errors thrown? |
|
|
Hi Tony Thanks for getting back to me – today I don’t get the error message all i get is the cog that turns but it turns forever. But again, if i move away from the page the user is actually logged in. Unfortunately i’m a newbie at wordpress and I can’t turn DEBUG on because at the moment I can’t get access to FTP – hostgator are having issues with that service. I did find a plugin that says it turns debug on so I downloaded it and activated it. The error messages i got where: Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use Warning: Cannot modify header information – headers already sent by (output started at /home4/waak5o0aaba4/public_html/wp-includes/functions.php:3457) in /home4/waak5o0aaba4/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112 Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home4/waak5o0aaba4/public_html/wp-includes/functions.php:3457) in /home4/waak5o0aaba4/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method simple_breaks::add_button() should not be called statically in /home4/waak5o0aaba4/public_html/wp-includes/plugin.php on line 503 I hope that makes sense to you as it means nothing to me. Thanks |
|
sorry – i didn’t answer your question. I currently set all events to not force login but i can set one to if you like and give you the url |
|
url for forced log in http://devondogs.co.uk/events/test/ with this event i do get the registration process error |
|
If users logs in on any other page other than the registration page everything works out fine. |
That would point to a notice or warning being thrown during the login, this can be from any plugin (or the theme) hijacking the ajax request. IF you temporarily switch to one of the defualt themes such as twentyfourteen, then retry, does the same happen? |
|
|
ok – i switched the twenty fifteen and the same thing happens…should i try deactivating all but event espresso plugins and try again? |
|
i deactivated all plugins and it worked perfectly. I then reactivated the only plugin i have that i’d think had anything to do with logging in which is the basic version of s2member and tried again. With s2member activated it stopped working again |
|
yes – definitely something to do with s2member as I have now activated all plugins apart from s2member and its all working fine. Any advice for a fix or another plugin so that I can charge for a membership which automatically changes user roles to something i can use to display member only tickets? thanks |
Hmm, s2 should work fine with EE. Although there are far to many different setups with s2 for me to say it will work with every setup. Can you send me a temporary login I can use to view what happens please? If so, please send using this form: https://eventespresso.com/send-login-details/ I’ll run through a registration whilst logged out, then login using the details provided and see if I can find the error. Note I will need WPDebug to be enabled if you have it disabled currently. |
|
|
ok – i have sent these to you now. I’ve set you up as an s2member level 1, i tested with admin and that didn’t cause a problem. Because its a optimised wordpress site i can’t get access to turn DEBUG on and the FTP for hostgator is down at the moment. Ive tried using a plugin to turn it on but now i see a lot of 404 errors – do you know a good plugin for DEBUG? thanks |
Without FTP access (or even ‘File Manage’ through your hosts control panel) I usually don’t recommend altering the wp-config.php file, just in-case something goes wrong… it’s a pretty important file 😉 However on staging you can use something like this: https://wordpress.org/plugins/debug/ The ‘Simple Breaks’ plugin is throwing a notice which may be effecting this, can you temporarily de-activate that plugin whilst I test this please.
It basically means Simple Breaks is calling its functions the wrong way and newer version of PHP (like yours) throw that notice. |
|
|
Hi Tony Ok – i’ve switched to Debug and switched debug on. and i’ve disabled the simple breaks plugin. |
|
I get this in the bottom left of the error message box on logging in from the reg page EED_WP_Users_SPCO – verify_user_access – 363 Does that help? thanks |
Hi Lauren, I just wanted to let you know I’ve replied to your support token on this and it appears to be a conflict with S2. I have created a ticket for our developers to investigate. |
|
The support post ‘Hostgator Optimized WordPress hosting’ 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.