Okay
  Public Ticket #1357106
woocommerce 'cart'-page stalls
Closed

Comments

  • Ben started the conversation

    Hi,
    To make sure that I can edit my own theme, I have used the Salient Child Theme.
    Updated Wordpress to 4.8.3 and Woocommerce to 3.2.3

    In order to make sure that I am looking at the right spot for the cause of my problem, I have de-activated most plugins (not all, like woocommerce, otherwise the problem is not verifiable), and switched to main theme Salient and to Twenty Fifteen.

    The (see below) problem does not show when using theme Twenty Fifteen. Activating the 'other' plugins again has no effect.

    What's wrong?
    When a product is selected for purchase and put in the Woocommerce 'cart', I can click to show the cart contents. When using a link to proceed to checkout, a white page is shown with a 'busy'-icon in the middle. The side-scroller reloads to a higher position, indicating 'something' is being loaded, but that's as far as I get. There the show stops and never goes anywhere.

    I am able to directly turn to the checkout page, and that works fine, I am even able to actually check out the cart-item.

    So the question is, why does wordpress  'stall' at the point right after showing the cart contents and turning to the checkout page.


    Is there a way to troubleshoot what is wrong in the template design.

    P.S. I am NOT using woocommerce overrides in the main Salient theme nor in the Salient Child Theme. At least not yet, until I know what's wrong...


  • Ben replied

    Extra Information:
    I found a temporary 'workaround' which at least does not 'stall' the clients.
    When putting a button for linking towards the 'checkout'-page it normally shows the blank stalling page, but when i instruct that button to open in a new tab, it opens up perfectly.

    Also when the stalling link is clicked (so without 'target="_blank"...) the URL bar always shows the last used URL, as if it cannot clear its memory and actually proceed to 'checkout'.

  •  2,744
    Andrew replied

    Hi Ben,

    Apologies for the late reply.

    Please note there were not images added to the first message in the message body. We mentions this because of "The (see below) problem does not show when using theme Twenty Fifteen. Activating the 'other' plugins again has no effect."

    The issue with the blank checkout page \ constantly loading checkout page is most likely logged in your sites error log that you can access from your Cpanel area. Could you check what the error is from there.

    We could not replicate it from here https://gaandeweguitvaarteducatie.nl/winkelmand/ since you have implemented that target _blank workaround.

    We cannot replicate the same issue on our test site with the latest version of woocommerce 3.2.3, salinet 8.5.0.

    Let us know what error is logged in the error log and just to make sure make sure your server is using PHP 5.6 or higher and a memory limit set to 128 MB or higher if possible. 

  • Ben replied

    Hi Andrew,

    Thanks for your time and effort.
    This Wordpress website is hosted on a 'cheap' server and has limited php memory available. It is at a meager 56 Mb (bare minimum is 64 Mb and recommended is 256 Mb, 'I know...')
    But, it works fine in general and the PHP version is 7.0 (7.1 and 7.2 beta are available).

    Until now I have not turned on the 'debug'-mode and just now selected the PHP error reporting for this site. Until now there was no need (yet...)
    You will have to give me more time for further investigation myself in this matter, as my workaround is fully functional and very acceptable. (simply instructing a "target='_blank' " to open up a new tab in the browser... is not too bad) I will temporarily revert back to a previous state with debug and error reporting too sort out the real cause.

    Strangely though, the servers helpdesk (on my specific question) already reported some time ago that they do not support Wordpress with Woocommerce combination as this would be too much resource-demanding. Maybe they stated this to promote their own webshop system for Wordpress, but knowing the amount of websites that run this combination, I think it is hard for a hosting company to ignore such a great demand.

    Next to that I am succesfully running several Joomla webshop combinations without a glitch, but let that be a side-remark on my account.

    Let me get back to you with a more detailed 'complaint'....

    Thanks,
    Ben