Posted: December 21, 2014 at 8:10 pm
|
Hi, I’m having trouble getting the view cart page to function correctly. Once i’ve added one or more items to cart from this test page i have created:http://sparcevent.org/index.php/ticket-test/ when i click to view cart, part of the page appears then it just seems to hang. If i leave the page to load for an extended period of time it does seem to eventually load but it’s then unresponsive. I thought it was a PHP memory issue so increased that to 256MB but i’m still having the same issue. WP Version: 4.0 Any ideas? Thanks in advance, Chris |
|
Hi, Well there is definitely something wrong, the page even went to a White Screen of Death at one point for me. Can you please turn on (temporarily) WP_DEBUG? This will help us see if there are any errors. Once turned on test the cart again and advise us of any errors that show. http://codex.wordpress.org/WP_DEBUG You can use the following code in your wp_config file, which will also enable the error log: define(‘WP_DEBUG’, true); |
|
Hi Dean, Thanks for that. I have added the code you supplied to wp-config. Not sure where to look for the errors though? Please let me know if there’s anything else I need to do. Thanks, Chris |
|
Thanks Chris, Well no error messages are showing up on the front of the site, so can you examine the error log (via FTP or your hosts file manager). It should be in /wp-content/debug.log You can also check the root of your WordPress installation for a generic error_log file. If you are not sure what you are looking for in the files, please email them to support@eventespresso.com and include a link to this forum thread. |
|
I’ve made that change but no debug.log was could be found. I’ve also has a bit of a dig around and the in the System Status page I have this error message showing: Warning: is_dir() [function.is-dir]: Unable to find the wrapper “tcp” – did you forget to enable it when you configured PHP? in /clientdata/apache-www/s/p/sparcevent.org/www/wp-content/plugins/event-espresso/includes/espresso-admin-status.php on line 295 Warning: is_dir() [function.is-dir]: Unable to find the wrapper “tcp” – did you forget to enable it when you configured PHP? in /clientdata/apache-www/s/p/sparcevent.org/www/wp-content/plugins/event-espresso/includes/espresso-admin-status.php on line 295 Anu ideas what this means? |
|
In addition I have also found this: A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. Script: http://sparcevent.org/wp-includes/js/jquery/jquery.js?ver=1.11.1:4 Apparently this was trying to use unto a 1GB of RAM |
|
Hi, Thanks for the feedback. Can you try a basic troubleshooting technique of disabling all of plugins except EE? If that does not help, also try swapping to a default theme. This is to see if another plugin or the theme are causing issues. IF neither help, then you may need to refer to your host. Firstly to discuss the is_dir issue and also to see if there are any other errors. |
|
Thanks Dean, I have the debug.log here: http://sparcevent.org/wp-content/debug.log I have also deactivated any additional plugins and have set the theme to the standard twenty15. Its still very slow and unresponsive. If you have any idea or can see what might be casing it I can at least communicate this to my host. Many thanks, Chris |
|
Hi, Well the debug log had 50 PHP warnings in it: PHP Warning: Invalid argument supplied for foreach() in /clientdata/apache-www/s/p/sparcevent.org/www/wp-content/themes/kboom-v1.2.0/single.php on line 29 (and some for archive.php) That might be a factor. However, running with a default theme and no other plugins should reduce any issues to virtually nil, so if the site is still sluggish then its more likely a server issue. Honestly I’m not sure what to go back to your host with, so I would start out general and advise that it is sluggish and timing out and see what they say. If you are using shared hosting it may be a factor as your site is one of many on a single server all sharing resources so if another site is sucking up all the memory/cpu processes then it can easily impact your site. |
The support post ‘Issue with View Cart page’ 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.