Advanced search  

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]

Pages: [1]   Go Down

Author Topic: bug in displayimage.php?  (Read 3290 times)

0 Members and 1 Guest are viewing this topic.

jpwillms

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
bug in displayimage.php?
« 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: bug in displayimage.php?
« Reply #1 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: bug in displayimage.php?
« Reply #2 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?
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: bug in displayimage.php?
« Reply #3 on: November 10, 2004, 09:44:46 am »

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

Joachim
Logged

thejake420

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 79
  • Jakes Jokes - the largest joke site on the web
    • Jakes Jokes
Re: bug in displayimage.php?
« Reply #4 on: March 13, 2005, 09:37:53 pm »

90% of the time this happens when using a custom theme, where the line
Code: [Select]
<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
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.