Forums / General Questions / The word 'insert' in the description

The word 'insert' in the description

Locked

Views: 1,149

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
29 Jul 2008, 1:49 PM
#1
seanruk avatar

seanruk

New Zenner

Join Date:
Jan 2005
Posts:
15
Plugin Contributions:
0

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?

29 Jul 2008, 2:35 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

29 Jul 2008, 9:43 PM
#3
seanruk avatar

seanruk

New Zenner

Join Date:
Jan 2005
Posts:
15
Plugin Contributions:
0

Re: The word 'insert' in the description

I will take a look at that thread.

Many thanks

Sean