"&" causing validation failures "&" causing validation failures
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

"&" causing validation failures

Started by spikeyhair, February 10, 2010, 01:08:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spikeyhair

Hi,

I have a successfully running coopermine gallery http://www.phoenixhospitalradio.com/photos/

However after validating it on the W3C validator it would appear to be failing due to the "&" symbol not being converted to & on the displayimage.php and thumbnails.php pages.

Is there anything I can check or change?

Cheers.

Spikey.

Jeff Bailey

For http://www.phoenixhospitalradio.com/photos/displayimage.php?album=46&pos=5 the & symbol has something to do with the facebook button.

<a href="http://www.facebook.com/sharer.php?u=http://www.phoenixhospitalradio.com/photos/albums/userpics/normal_Elaine%20and%20John%20Topliss.JPG&" TARGET="_blank" onclick="window.open(this.href,'window','width=626,height=436,resizable') ;return false;"><img src="plugins/facebook/facebook_share_button.jpg" width=75 height=33 /></a>

Have a look at the plugin's code to fix it.

I don't see the error on http://www.phoenixhospitalradio.com/photos/thumbnails.php?album=1 can you be more specific.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

#2
Oops almost forgot.
Please upgrade to 1.4.26.
cpg1.4.26 Security release - upgrade mandatory!
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

spikeyhair


Jeff Bailey

That's odd. It has to do with your thumbnail titles, some convert to &amp; while others don't.
Unless you manually edited something, I don't know why this would happen.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford