Page show error if single quote used on item title

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
speedythinker
Commander (CMDR)
Commander (CMDR)
Posts: 121
Joined: Sat Sep 23, 2006 1:00 pm

Page show error if single quote used on item title

Post by speedythinker » Thu Jan 13, 2011 1:23 pm

Hello:

I tried to include single quote " ' " on my item title to show tempearture ('C or 'F) but there will be an examination mark shows at the bottom left conrner of the page. Page still work and item still searchable. But when I click the error icon, it show :

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 13 Jan 2011 19:33:57 UTC


Message: Expected ')'
Line: 237
Char: 70
Code: 0
URI: https://www.lightobject.com/Admin/Produ ... ductId=511


Thanks
Speedy

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Page show error if single quote used on item title

Post by jmestep » Fri Jan 14, 2011 7:32 am

Try using the html equivalent of ' when you enter the content into the admin.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

speedythinker
Commander (CMDR)
Commander (CMDR)
Posts: 121
Joined: Sat Sep 23, 2006 1:00 pm

Re: Page show error if single quote used on item title

Post by speedythinker » Tue Jan 25, 2011 2:44 pm

Thanks, it works!

:wink:

Post Reply