Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Posts
    2
    Plugin Contributions
    0

    bug Blank page after add to cart

    Hi All,

    I have an issue with when add to cart is clicked it just goes to a blank page.

    I got the debug from logs but do not understand what needs to be done. Can anyone help?

    This is from Debug:
    [15-Jul-2020 09:56:04 America/Phoenix] PHP Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/78/9785078/html/includes/functions/functions_general.php on line 157
    [15-Jul-2020 09:56:04 America/Phoenix] PHP Warning: trim() expects parameter 1 to be string, array given in /home/content/78/9785078/html/includes/functions/functions_general.php on line 63

    And this is from the files mentioned:
    Line 157: $get_url .= zen_sanitize_string($key) . '[]=' . rawurlencode(stripslashes($arr)) . '&';

    &
    Line 63: return strtr(trim($data), $parse);

    Appreciate any help i can get. webpage is gotetrog.com
    ZC Version v1.5.4 PHP 5.6

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Blank page after add to cart

    These are just warnings. Something else is happening to give you a blank page.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Oct 2007
    Location
    Stevenage, GB
    Posts
    70
    Plugin Contributions
    0

    Default Re: Blank page after add to cart

    Have you installed recently any modules/add- ons?
    - Freelance Software Developer

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Blank page after add to cart

    I tested the add to cart and buy now buttons on your site.

    Try changing to the default template.


    It appears there are javascript conflicts preventing both button values and actions from communicating with the cart.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

 

 

Similar Threads

  1. Blank Page after clicking Add To Cart
    By BrooklynArtist in forum Basic Configuration
    Replies: 2
    Last Post: 16 Nov 2013, 12:29 AM
  2. BLANK PAGE after clickin on Add To Cart... ?
    By jorgecap1 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 17 May 2010, 04:53 AM
  3. Page goes blank after Add this To Cart is pressed.
    By printchic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jan 2010, 06:37 PM
  4. Help! After customer add item to cart, the page will become blank
    By bulkwarrior in forum Managing Customers and Orders
    Replies: 3
    Last Post: 12 Mar 2009, 09:56 PM
  5. Replies: 1
    Last Post: 16 Feb 2009, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR