Validation problem: non utf-8 character

Phoca Gallery - image gallery extension
Dutch_Dens
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 22 Jun 2009, 13:08

Validation problem: non utf-8 character

Post by Dutch_Dens »

Hello everybody,

I've got this site up: 2adventuretraveltips.com. This is pure Phoca Gallery with some small hacks.

The homepage does not validate correctly with the validator (http://validator.w3.org/check?verbose=1 ... ips.com%2F). It says it has a non-utf8 character.

The category pages, like http://2adventuretraveltips.com/home/ca ... mayan-site, does validate correctly (http://validator.w3.org/check?verbose=1 ... ith-lagoon). Simple article pages also validate.

Does anybody know where this problem lies or how I can find out? This is build on latest joomla version with latest stable version of Phoca Gallery.

If you need more details let me know.

Best regards,
Dens
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Validation problem: non utf-8 character

Post by Jan »

Hi, I see there e.g.

alt="Mexico � Bacalar (with lagoon)"

so maybe this can be a problem :idea:
If you find Phoca extensions useful, please support the project
Dutch_Dens
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 22 Jun 2009, 13:08

Re: Validation problem: non utf-8 character

Post by Dutch_Dens »

Ahh yes,

I see it now. That must be the problem. Every thumbnail has this character in the alt. "src="/./images/phocagallery/thumbs/phoca_thumb_m_bacalar_pirate_museum__3_.jpg" alt="Mexico � Bacalar (with lagoon)"

Changing 'Display Image Beside Category Name' in 'Categories View Settings (Category List)' changes the lay out. Only when selecting 'hide' (without thumbnails, just category text), does the page validate.

The category pages validate correctly. So it seems there is something wrong with the alt text of the thumb nails on the category home view page. Do you have an idea how we can fix this? What problem can it give us in terms of seo / webbrowsers?

Also, a different question: We really like the way it looks, but we think it would be even better to have this in two columns. Is this possible?

Good Luck,
Dennis
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Validation problem: non utf-8 character

Post by Jan »

Hi, no idea what is wrong there :(
We really like the way it looks, but we think it would be even better to have this in two columns. Is this possible?
If you mean categories view - detail view, this is possible in 2.5.0 version.

All other views in categories view (except map) can be displayed in more colums, see e.g.:
https://www.phoca.cz/wallpapers

Jan
If you find Phoca extensions useful, please support the project
Dutch_Dens
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 22 Jun 2009, 13:08

Re: Validation problem: non utf-8 character

Post by Dutch_Dens »

Jan wrote:Hi, no idea what is wrong there :(
It seems the separator between the main and subcategory is the weird character. Mexico is the main category, bacalar is a sub of Mex. That's also why the other pages don't have the problem, only the main category view page with "Main category --> sub category" for the alt on the thumbnails. Is there a place where the separator is defined? Can I change it?

Best regards,
Dennis

:wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Validation problem: non utf-8 character

Post by Jan »

He search the code for »

Jan
If you find Phoca extensions useful, please support the project
Dutch_Dens
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 22 Jun 2009, 13:08

Re: Validation problem: non utf-8 character

Post by Dutch_Dens »

Jan wrote:He search the code for »
I'm not sure, but I hope you asked me to search the code for &raquo. Attached are abstracts of the files that have have &raquo inside. I don't see any phoca files (although maybe you do). Maybe it's something with the template?

Warm here now, need sunglasses 8)

Regards,
Dens
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Validation problem: non utf-8 character

Post by Jan »

I mean, you should search the » code in Phoca Galery files and change them to other code e.g. > to test if this can be a problem

version 2.5.0
components/com_phocagallery/models/categories.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderadmin.php
administrator/components/com_phocagallery/libraries/phocagallery/render/renderprocess.php
administrator/components/com_phocagallery/models\phocagallerycs.php
If you find Phoca extensions useful, please support the project
Dutch_Dens
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 22 Jun 2009, 13:08

Re: Validation problem: non utf-8 character

Post by Dutch_Dens »

Thank you, I'll try that!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Validation problem: non utf-8 character

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply