Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default The word 'insert' in the description

    Apologies if this has been asked before but I cannot find it anywhere..

    One of my clients has recently apporached me having had a problem adding a new description to one of his products, basically upon clicking 'update' the admin page would divert to a 404 error. I took a look at this and after various tests I came across this problem....

    The decription uses the word 'insert' twice and I found removing the second entry the description was updated. For some reason the second reference was being seen as a SQL query and not as plain text, I got around this by adding single quotes around the word.

    Any ideas why zen-cart would look at this as a SQL query when used at this level?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: The word 'insert' in the description

    Zen Cart is not what's causing that. It's the mod_security rules imposed by your hosting account.

    You may be able to override it by following my suggestion in this thread: http://www.zen-cart.com/forum/showthread.php?t=103085
    .

    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
    Jan 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: The word 'insert' in the description

    I will take a look at that thread.

    Many thanks

    Sean

 

 

Similar Threads

  1. Replies: 3
    Last Post: 11 May 2012, 12:35 PM
  2. Word HEADER_ bin the menu bar and after the word login
    By moro in forum Installing on a Windows Server
    Replies: 1
    Last Post: 18 Dec 2011, 03:14 PM
  3. Replies: 13
    Last Post: 8 Dec 2009, 03:30 AM
  4. Why is the description in the browser different from the item on the page?
    By GGWS in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Jul 2007, 03:15 PM
  5. I want to change the color of The word "guest" In the opening line
    By touchclothing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jun 2006, 03:51 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR