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

    Default error 400 on preview in admin

    When I attempt to preview I get 400 error that says try using https.

    When I insert the s in the address bar I can see the preview.

    What do I need to tweak to get this to preview correctly all the time.

    I have enabled SSL in the config files.

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

    Default Re: error 400 on preview in admin

    preview "what"?


    Sounds like you've got wrong URLs or paths set in your admin configure.php file
    .

    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
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: error 400 on preview in admin

    Sorry. Was previewing product after modifying the product.

    Clicking on preview sends me to http://product listing page. Then I get error 400. If I change the http to https then it will load the preview page properly.

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

    Default Re: error 400 on preview in admin

    I really think its a server issue. I had this problem once before due to some characters in the body of the item description. At that time I was using tab lite. But that was removed years ago and had been working fine for years.

    this was the link that caused the error

    http://www.mysite.com/mystore/admin/...30sctektfmctm3

    ww.mysite.com being fictious name of course.

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

    Default Re: error 400 on preview in admin

    Server had Mod_Security active. After they shut it off everything worked fine.

    Just as well, it made me start upgrading from 1.38a

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

    Default Re: error 400 on preview in admin

    mod_security will flag up certain keywords as security alerts ... so if you're using such words in your product descriptions, you may have to get them to relax the mod_security rules at least within your admin folder, or perhaps disable them altogether ... hopefully only from within your admin folder.
    .

    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. '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
  2. Preview button error 400
    By pixelpadre in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 17 Aug 2009, 06:19 PM
  3. 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