WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Can't edit cat after no.87

Version: 5.0.2
printPrint


Can't edit cat after no.87
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 09/03/08 - 01:45 AM:
quote post
#1
I created a new cat which was id 88. Made a mistake, went to correct it and it wouldn't accept the changes. No error messages, nothing.

Tried several times and in the end gave up, thinking it may just be corrupted somehow, deleted it and made a new one which is of course id 89. However, it seems I can't edit that either!

[edit] Well, it's not just those after ID87. Just tried ID38 and it doesn't accept the changes on that one either. I can't see anything different about the rogue categories.

This is the same site as my regen problem in http://www.webmastersite.net/forums/comments.php?...

I have tried all the sub-cats of Retailers - out of them 19 will not accept edit changes, the others were ok

Edited by babrees on 09/03/08 - 03:46 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 09/05/08 - 02:27 AM:
quote post
#2
Those are all the ones you've inserted a bunch of HTML into which contains aposrophes. Seems apostrophes in general aren't working. Also seems to be allowing html through when it shouldn't.

This is all caused by the HTML allowance changes you requested. Will see if there's any way to not encode ' in display html while properly encoding it everywhere else.

Edited by Paul on 09/05/08 - 02:44 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 09/05/08 - 03:12 AM:
quote post
#3
Paul wrote:
Those are all the ones you've inserted a bunch of HTML into which contains aposrophes. Seems apostrophes in general aren't working. Also seems to be allowing html through when it shouldn't.

This is all caused by the HTML allowance changes you requested. Will see if there's any way to not encode ' in display html while properly encoding it everywhere else.


ALL the categories contain similar html in 4 custom fields. None of them have apostrophies within the html. 3 fields (the banners) are just an image url with a hyperlink on it. the fourth field (merchant url) is a url

There are apostrophies in the description, but again, it is the same with all the categories.

I can't see anything different between the cats that do edit and those that don't.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 09/05/08 - 05:53 AM:
quote post
#4
None of them have apostrophies within the html.

I checked #89, and it certainly had lots of apostrophes in the HTML -- javascript stuff if I recall. I was able to easily reproduce by using an apostrophe in any category on any site. Anyhow, fixed to handle apostrophes differently for display than for the database for fields that contain html.

Edited by Paul on 09/05/08 - 05:56 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 09/05/08 - 07:23 AM:
quote post
#5
Paul wrote:
None of them have apostrophies within the html.

I checked #89, and it certainly had lots of apostrophes in the HTML -- javascript stuff if I recall. I was able to easily reproduce by using an apostrophe in any category on any site. Anyhow, fixed to handle apostrophes differently for display than for the database for fields that contain html.




Thanks Paul

Not quite sure what you were looking at, but cat #89 defo only has apostrophies in the description (not in html) and my custom fields only have simple html - no javascript and no apostrophies, although of course the values are in quotations, ie...



<a href="http://track.webgains.com/click.html?wglinkid=38549&amp;wgcampaignid=15737&amp;clickref=fwb" target="_blank"><img src="http://track.webgains.com/link.html?wglinkid=38549&amp;wgcampaignid=15737&amp;js=0" width="88" height="31" ></a>

babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 09/06/08 - 07:55 AM:
quote post
#6
grin YES! Thank you Paul! Categories are now updating! Regeneration is now working!

YAHOO! now to get on with some work!

I promise I shall try not to find anything else wrong grin

Thanks Paul!
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.