Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Preview button error 400

    All of a sudden (of course) I noticed that on one of my sites some items do no display after hitting the preview button when modifying a product. Some preview fine, others return 400 error.

    Here is the difference between those that preview and those that dont at the end of the URL

    those that don't have:
    new_product_preview&page=1

    Those that do have :
    new_product_preview

    Why is this happening?

  2. #2
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Preview button error 400

    Does a lack of responses indicate lack of interest or lack of knowlege?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Preview button error 400

    I do not get that ...

    My URL contains the following when I click EDIT:
    /admin/product.php?page=1&product_type=1&cPath=68&pID=193&action=new_product
    and then when I click the PREVIEW:
    /admin/product.php?cPath=68&product_type=1&pID=193&action=new_product_preview&page=1
    What are you getting on the EDIT for the Product?

    What are you getting on the PREVIEW for the Product?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Preview button error 400

    Here are the two URLs for preview:
    http://*****/product.php?cPath=14_1&...preview&page=1 (gives me error 400)
    http://*****/product.php?cPath=14_1&...preview&page=1 (gives me no error)

    They are identical, but one works and one doesnt, they are both in the same category. The only difference I see is one had a model number and the other doesnt.

    Here are the two EDIT urls and nice call:

    ***/product.php?cPath=14_1&product_type=1&pID=33&action=new_product
    ***/product.php?page=1&product_type=1&cPath=14_1&pID=1&action=new_product

    The bad boy has added some extra characters. How why what and when?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Preview button error 400

    Is products_id 1 the only Product that breaks like this?

    Based on the Edit URLs, I am surprised it is not products_id 33 with the error ...

    Are either of these Products Linked Products?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Preview button error 400

    Q1: No, other products in other categories experience same sympton.

    Q2: Products are not linked.

    Product 1 is the one that doesnt update.

    Product 33 updates fine.

 

 

Similar Threads

  1. error 400 on preview in admin
    By pixelpadre in forum General Questions
    Replies: 5
    Last Post: 5 May 2011, 10:23 PM
  2. Preview button gives error message.
    By Kalcat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Apr 2010, 07:46 PM
  3. '400 Bad Request' Error when trying to preview product
    By epools in forum General Questions
    Replies: 4
    Last Post: 14 Oct 2009, 09:00 PM
  4. Backup - Internal Server Error 400
    By tiger in forum General Questions
    Replies: 10
    Last Post: 6 Nov 2006, 01:53 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