slideshow: Error: DIV with ID ....

Phoca Gallery plugins - plugins for Phoca Gallery extension
OdinLegacy
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Oct 2011, 17:41

Re: slideshow: Error: DIV with ID ....

Post by OdinLegacy »

Hello Jan,

They are not displayed in article. I did not change the code "{pgslideshow id=4...}" in the article to show the pics.
The same article that works before.

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: slideshow: Error: DIV with ID ....

Post by Jan »

Hmmm, testing without any problem :idea:

I have added support for "featured" view in 3.1.2 but this should not affect the displaying in article :idea:
If you find Phoca extensions useful, please support the project
OdinLegacy
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 19 Oct 2011, 17:41

Re: slideshow: Error: DIV with ID ....

Post by OdinLegacy »

Happy new year everyone,

Finally It works well. So it will work fine having:

- Phoca Gallery Slideshow Plugin 3.1.2
- Phoca Gallery 3.1.1

Thanks a lot for that good support!!

P.D: I don't know why it doesn't work, I don't touch nothing...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: slideshow: Error: DIV with ID ....

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
eon
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 12 Feb 2012, 20:27

Re: slideshow: Error: DIV with ID ....

Post by eon »

Hello,

When i realized i got this error, i tried to remember what where my last actions. My last action was enabling the Cache. I disabled it: Global Configuration -> System -> Cache Settings -> "OFF Caching Disabled" (It was on "ON - Progressive caching").

I didn't examine / analyze how this is connected, just trying to give more clues.

(I have the latest PG + plugin versions)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: slideshow: Error: DIV with ID ....

Post by Jan »

Hi, not sure how this can be related to cache, maybe in cache was some obsolete code, maybe cleaning the chache should help.

Jan
If you find Phoca extensions useful, please support the project
Pogyeah
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Feb 2012, 17:21

Re: slideshow: Error: DIV with ID ....

Post by Pogyeah »

Hello,
I'm sorry to bother with the same issue, but (of course is a "but" :) ) I'm in a dead-end.
The situation is like this... I have an article in which I've inserted a slideshow with Phoca Slideshow Plugin. This article is "broken" in 2 pages, and the slide is somewhere on the first one. When I click to read the next page(like any user would do), I get the same damn error like everyone else here. If I try to move the slide on Page 2, the article is displayed with the error on the first one and OK on the one with the images. (I hope I'm making sense here)
Now, as far as I can tell, there is no other problem with the way the page is displayed apart from the annoying pop-up message from the error.
So, just to cut the corners, it would be very helpful just to get rid of the warning/error message.
Unfortunately for me, my programming skills are limited, and I couldn't find the file responsible with the error message display ...in order to comment the lines. (I suppose it's a .js file)
Also, the site I'm working on is in development stage (is not published) and I'm not able to provide any link that might help.
I need someone to point in the right direction, at least, and with a lot of google-ing, trial-and-error and luck...maybe I'll "restart the engine" :)
Thank you in advance !

Other potential useful info about the tools I'm working with:
- Joomla 2.5.1
- Wampserver 2.1
- PHP 5.3.9
- MySQL 5.1.53
- Apache 2.2.21
- Roundlab template (from www.linelab.org)
- Phoca Gallery 3.1.5
- Phoca Gallery Slideshow Plugin 3.1.3
- Phoca Gallery Button Plugin 3.0.1
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: slideshow: Error: DIV with ID ....

Post by Jan »

Hi, can I see the site where this occurs?
If you find Phoca extensions useful, please support the project
Pogyeah
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Feb 2012, 17:21

Re: slideshow: Error: DIV with ID ....

Post by Pogyeah »

I'm sorry, but you can't. I'm still building the site on my own computer using WAMP and I don't have a hosting yet.
But, as an example of what I am looking for...: I've found in _____/components/com_phocagallery/assets/ a file called fadeslideshow.js. In this file is a piece of coding:

Code: Select all

if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found
			alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
			return
		         }
If I could just identify smth. like that for my case (a file in which I could comment/delete the error message) then from my point of view the problem is solved. :)
I know...it's not a solution, it's just a cover up, but for me the shortest distance between 2 dots is a straight line. :wink:

I'm not a programmer, but as far as I can tell, the root of the problem stands somewhere in the way of handling the multi-page article display by Joomla.
zazar
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Mar 2012, 05:10

Re: slideshow: Error: DIV with ID ....

Post by zazar »

I've got the same error.
I have installed all last versions of plugins and other software.

I made one article with one codeline "{pgslideshow id=1|width=800|height=600|delay=7000|image=O}" Nothing else.
Right now all other articles (except one with slideshow tag) shows with error "DIV with ID phocaGallerySlideshowP3991712811 not found on page".
They don't contain any of slideshow plugin syntax ever.
I open source htmls of these pages with this error and see some javascript starting with:

Code: Select all

* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
var phocagalleryplugin3991712811 = new fadeSlideShow({
 wrapperid: "phocaGallerySlideshowP3991712811",
 dimensions: [800, 600],
 imagearray: [["/images/phocagallery/mygallery/001.jpg", "", "", ""],
.......etc
What's this? How to avoid this wrapper in the html? It appears only when I enable Phoca Gallery Slideshow Plugin in the plugin manager panel.

Sorry, I can't paste a link to the site.
Post Reply