hi all
i installed light 6.x-2.2 on drupal 6.6.
and now my site is broken.
got this error when i go to the themes page:
please help!
thank you.
XML Parsing Error: not well-formed
Location: http://www.example.com/drupal6/admin/build/themes
Line Number 229, Column 251:
Barron
XHTML & CSS based two column theme
---------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | test_a.php_.txt | 3.39 KB | nickbits |
| #1 | test_b.php_.txt | 3.35 KB | nickbits |
Comments
Comment #1
nickbits commentedHi,
I think I know what the issue here is.
Firstly can you tell me what browser you are using and what version?
Secondly, I have two files, one of which should fix the issue. Can you download test_a, put in the light theme directory and rename it to page.tpl.php replacing the existing one. Test to see if that fixes the problem. If not try test_b.
If you could let me know which one works I will update the release on Drupal.
Regards,
Nick
PS sorry about this, did not show up when I was testing.
Comment #2
nickbits commentedI have tested the version that has been released on Drupal.org, and I cannot replicate the error with default set-up. I do get an error with certain modules such as DEVEL, but that is not the theme that is broken, that is because those modules do not comply to basic HTML or XHTML standards.
Can you give me more information please? Browser(s) you are using, Apache (or other server version), modules, etc.
Cheers,
Nick
Comment #3
executex commentedPage A seems to fix the problem...
And why would you code the theme without testing with Devel? Devel is a standard module in almost every site?
Comment #4
nickbits commented@executex - Firstly the theme is XHTML compliant. It is not my theme that is the problem, it is the Devel, and other modules! They place code outside the standard HTML breaking it. This is something that I believe the Drupal community needs to work on. We have a fantastic CMS, but to get them to validate to HTML or XHTML standards is difficult. I test with a standard Drupal install with only core modules enabled. If you are on a production site, why would youe even have Devel turned on?
New version is now on Drupal.
Comment #5
executex commentedI see... I don't see much of a point in getting XHTML validated.
Comment #6
nickbits commentedXHTML validated - WOW, I do not hear many people say that. Each to their own.
Just a note though, validation ensures maximum compatability between browsers and devices. Not only that but some companies/organisations with a website are required to be conforming to Section 508 and/or WAI if in the USA or UK. Other parts of the world have similar laws.
Anyway, problem is now fixed in the latest release.