Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Another 404 timeout related problem?

    I think what I'm getting is related to http://www.zen-cart.com/showthread.p...ession-timeout

    My shop (www.marginallyclever.com/shop/) is running v1.5.0 and works fine in firefox+OSX. Every other OS/browser combo fails the first time I try to add to cart OR the moment I try to checkout. I am going quickly so the 24 minute timeout is not an issue.

    I tried changing the init_sanitize line to FILENAME_TIME_OUT and now I get a server error instead of the 404 page. Seems there is no default time out page for my zencart to display.

    I'm very eager to know
    a) how to fix this
    b) how to test in future to make sure this doesn't repeat.

    Thank you!
    Last edited by i-make-robots; 30 Dec 2012 at 06:26 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Another 404 timeout related problem?

    Zen Cart has no FILENAME_NOT_FOUND anywhere.

    There is a FILENAME_PAGE_NOT_FOUND if that's what you were trying to change your code to use.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Another 404 timeout related problem?

    I was trying to change to the time out page instead of the not found page.

    Also I wonder if this is related in any way: http://www.zen-cart.com/showthread.p...ion-related%29

  4. #4
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Another 404 timeout related problem?

    To be clear: the problems began BEFORE I tried to change the "not found" page to the "timeout" page.
    Still have no idea why this is happening, trying to dig through the code for a hint.
    Anyone? Please?

  5. #5
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Customers get 404 on add-to-cart, sometimes on checkout, seems browser-dependent

    Please,

    I'm running 1.5.0 with COWOAA and Image Handler 4.
    In Firefox on OSX I have no trouble adding items to cart or checking out.
    In Chrome on OSX I can't add to cart.
    I have reports that several other browser/OS combos are having the same problem.
    my web store is www.marginallyclever.com/shop/

    I'd really love to know
    a) why this is happening and
    b) how I can make sure this doesn't happen again.

    The thought that this may have been happening for weeks and I didn't know it really drives me crazy.

    Thank you so much! :)

  6. #6
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Another 404 timeout related problem?

    IE9 and and Chrome are both exhibiting this behavior.

  7. #7
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    red flag live & test sites behave differently, same code. customers can't use cart!

    the only thing I change between the two sites are the config settings.
    On the test site (test.reverb-marketing.com/shop) I can add products to the cart and checkout in every browser.
    On the live site I can't add to cart in some browsers and I can't checkout in others. I keep being redirected to page_not_found.
    I don't see anything in my server error logs. I'm out of ideas and customers are complaining they can't spend their money. :S

    Please help, I don't know what to do.

  8. #8
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: live & test sites behave differently, same code. customers can't use cart!

    best bet is to post a link to problem site.

  9. #9
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: live & test sites behave differently, same code. customers can't use cart!

    I tried to post twice now and it hasn't added to this thread. www.marginallyclever.com/shop/ is the live site.
    I cannot add to cart, I cannot checkout, and the login pages look completely different.
    I just copied all of the code from the test site to the live site and emptied the cache. They still don't look the same.

  10. #10
    Join Date
    Aug 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Customers get 404 on add-to-cart, sometimes on checkout, seems browser-dependent

    in chrome when i try to add to cart the debug output says i get a 302 redirect to page_not_found.
    i turn on debug_autoload to find out what is causing the redirect. I get...

    actionPoint=>0 include('/htdocs/shop/includes/classes/class.base.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/class.notifier.php');
    actionPoint=>0 $zco_notifier = new notifier();
    actionPoint=>0 include('/htdocs/shop/includes/classes/class.phpmailer.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/class.smtp.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/boxes.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/category_tree.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/template_func.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/split_page_results.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/language.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/cache.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/sniffer.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/class.phpbb.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/shopping_cart.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/navigation_history.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/currencies.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/message_stack.php');
    actionPoint=>0 include('/htdocs/shop/includes/classes/breadcrumb.php');
    actionPoint=>10 require('includes/init_includes/init_file_db_names.php');
    actionPoint=>10 require('includes/init_includes/init_database.php');
    actionPoint=>20 include('includes/version.php');
    actionPoint=>30 $zc_cache = new cache();
    actionPoint=>40 require('includes/init_includes/init_db_config_read.php');
    actionPoint=>50 $sniffer = new sniffer();
    actionPoint=>50 require('includes/init_includes/init_gzip.php');
    actionPoint=>50 require('includes/init_includes/init_sefu.php');
    actionPoint=>50 $phpBB = new phpBB();
    actionPoint=>60 require('includes/init_includes/init_general_funcs.php');
    actionPoint=>60 require('includes/init_includes/init_tlds.php');
    actionPoint=>70 require('includes/init_includes/init_sessions.php');
    actionPoint=>80 actionPoint=>80 actionPoint=>90 $currencies = new currencies();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.fec.php');
    actionPoint=>90 $FECObserver = new FECObserver();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.esl.php');
    actionPoint=>90 $ESLObserver = new ESLObserver();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.cowoa.php');
    actionPoint=>90 $COWOAObserver = new COWOAObserver();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.drop_down.php');
    actionPoint=>90 $dropDownObserver = new dropDownObserver();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.change_checkout_shipping_address.php');
    actionPoint=>90 $change_checkout_shipping_address = new change_checkout_shipping_address();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.change_checkout_shipping_billing_address.php');
    actionPoint=>90 $change_checkout_shipping_billing_address = new change_checkout_shipping_billing_address();
    actionPoint=>90 include('/htdocs/shop/includes/classes/observers/class.fec_checkbox.php');
    actionPoint=>90 $FECCheckboxObserver = new FECCheckboxObserver();
    actionPoint=>100 $template = new template_func();

    I also get the expected "cannot modify headers, text already sent". zencart is definitely sending the 302 but I don't know why and why only in chrome and IE, not safari or FF.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 Admin timeout: setting the length of timeout before rolling in again
    By acmaurer in forum General Questions
    Replies: 5
    Last Post: 8 Feb 2017, 02:00 AM
  2. Replies: 3
    Last Post: 20 Sep 2014, 07:15 PM
  3. v150 404 Error when adding to cart (session related)
    By Matt H in forum Bug Reports
    Replies: 9
    Last Post: 30 Dec 2012, 07:16 PM
  4. v139h Moved to another server; getting 404 for all sub pges
    By esinedc in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 30 Jun 2012, 02:58 PM
  5. Importing products from another database. 404 errors
    By illum in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 18 Aug 2009, 10:20 PM

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