Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    4
    Plugin Contributions
    0

    Default Getting redirected to Page not Found when adding to shopping cart

    Hello Zen Cart Community! I am in the process of upgrading from v1.3.9h to 1.5 and everything seems to be going well except for one major problem. When I try adding a product to my shopping cart I am directed to Page Not Found. More details below.

    Current Live Site on 1.3.9: http://wwww.mariettesbacktobasics.co...roducts_id=256

    Staging of New 1.5 Site: http://dev.mariettesbacktobasics.com...roducts_id=256


    To build out the staging environment I setup a sub-domain and new database into which I duplicated the tables from the current installation. I then FTP'd the new version and ran the install scripts and update database scripts. Everything went fine with no errors. I then uploaded my custom template. And added my custom page definitions to modules and languages. (I did not touch the majority of the language and module files, only my custom ones and I compared with the clean files as directed by the instructions).

    It occurs to me that the issue might be related to sessions so my session config is as follows:
    Name:  Screen Shot 2012-05-29 at 7.04.30 PM.jpg
Views: 1671
Size:  19.4 KB

    However, it looks like a zenid cookie is being set. (I have tried setting recreate session to FALSE).

    Both setups are running PHP version 5.2.17.

    I have compared tpl_product_info_display.php with the clean 1.5 template both the cart_quantity form and the button look the same. I've also compared the shopping cart files.

    I have installed the USPS module (from Zencart) and MagneticOne Export Tools - RSS Feed Export.


    If some one would at least point me in the right direction I would much appreciate it. If there is any important information I've left out of this post please let me know.

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

    Default Re: Upgrade from v1.3.9h to 1.5

    Have you changed the setting for "Admin->Configuration->My Store->Display Cart After Adding Product?" away from the default of True for any reason?
    .

    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
    May 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Upgrade from v1.3.9h to 1.5

    I've tried with the setting both true and false. It seems to have no effect, I always end up with Page Not Found.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Upgrade from v1.3.9h to 1.5

    Set Admin->Configuration->My Store->Missing Page Check to off, and try again. What error message do you get?
    .

    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.

  5. #5
    Join Date
    May 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Upgrade from v1.3.9h to 1.5

    It appears missing page check was already turned off.

    I've looked for log files but found no new "myDEBUG-admin" log files relating to this issue.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Upgrade from v1.3.9h to 1.5

    Have you set up anything in your site's main /.htaccess file to send anything to page-not-found? ie: added an ErrorDocument directive to point to your index.php?main_page=page_not_found

    There are only 2 ways that Zen Cart would send you to main_page=page_not_found:
    - the admin Missing Page Check setting set to Page Not Found - and then anytime you go to main_page=something_that_doesnt_exist it would redirect you
    - /.htaccess rule added to tell your entire site to use the ZC page-not-found when a 404 error is encountered

    So, if your admin Missing Page Check is already set to off, then you must be hitting the .htaccess issue for some odd reason.

    Keep in mind that Zen Cart does NOT supply a .htaccess for the root of your store. All its supplied .htaccess files are for subfolders, and are unrelated to the issue we're discussing here. So don't go looking at those files thinking they're relevant to this at all.
    .

    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.

 

 

Similar Threads

  1. Replies: 8
    Last Post: 5 Jan 2014, 09:33 PM
  2. Occasional Page Not Found errors when adding to cart.
    By triangleman42 in forum General Questions
    Replies: 4
    Last Post: 23 Jul 2013, 03:16 AM
  3. Shopping Cart Page Not Found / Cant view cart or checkout
    By pquery in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 30 Oct 2009, 06:46 AM
  4. Getting a blank page when adding to cart
    By sosenko in forum General Questions
    Replies: 3
    Last Post: 31 Mar 2008, 01:45 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