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: error on page? Help!  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

fareforce

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 66
  • Who are you calling a weasel?
    • Alaska Studio
error on page? Help!
« on: December 12, 2004, 09:33:39 am »

Ok this is an interesting proble, that I am having issues figuring out. I am hoping that it is something simple as my version of CPG is fairly heavily modified.

If you go to my site http://www.alaskastudio.com and go to the test category (which I moved to the top for now) and click on the picture of the waterfall it will take you to it's own page displaying the waterfall. This is good.. It should do this, however if you click the picture again it should pop-up a large version of this picture. instead you get an error.

The error is as follows:

Quote
Line: 234
Char: 1
Error: Object Expected
Code: 0
URL: http://www.alaskastudio.com/cpg132/displayimage.php?album=18&pos=8



Here is what I have on line 234:


Quote
        '{VOTES}' => $votes,



Here is the link straight to the picture http://www.alaskastudio.com/cpg132/displayimage.php?album=18&pos=8

If anyone sees a mod they would like me to post let me know.. none of them are to complex, but would love to help others out if i can.

~fare
]Http://www.alaskastudio.com
« Last Edit: December 13, 2004, 07:58:40 am by GauGau »
Logged
~fareforce
Anchorage, AK
Home of the frozen weasel
http://www.alaskastudio.com

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: error on page? Help!
« Reply #1 on: December 12, 2004, 09:46:53 am »

looks like you replaced the JavaScript file script.js that comes with coppermine with a file of unknown origin - when I try to access http://www.alaskastudio.com/cpg132/scripts.js, all I get is
Quote
<html><body></body></html>
(maybe you used an editor you were not suppossed to use as well). The expected behaviour (e.g. on our demo: http://coppermine.sourceforge.net/demo/scripts.js ) would be to show the source code of the actual script file. Coppermine relies on the script.js file to exist and contain some JavaScript that controls the pop-up. Restore the original from the coppermine package (you could use the code from http://coppermine.sourceforge.net/demo/scripts.js or get the most recent version from the stable branch of the web cvs if you shy away from a fresh download of the cpg1.3.2 package).

Joachim
Logged

fareforce

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 66
  • Who are you calling a weasel?
    • Alaska Studio
Re: error on page? Help!
« Reply #2 on: December 12, 2004, 07:30:21 pm »

Thank you so much! That worked great. I am glad it was something easy.

~fare
]http://www.AlaskaStudio.com
Logged
~fareforce
Anchorage, AK
Home of the frozen weasel
http://www.alaskastudio.com
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.