Before you ask please READ THIS

woocommerce give me a blank page

in FatMoon Posts: 23
Hello I have installed the theme twice. I noticed that when I enabled woocommerce the site would give me a blank page ? I assumed that it was conflicting with 1 of my plugins. I disabled them all and I got the same result.

I then decided to do a clean install . I did this and installed the shop from the demo. Once this was done the site was blank again. I went to the backend and disabled woocommerce and once again the site displayed. Can you tell what is wrong because on your demo woo looks like it is working fine.

Thanks

Comments

  • Posts: 23
    Just did a clean install with your theme no imported data and then installed woocommerce and the site went blank. Once I disabled woocommerce the site worked again. Your theme does not work with woocommerce as advertised and demoed is there a fix for this ?
  • AirAir
    edited May 2017 Posts: 10,970
    Hello :-)

    I think that you probably get out of memory on your server when you enable WooCommerce.
    Can you post screen shot of your "Server/WordPress Environment" table that is in Apollo13 Importer page http://apollo13.eu/docs/apollo13_framework_theme/#!/theme_requirements ?

    Also please try to increase memory limit as WooCommerce docs explains https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    If this won't fix, then I will take a look at your installation.

    With kind regards.
    Post edited by Air on
  • Posts: 23
    here is my server environment



    File system method:
    ?
    direct
    WP Memory Limit:
    ?
    4 GB
    PHP Version:
    ?
    5.5.30 - We recommend a minimum PHP version of 5.6. Having version 7 or higher is even better. See: How to update your PHP version
    PHP Time Limit:
    ?
    200
    PHP Post Max Size:
    ?
    100 MB
    Max Upload Size:
    ?
    100 MB
  • Posts: 23
    4gb of memory should be enought
  • Posts: 23
    I have woocommerce working on quite a few sites
  • Posts: 23
    I just upgraded my php and I still have the blank pages


    WP Memory Limit: 4 GB
    PHP Version: 5.6.30
    PHP Time Limit: 200
    PHP Post Max Size: 100 MB
    Max Upload Size: 100 MB
  • AirAir
    Posts: 10,970
    Wow, that looks promising. In that case it has to be something else. You can enable debug mode to see exact error that is causing blank page here http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG

    Or I can investigate it for you, but I will need access to your server then. If you want it , then please send me temporary access to your WordPress and FTP so I could check there what is going on? Send it here on forum via private message(click on my nick, in top-right corner you will find option "Message"). In message please add LINK to topic it applies to.

    By sending access to WordPress I mean:
    -create new ADMIN account with fake e-mail
    -set some password to this account
    -send me created login and password

    With kind regards.
  • Posts: 23
    I could not figure where to private message so I replied to the email with the info
  • AirAir
    Posts: 10,970
    Hello :-)

    So in your case it was not PHP error but JS error, that break page on load, and you were stuck with white preloader screen.

    Anyway issue is with this file http://emanonmedia.net/emanon02/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4

    being not accessible. Try fixing it on your server. Now it returns for me 406 Not Acceptable error. It maybe connected with some server caching that makes this file not accessible.
    <p>An appropriate representation of the requested resource /emanon/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js could not be found on this server.</p>
    <p>Additionally, a 406 Not Acceptable
    error was encountered while trying to use an ErrorDocument to handle the request.</p>
    I have also checked this on Default WordPress theme and there is same issue, so it is theme independent issue.

    I have found such topic about same case https://wordpress.org/support/topic/cookies-is-not-defined/

    With kind regards.
  • Posts: 23
    I have woocommerce working on a few sites no problems. It only happens with this theme
  • Posts: 23
    I had my server tech check the permissions and they look fine as I stated I have woocommerce running on at least 5 sites with no problems and themes that support woo, this is the only theme that gives me problems and does not work as advertised
  • AirAir
    edited May 2017 Posts: 10,970
    Hello :-)

    Please read my post once again calmly.
    Issue is not in theme but in that, that server can't load this file http://emanonmedia.net/emanon02/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4

    Open this link, it will result in 406 error. You will see this error independent of theme you use. This is file from woocommerce. I don't know why it gives error, but I suspect it is connected to recent updates in WooCommerce. There is also possibility that server antivirus or something like that, blocks this file while loading. Just guessing.

    Anyway, cause this file can not load, WC crashes with JavaScript error, and this crashes theme loading. If you will disable preloader in theme you will see it works fine, BUT this JavaScript error break various things.
    You can test it on default WordPress theme and you will get same issue(however default WordPress theme won't die on preloader screen as it doesn't have such option).
    jrucker said: I had my server tech check the permissions and they look fine as
    But does this file from WC loads fine for you? I don't think it is permissions problem, as then it would be 403 error, not 406.

    I understand that you have past experience and you base your judgment on that, but please reset your mind for this case and maybe show this post to your tech friend.

    With kind regards.
    image
    error.png
    1149 x 300 - 14K
    Post edited by Air on
  • Posts: 23
    sorry about that just really frustrated with these prjects
  • Posts: 23
    Hello again the answer to the problem . I found it online at this web site - I got it from here https://github.com/rynaldos. Thanks again for all of your help.

    1 other question I cannot get the headers titles to appear on the footer widgets take a look - http://emanonmedia.net/medev/jimmy3/
    zip
    zip
    woocommerce-js-cookie-fix-master.zip
    4K
  • AirAir
    Posts: 10,970
    Hello, that is great info :-)
    jrucker said:
    1 other question I cannot get the headers titles to appear on the footer widgets take a look - http://emanonmedia.net/medev/jimmy3/
    Your link doesn't work for me it displays just blank page.
    Also if you can please start new topic for new issues, as this is not connected to original issue.

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion