forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: fareforce on December 12, 2004, 09:33:39 am

Title: error on page? Help!
Post by: fareforce 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 (http://Http://www.alaskastudio.com[/color)
Title: Re: error on page? Help!
Post by: Joachim Müller 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 (http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/scripts.js) if you shy away from a fresh download of the cpg1.3.2 package (http://prdownloads.sourceforge.net/coppermine/cpg1.3.2.zip?download)).

Joachim
Title: Re: error on page? Help!
Post by: fareforce 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 (http://www.AlaskaStudio.com[/color)