error on page? Help! error on page? Help!
 

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

error on page? Help!

Started by fareforce, December 12, 2004, 09:33:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fareforce

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
~fareforce
Anchorage, AK
Home of the frozen weasel
http://www.alaskastudio.com

Joachim Müller

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

fareforce

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

~fare
]http://www.AlaskaStudio.com
~fareforce
Anchorage, AK
Home of the frozen weasel
http://www.alaskastudio.com