Error when using × in My Aquaria

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
KittyKat
Posts: 26
Joined: 15 Aug 2007, 09:57
My cats species list: 6 (i:0, k:0)
My aquaria list: 4 (i:0)
My BLogs: 1 (i:0, p:41)
Location 1: Norwich, UK
Location 2: Norwich, UK
Contact:

Error when using × in My Aquaria

Post by KittyKat »

I get the following error when trying to use the multiplication sign (×) in any of the text fields.
General Error
SQL ERROR [ mysql4 ]

Incorrect string value: '\x97 300W...' for column 'heating' at row 1 [1366]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

Please notify the board administrator or webmaster: webmaster@planetcatfish.com
Kat
User avatar
Jools
Expert
Posts: 16162
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Error when using × in My Aquaria

Post by Jools »

Thanks, that detail makes it a lot easier to fix. Will look into it.

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when using × in My Aquaria

Post by MatsP »

@Jools: I think this just needs the same utf8-to-html treatment that we have in some other places.

I will check in on this subject on Saturday, and if Jools hasn't said it is/will be fixed, I will try to fix it - it should be relatively easy.


--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when using × in My Aquaria

Post by MatsP »

I can reproduce this problem, but the easy fix I thought I could make doesn't seem to work.

I will keep on digging. I'm pretty sure I know what the basic problem is, I just don't understand why the fix doesn't work.

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when using × in My Aquaria

Post by MatsP »

Ok, managed to track down where some of the stuff got "messed about", causing my fix to not work. Also had to make some changes to the htmlentities() function calls, as it would interfere with the way utf8_to_html() encoded content. As always, the updated code will be available when Jools has checked it over and uploaded it to the real site (just in case you were tempted to try it out right now).

@Jools: In R1351.

--
Mats
User avatar
Jools
Expert
Posts: 16162
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Error when using × in My Aquaria

Post by Jools »

This is now online. Fixed?

Jools
KittyKat
Posts: 26
Joined: 15 Aug 2007, 09:57
My cats species list: 6 (i:0, k:0)
My aquaria list: 4 (i:0)
My BLogs: 1 (i:0, p:41)
Location 1: Norwich, UK
Location 2: Norwich, UK
Contact:

Re: Error when using × in My Aquaria

Post by KittyKat »

Yep, works great! Thanks for fixing :)
Kat
Post Reply

Return to “All Resolved Issues”