WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: woocommerce-ajax-layered-nav] Blank Pages Cart problems (7 posts)

  1. RubensBen
    Member
    Posted 1 year ago #

    Hi,

    The plugin works well but when I'm activating it, I got blank pages when adding a product to the cart and when removing one from it. In short, the website doesn't redirect where it should after the function.

    - When adding a product: blank page with the url: http://www.mywebsite.com/shop/myproductpage/?add-to cart=variation&product_id=416)

    - When removing a product from the cart, blank page with: http://www.mywebsite.com/shop/shoppingcart/?remove_item=89159cc5e222db345b513c3e86c8dbef&_n=e215880944

    The functions still work, when refreshing the website, the cart is updated.

    Im trying to find the function that causes problems, but I can't find. I don't think the plugin should influence on this kind of functions since it's only to filter items on "products" page.

    Thanks in advance for a answer

  2. RubensBen
    Member
    Posted 1 year ago #

    same with the admin page, shows blank page when the plugin is ON

    http://www.website.com\wp-admin

  3. RubensBen
    Member
    Posted 1 year ago #

    ok found something in error.log

    ok found something in error.log

    [03-Jan-2013 05:32:08] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:14] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:20] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:36] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:39] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:42] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:45] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:52] PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in /home3/kawabang/public_html/cheznash/wp-content/plugins/woocommerce/woocommerce.php on line 138
    [03-Jan-2013 05:32:52] PHP Warning: Cannot modify header information - headers already sent by (output started at //woocommerce-ajax-layered-nav/ajax_layered_nav-widget.php:1) in //pluggable.php on line 876

  4. RubensBen
    Member
    Posted 1 year ago #

    ok solved, was a encoding problem.

    "To overcome the issue, use utf8(without BOM) encoding provided by notepad++ and most modern editors. Using utf8 encoding and cookie based sessions, will result in headers already sent by error."

  5. ladybugjewellery.com
    Member
    Posted 7 months ago #

    Hi RuebnsBen,

    Please help me. I'm having exactly the problem you describe above, but I don't know how to solve it.
    Could you please tell me more how to debug? I don't code.

    Thanks in advance,
    P.

    My site is: ladybugjewellery.com

  6. ladybugjewellery.com
    Member
    Posted 7 months ago #

    Sorry... My mistake. I don't have that plugin. However I'm having the issues you have mentioned above.

    Some errors on the code because I receive blank pages when I click "add to cart" or "proceed to checkout"...

    I don't know how to correct it :S

  7. RubensBen
    Member
    Posted 7 months ago #

    Use Notepad++,

    Encoding -> Convert to UTF-8 without BOM

    Save, upload.

    Cheers, hope it helps

Topic Closed

This topic has been closed to new replies.

About this Topic