coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jpwillms on November 09, 2004, 08:30:33 PM

Title: bug in displayimage.php?
Post by: jpwillms on November 09, 2004, 08:30:33 PM
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
Title: Re: bug in displayimage.php?
Post by: Tranz on November 09, 2004, 08:33:36 PM
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.
Title: Re: bug in displayimage.php?
Post by: Casper on November 10, 2004, 09:03:07 AM
And have you tried replacing your displayimage.php and script.js files, in case one of them is corrupted?
Title: Re: bug in displayimage.php?
Post by: Joachim Müller 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
Title: Re: bug in displayimage.php?
Post by: thejake420 on March 13, 2005, 09:37:53 PM
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