PhocaGallery vs Sourcerer error

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaGallery vs Sourcerer error

Post 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
If you find Phoca extensions useful, please support the project
bihler
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 09 Apr 2012, 04:29

Re: PhocaGallery vs Sourcerer error

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaGallery vs Sourcerer error

Post 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 :-(
If you find Phoca extensions useful, please support the project
bihler
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 09 Apr 2012, 04:29

Re: PhocaGallery vs Sourcerer error

Post by bihler »

Sigh..... ok - thanks. If I find anything new, I'll let you know. Thanks again.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaGallery vs Sourcerer error

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
sgofferj
Phoca Member
Phoca Member
Posts: 34
Joined: 13 May 2012, 16:46

Re: PhocaGallery vs Sourcerer error

Post 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.
sgofferj
Phoca Member
Phoca Member
Posts: 34
Joined: 13 May 2012, 16:46

Re: PhocaGallery vs Sourcerer error

Post by sgofferj »

Another clue - the error does NOT occur with YouTube videos...
=>http://stefan.gofferje.net/flightgear/videos
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaGallery vs Sourcerer error

Post 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:
If you find Phoca extensions useful, please support the project
bihler
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 09 Apr 2012, 04:29

Re: PhocaGallery vs Sourcerer error

Post 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.
wang0514
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 14 May 2012, 07:41
Contact:

Re: PhocaGallery vs Sourcerer error

Post by wang0514 »

Thank you   so much  
  i think i can get  it.
Post Reply