Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default Occasional Page Not Found errors when adding to cart.

    Randomly, when trying to add a product to the shopping cart my users are redirected to the zen cart page not found page: http://www.atomic-ranch.com/store/in...page_not_found

    I've read through some other posts that deal with what seems to be a very similar issue:



    I've temporarily added some code suggested in the first link above and collected some possibly useful info:

    http://pastebin.com/RtjdXbCD

    I've tried it with & without this .htaccess file at the root of /store/

    Code:
    # replace /yourstorefolder/ with the name of the folder your store is located in, if any.
    # be sure to add any extra paths required to locate the index.php
    # then relocate this file to the root of your store's folders, and rename it as .htaccess
    
    ErrorDocument 404 /store/index.php?main_page=page_not_found
    I've tested the setting for "Admin->Configuration->My Store->Display Cart After Adding Product?" with both true and false settings.

    I tried "Admin->Configuration->MyStore->Missing Page Check" with all 3 options:
    1. off - Adding product to cart still occasionally redirects to page_not_found but visiting an invalid page gives me a partially rendered page as expected.
    2. on - Adding product to cart still occasionally redirects to page_not_found but visiting an invalid page redirects to the store index page as expected.
    3. Page Not Found - works as expected


    I inspected page_parse_time.log but didn't see anything interesting:
    http://pastebin.com/tLUgsr7c

    I inspected query_selects_page_not_found*****.txt but don't understand what it says:
    http://pastebin.com/Rj0k8Mn9

    What else can I do to solve this mystery?

    thanks,
    Josh

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,893
    Plugin Contributions
    96

    Default Re: Occasional Page Not Found errors when adding to cart.

    You could try my "Email on Page Not Found" plugin (http://www.zen-cart.com/downloads.php?do=file&id=1090).

  3. #3
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Occasional Page Not Found errors when adding to cart.

    Thanks, I'll give it a try.

  4. #4
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Occasional Page Not Found errors when adding to cart.

    Tried but all I get is:
    Code:
    A user at host address [snip] with IP address
    [snip] generated a 404 using the query string
    [/store/index.php?main_page=page_not_found]
    Any other suggestions?

  5. #5
    Join Date
    May 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Occasional Page Not Found errors when adding to cart.

    I've noticed if the url includes 'www' then it works 100% of the time.

    But without the 'www' it works 0% of the time. At least now I have some direction.

 

 

Similar Threads

  1. v150 Getting redirected to Page not Found when adding to shopping cart
    By jmichaelstanley in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 18 Aug 2012, 02:29 PM
  2. Page not found errors
    By James Dunstone in forum General Questions
    Replies: 7
    Last Post: 24 Nov 2010, 07:37 PM
  3. Replies: 2
    Last Post: 24 Jun 2010, 11:20 PM
  4. HTTP 404 - File not found When Adding Products
    By Chich in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Jun 2009, 02:58 PM
  5. Blank screen then Page not found errors
    By kgamadia in forum General Questions
    Replies: 2
    Last Post: 11 Dec 2006, 06:22 AM

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