Page 1 of 1
text gibberish
Posted: 10 Jan 2015, 09:56
by lfinley58
Hello.
The following is found in the Cat-eLog entry for Chaetostoma breve:
The genus <em>Chaetostoma</em> is not straight-forward to identify, but as a general rule, the species has spines behind the gill-cover (interopercular odontodes), no plates on the abdomen, and aside from <em>C. platyrhynchus</em> also lack plates on the snout edge. Different from <em>Ancistrus</em> by not having fleshy tentacles on the snout.
Lee F.
Re: text gibberish
Posted: 10 Jan 2015, 21:48
by MatsP
It has "HTML-ised" the HTML code. Which it shouldn't. Not sure why. Will have a look tomorrow, to see if there's anything obviously wrong there....
--
Mats
Re: text gibberish
Posted: 10 Jan 2015, 22:10
by lfinley58
Thanks Mats. I just wanted to make sure that a correct person was aware of the situation.
In honor of a recent busy thread, I give you a big old like.
Lee
Re: text gibberish
Posted: 11 Jan 2015, 12:34
by Jools
Thanks for reporting Lee, this will be because of a recent change I made, so it's good to understand the root cause as well as fix up that specific species entry.
Mats,
There were custom built html or extended character set encode/decode functions that you wrote that appeared to me to duplicate the native php functions designed for same which I guessed you had overlooked when writing the custom code. I am not 100% sure, but I think this will be the change that's caused this. I would be keen to understand this more (with you) as want to make it work, but keen to avoid pretty intricate code that does something very similar to an existing native command.
Jools
Re: text gibberish
Posted: 17 Jan 2015, 11:33
by MatsP
Pretty sure the problem is in the first layer of code, where you enter the data and submit it to the DB. It looks HTML-ized in the database, and I think the problem is the request_var() that "encodes" things, even tho' we don't want it.
I will do some more digging today, as didn't get much done last weekend.
--
Mats
Re: text gibberish
Posted: 17 Jan 2015, 11:54
by Jools
Ok, thanks, I should have some "Planet time" this afternoon too (but hoping to add some articles and videos.
Jools
Re: text gibberish
Posted: 17 Jan 2015, 19:06
by MatsP
I think changes in R1557-1559 will fix this problem (in fact, I tested it on my local setup, and it appears to work).
--
Mats
Re: text gibberish
Posted: 18 Jan 2015, 13:28
by Jools
So, the good news is the problem that creates the "gibberish" appears to be solved. Now, we just need to track down any occurences of it (post here please!) and anyone with data submission / edit permissions can submit an edit/fix.
Cheers,
Jools
Re: text gibberish
Posted: 18 Jan 2015, 13:39
by Jools
The genera
,
,
,
,
and
all had "gibberish" issues, which are now fixed. That would have put "gibberish" in all species entries for those genera as well as any CotMs for the catfishes. Furthermore, the species entry for
was also afflicted.
All fixed now, which should put a serious dent in the problem. Please let me know of any others.
Cheers,
Jools