bug in displayimage.php? bug in displayimage.php?
 

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

bug in displayimage.php?

Started by jpwillms, November 09, 2004, 08:30:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jpwillms

Hi there,

   Just wondering if there is a bug in coppermine? When displayimage.php displays an image, and there is an option to click it again to display it even larger (I'm imagining in a pop-up window....)

However, whenever I, or any other user clicks it, I get a javascript error:

Line:116
Char: 1
Object Expected
Code: 0

Also, the link, when I rightclick and get the link is "javascript:;"

Any thoughts?  I am using the latest stable version of coppermine

..jordan willms

Tranz

Link, please.

Have you applied modifications? What browser are you using?

If it were a bug it would happen to everyone and that is not the case. Please don't yell bug unless you know what you're doing.

Casper

And have you tried replacing your displayimage.php and script.js files, in case one of them is corrupted?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

90% of the time this happens when using a custom theme, where the line <script type="text/javascript" src="scripts.js"></script>is missing in themes/yourcustomtheme/template.html

Joachim

thejake420

Quote from: GauGau on November 10, 2004, 09:44:46 AM
90% of the time this happens when using a custom theme, where the line <script type="text/javascript" src="scripts.js"></script>is missing in themes/yourcustomtheme/template.html

Joachim
God I love it when I search through a forum and find the exact answer I need in less than 15 seconds. :)

Thank you very much... that was exactly what happened to me when I changed my template to match the rest of my site.


Jake