XHTML [Validation errors on login.php] XHTML [Validation errors on login.php]
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

XHTML [Validation errors on login.php]

Started by durley, February 11, 2006, 07:40:25 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

durley

I just downloaded and setup Coppermine 1.4 I was pleased to see the W3C logos for XHTML and CSS validation on the site. However, the index page does not validate. Even to XHTML transitional, it generates 6 errors that seem to track back to the login page. Validating to XHTML Strict generates 16 errors.

Any plans to rectify this issue or remove the logos as they are misleading.

Thanks

Tranz

Quote from: durley on February 11, 2006, 07:40:25 PM
I just downloaded and setup Coppermine 1.4 I was pleased to see the W3C logos for XHTML and CSS validation on the site. However, the index page does not validate. Even to XHTML transitional, it generates 6 errors that seem to track back to the login page. Validating to XHTML Strict generates 16 errors.

Any plans to rectify this issue or remove the logos as they are misleading.

Thanks
Link? If you checked our demo, the pages validate. So your own site might use something that is preventing validation. It's the gallery's admin that is responsible for validating code if they make changes that break it. If that's not possible, the gallery admin is responsible for removing the icons in Config.

It's rude to accuse people of being misleading when you don't have your facts straight.

durley

Thank you for your response - albeit a bit curt. I only asked a question. Searching the forum, it seems that others have experienced validation issues too. The link is www.voc.org.uk/cp/ it is a straight install to test the functionality and evaluate to see if it meets requirements, so no changes have been made to any code at this stage.

The piece of code i referred to on login.php is:

if (!isset($_COOKIE[$CONFIG['cookie_name'] . '_data'])) {
    $cookie_warning = <<<EOT
                  <tr>
                          <td colspan="2" align="center" class="tableh2">
                        <font size="1" color="red"><b>{$lang_login_php['cookie_warning']}<b></font>
                        </td>
                  </tr>

It threw up the second <b> tag as it should be a closing </b> tag. The other errors were to do with Doc type, form tags etc. Run the validation and see for yourself.
I followed the install instructions, if you find anything i have not done correctly, i'll be pleased to know so i can put it right.
Thanks for your time