1.8.6 causes not valid xhtml code

Phoca Gallery - image gallery extension
X_Burner
Phoca Member
Phoca Member
Posts: 12
Joined: 24 Apr 2008, 14:41

1.8.6 causes not valid xhtml code

Post by X_Burner »

Hi there !

Today Ive xhtml-validated my page...
everything is valid only the phoca gallery causes several errors:

http://validator.w3.org/check?uri=http% ... &verbose=1

http://installer.newline-medien.com/gallery/index.php

Ive tried to find the files where the error is located but without success :(

How can I make phoca valid to xhtml ?

Greetz

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

Re: 1.8.6 causes not valid xhtml code

Post by Jan »

Hi, Phoca Gallery is XHTML valid, there are some hacks (validation errors) for non standard browser like IE, but these hacks are in CSS

The error I have seen are not created by Phoca Gallery, but by other items in the site...

Jan
If you find Phoca extensions useful, please support the project
X_Burner
Phoca Member
Phoca Member
Posts: 12
Joined: 24 Apr 2008, 14:41

Re: 1.8.6 causes not valid xhtml code

Post by X_Burner »

I cant agree Jan.

http://validator.w3.org/check?verbose=1 ... ien.com%2F

When I check any other page its xhtml valid only the page with the phoca gallery causes not valid xhtml.

How and where can I fix these error?

Greetz

X_Burner
X_Burner
Phoca Member
Phoca Member
Posts: 12
Joined: 24 Apr 2008, 14:41

Re: 1.8.6 causes not valid xhtml code

Post by X_Burner »

Is it possible that Artio SEF 3 rewrites invalid URLs ?

There be a connection between the not valid errors and phoca gallery.

Greetz

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

Re: 1.8.6 causes not valid xhtml code

Post by Jan »

???
If you find Phoca extensions useful, please support the project
X_Burner
Phoca Member
Phoca Member
Posts: 12
Joined: 24 Apr 2008, 14:41

Re: 1.8.6 causes not valid xhtml code

Post by X_Burner »

:cry:

The page with the gallery is not valid but the rest of the site is valid.

So I still need to know how I can fix the not valid code.

By the way...you got the same errors at your demo page:
http://validator.w3.org/check?verbose=1 ... llery-wine

PLEASE HELP

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

Re: 1.8.6 causes not valid xhtml code

Post by Jan »

I get this from validator, see image: (chyb = errors, varování = warning)
error.png
maybe there is some problems with head: DOCTYPE Override in effect! Maybe there is some problem that the code generate the spaces, e.g. here:

class=""title="Category List"href="/phocagallery/demo/index.php/gallery-categories"rel="" so I take a look at it...
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 1.8.6 causes not valid xhtml code

Post by Jan »

So I added the space after class="", then your validator understand the XHTML valid site too, see:
http://validator.w3.org/check?verbose=1 ... llery-wine

:|

Jan
If you find Phoca extensions useful, please support the project
X_Burner
Phoca Member
Phoca Member
Posts: 12
Joined: 24 Apr 2008, 14:41

Re: 1.8.6 causes not valid xhtml code

Post by X_Burner »

Sweet !

Which file(s) have you changed?

THX

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

Re: 1.8.6 causes not valid xhtml code

Post by Jan »

default.php in category.view... you can download the com_phocagallery version 1.8.6 from the download site, the changes are included:
https://www.phoca.cz/phocagallery/index. ... e=download

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