Page 2 of 4

Re: PhocaGallery vs Sourcerer error

Posted: 26 Apr 2012, 14:08
by Jan
Hi, for now I don't know any place where Phoca Gallery will trigger onPrepareContent in some non standard way :-( ... so really need to know the information exactly (of course there is no problem to change it, but first I need to know what and where - for now testing and get no such problems so really need to get more info :-( )

Jan

Re: PhocaGallery vs Sourcerer error

Posted: 26 Apr 2012, 17:28
by bihler
Understand. I've not had any luck figuring out what's going on either.

Do you have any further suggestions as to what else I might do to try help and narrow down the issue?

Thanks.

Re: PhocaGallery vs Sourcerer error

Posted: 26 Apr 2012, 20:52
by Jan
No, really no, as I get no error directly in Phoca Gallery, it is really hard to say what can be in conflict :-(

Re: PhocaGallery vs Sourcerer error

Posted: 26 Apr 2012, 21:22
by bihler
Sigh..... ok - thanks. If I find anything new, I'll let you know. Thanks again.

Re: PhocaGallery vs Sourcerer error

Posted: 30 Apr 2012, 16:36
by Jan
Ok

Re: PhocaGallery vs Sourcerer error

Posted: 13 May 2012, 17:05
by sgofferj
I have basically the same problem, just a little different error message.
You can check at http://stefan.gofferje.net/dog-training ... g-training

I have narrowed it down so far that the error occurs if you activate "show description in detail view". If you don't activate this, the error does not occur.

I use sourcerer only on the home page to display additional text in the welcome box if the visitor comes from certain IPs.
Sourcerer is NOT used in any module that would be visible together with the gallery.

Re: PhocaGallery vs Sourcerer error

Posted: 13 May 2012, 19:02
by sgofferj
Another clue - the error does NOT occur with YouTube videos...
=>http://stefan.gofferje.net/flightgear/videos

Re: PhocaGallery vs Sourcerer error

Posted: 13 May 2012, 22:29
by Jan
Hi,

"show description in detail view" means, that content plugin will be accepted, so yes, this is known, that in description field this will happen (as description can accept content plugin) but still didn't find any other information which can indicate some problem there :-( (all other plugins are Ok) :idea:

Re: PhocaGallery vs Sourcerer error

Posted: 14 May 2012, 07:27
by bihler
Ok, I've been (slowly) continuing my debug efforts, while I still don't have anything definitive, in light of what others are now experiencing, I thought I would post the additional information I do have in case anyone has any other ideas.

(a) It finally dawned on me that when the image is displayed (with the previously reported error message), ALL the slide navigation controls have disappeared.

(b) When I ran Firebug (the browser debug tool), I discovered the following error message being generated when I attempt to load the image:

fadeSlideShow is not defined
var phocagallery=new fadeSlideShow({ (line 7)

While the module (fadeSlideShow) appears to exist in the package, I haven't figured out why the system thinks it's not available.

(c) I checked the callback on what was being executed, and clearly there's a few things missing. I've got 2 images showing the tracebacks, but am not seeing how to attach them (it's getting late here), so here are the links:
trace_oldver.PNG - represents callback of the correctly functioning module
http://www.pnwexplorer.net/test/trace_oldver.PNG
trace_newver.PNG - represents callback of the incorrectly functioning module, generating the error reported
above.
http://www.pnwexplorer.net/test/trace_newver.PNG

(d) Thanks to the input provided by sgofferj, I ran some additional tests and here's what I found - if I go to PhocaGallery's Control Panel page, select Options, and proceed to "Detail View Settings" > "Detail Window" and change the setting from "Modal" to "Model (image only)", everything displayed correctly - without error. I then played with ALL the available settings for Detail Window, any of the following selections appear to function correctly:

Modal (image only)
Highslide JS (image only)
Shadowbox
Slimbox
Boxplus (image only)

All other options generated my original error.

And just to re-iterate, the only place I make any use of the sourcerer module is in 3 different articles, nothing where there would be any obvious interactions with phocagallery. I've not seen any other errors so far.

Re: PhocaGallery vs Sourcerer error

Posted: 14 May 2012, 07:52
by wang0514
Thank you   so much  
  i think i can get  it.