Yes, the summary is switched on and it is showing. The circle of summary is checked. However, the description is not changing, when I change the description of a site.
Two bugs involved here. First was that it was counting based on the old value of the description and not the updated one, I've fixed that. Secondly, PHP's strstr function isn't properly unicode-compatible so it calculates double byte unicode strings as twice the actual number of characters they have. I've applied a workaround for that in this particular spot, but there are hundreds of places that use strlen so it'll take a while to identify which ones need changing and adjust them.
Comments on The descriptions does not change in edit listings
Member
Usergroup: Member
Joined: Sep 16, 2009
Total Topics: 8
Total Comments: 19
Posted Sep 26, 2011 - 7:55 PM:
How can I fix the issue where the description does not change in edit listings, after I enter a new description?
thank you very much
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Are you sure it's the description that isn't changing, or is it maybe the summary? Do you have summaries switched on?
Member
Usergroup: Member
Joined: Sep 16, 2009
Total Topics: 8
Total Comments: 19
Yes, the summary is switched on and it is showing. The circle of summary is checked. However, the description is not changing, when I change the description of a site.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I can't duplicate any problem of that sort. When I have a chance I'll search for your ftp details so I can check it on your server.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I edited http://directory.pokrov.com/edit.php?action=link&id=175 to remove a semicolon which was bad grammar anyhow. The edit worked fine. Don't know what you might be doing different.
Member
Usergroup: Member
Joined: Sep 16, 2009
Total Topics: 8
Total Comments: 19
Other links edit of the listing does not work- for example one of these:
directory.pokrov.com/edit.p...ction=link&filled=1&id=176
When I type the description of 242 characters, and do the save changes
This red note on top comes out
The description you typed was too long, it can only be a maximum of 250 characters.
The text is cut down and in the characters window it says
"characters remaining -191"
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Two bugs involved here. First was that it was counting based on the old value of the description and not the updated one, I've fixed that. Secondly, PHP's strstr function isn't properly unicode-compatible so it calculates double byte unicode strings as twice the actual number of characters they have. I've applied a workaround for that in this particular spot, but there are hundreds of places that use strlen so it'll take a while to identify which ones need changing and adjust them.
Member
Usergroup: Member
Joined: Sep 16, 2009
Total Topics: 8
Total Comments: 19
Hello Paul
thank you very much
the same issues are in the http://directory.pokrov22.net
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I'll release a 6.1.17 Beta 1 with the fix in it.