Hi,
I’m using phgiraud’s mod http://forum.phpwebgallery.net/viewtopic.php?id=8776 and need some help if possible.
Originaly, the metadata icon wouldn’t work but that was solved on phgiraud’s post by Vdigital. Thanks you Vdigital.
But unfortunately I’m still getting
Done, but with errors
on the bottom of the page. Otherwise, everything else seems to be working ok.
I’m using version 1.6.1, using Video Intergrator mod and running on a backup of PWG at this link:
http://anta.no-ip.com/www2/gallery_backup/1.6.1/
B.T.W. great work phgiraud on the picture layout. I really hope I can get this solved because I really like this format and like to add it to my main site. Thanks
Offline
anta wrote:
Hi,
I’m using phgiraud’s mod http://forum.phpwebgallery.net/viewtopic.php?id=8776 and need some help if possible.
Originaly, the metadata icon wouldn’t work but that was solved on phgiraud’s post by Vdigital. Thanks you Vdigital.
But unfortunately I’m still gettingDone, but with errors
on the bottom of the page. Otherwise, everything else seems to be working ok.
I’m using version 1.6.1, using Video Intergrator mod and running on a backup of PWG at this link:
http://anta.no-ip.com/www2/gallery_backup/1.6.1/
B.T.W. great work phgiraud on the picture layout. I really hope I can get this solved because I really like this format and like to add it to my main site. Thanks
Offline
You can have some explanations of these errors by:
W3C HTML Validator
If you need more help...
8-)
Offline
W3C HTML Validator is a great tool. Heard about it but was never sure what it was for. I tried it and managed to fix all the errors except one:
1. Line 174 column 112: document type does not allow element "TABLE" here; missing one of "OBJECT", "MAP", "BUTTON" start-tag.
... (technical) info about this picture">
This error I believe refers to:
<!-- BEGIN metadata -->
<span id="show_exifs">
<table class="infoTable" style="font-size: 82%;"" summary="Some more (technical) info about this picture">
<!-- BEGIN line -->
<tr>
<td class="label">{metadata.line.KEY}</td>
<td class="value">{metadata.line.VALUE}</td>
</tr>
<!-- END line -->
</table>
</span>
<!-- END metadata -->
What ever changes I made from serching google had no fix except for replacing span tag with object tag. Object eliminated the error from W3C validator but not the error from the bottom of my page and the metadata icon didn’t work. So that was no good.
Anyways, I’m a little better off but still have that annoying yellow exclamation mark on the bottom of my page.
Maybe what I need to do is install this mod from a fresh install of pwg just to see if its somthing other than this script...but I welcome any other suggestions.
Offline
Ignore the problem isn't there.
(Explanation: We have coded a <table> in a <span> this is incorrect... We will make a corrective for that).
You HTML is correct and the "Done, but with errors" is coming from some where else.
Look JS code...
function LireCookie(nom)
{
var arg=nom+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clean)
....
change clean by clen
That will remove the error...
Enjoy PWG !!!
Offline
Update:
The error I was getting with W3C HTML Validtor was cleared when I changed picture.tbl
<!-- BEGIN metadata -->
<span id="show_exifs">
<table class="infoTable" style="font-size: 82%;"" summary="Some more (technical) info about this picture">
<!-- BEGIN line -->
<tr>
<td class="label">{metadata.line.KEY}</td>
<td class="value">{metadata.line.VALUE}</td>
</tr>
<!-- END line -->
</table>
</span>
<!-- END metadata -->
to
<!-- BEGIN metadata -->
<table id="show_exifs" class="infoTable" style="font-size: 82%;" summary="Some more (technical) info about this picture">
<!-- BEGIN line -->
<tr>
<td class="label">{metadata.line.KEY}</td>
<td class="value">{metadata.line.VALUE}</td>
</tr>
<!-- END line -->
</table>
<!-- END metadata -->
I got the changes from the French post at http://forum.phpwebgallery.net/viewtopi … 76&p=2
Cheers.
Offline