Webmastersite.net
Register Log In

Can't edit cat after no.87

Comments on Can't edit cat after no.87

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 03, 2008 - 4:45 AM:

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 https://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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 05, 2008 - 5:27 AM:

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.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 05, 2008 - 6:12 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 05, 2008 - 8:53 AM:

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.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 05, 2008 - 10:23 AM:

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&wgcampaignid=15737&clickref=fwb" target="_blank"><img src="http://track.webgains.com/link.html?wglinkid=38549&wgcampaignid=15737&js=0" width="88" height="31" ></a>

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 06, 2008 - 10:55 AM:

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
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.