Page 1 of 1

Sudden errors after adding pictures

Posted: 08 Apr 2009, 21:39
by Lionnose
Here are my stats:

Joomla 1.5.4
PhocaGallery 2.1.0 RC
Phoca Gallery Random Image Module

The problem is as follows:

I had an existing gallery with no problems. I installed the Random Image Module without problems and it worked. A few minutes ago I set up a new categorie, added new photos (multiple add --> save), thumbnails have been created and all looked fine.

Now here is the problem. If I visit the gallery and click on a picture, the following error appears, instead of picture and slideshow:
') else document.write('
') if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox this.startit() else{ this.curimageindex++ setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay) } } function fadepic(obj){ if (obj.degree<100){ obj.degree+=10 if (obj.tempobj.filters&&obj.tempobj.filters[0]){ if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+ obj.tempobj.filters[0].opacity=obj.degree else //else if IE5.5- obj.tempobj.style.filter="alpha(opacity="+obj.degree+")" } else if (obj.tempobj.style.MozOpacity) obj.tempobj.style.MozOpacity=obj.degree/101 else if (obj.tempobj.style.KhtmlOpacity) obj.tempobj.style.KhtmlOpacity=obj.degree/100 else if (obj.tempobj.style.opacity&&!obj.tempobj.filters) obj.tempobj.style.opacity=obj.degree/101 } else{ clearInterval(fadeclear[obj.slideshowid]) obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1" obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas) obj.populateslide(obj.tempobj, obj.nextimageindex) obj.nextimageindex=(obj.nextimageindex' slideHTML+='
What does it mean and how can I fix it? Interestingly, the pictures from the random images are displayed correctly.

Edit: Upgraded to PhocaGallery 2.2.3, but no difference :(

Re: Sudden errors after adding pictures

Posted: 10 Apr 2009, 18:20
by caro84g
please, first upgrade to Joomla! 1.5.10 - there are serious security issues with 1.5.4

Regards, Carolien