Bridging works but there are FF errors Bridging works but there are FF errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Bridging works but there are FF errors

Started by jlove, November 03, 2007, 11:34:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jlove

I have the following issue when trying to bridge coppermine and SMF 1.1.4:

It's not really a message. When trying to view full sized images, the error console opens in firefox. The bridge was successful, registration works, but the error console keeps opening for every image.

e.g.: http://gallery.sjb-fan.com/displayimage-lastup-0-2.html (you have to use Firefox to see it. I've tested it in 3 computers.)

Coppermine install: http://gallery.sjb-fan.com/
Forum install: http://forum.sjb-fan.com/
Coppermine version: cpg1.4.2
Forum version: SMF 1.1.4
Test user account: user: test / pass: test

BridgeManager settings: 
Forum URL:      http://forum.sjb-fan.com
Relative path to your BBS's config file:    /home/username/forum.sjb-fan.com/ (sorry, but I can't put that out there for all the world to see. If you really need it, then I'll give it to you, but since I can't edit my posts, I'm not putting it here.)
Use post-based groups?:    0
Path where avatars are stored:    avatars
Cookie name/prefix -- for smf: SMFCookie653

jlove

I forgot to add this, although it should go without saying, that it doesn't happen when they are not bridged. (I've tested this as well.)

jlove

Umm... so I'll keep posting in this post until I finish because I can't edit my posts:

Is this the reason: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating_cookie_start

I've done various searches, and the closest to what I have was: http://forum.coppermine-gallery.net/index.php?topic=22172.0 (at least I think) and I tried what was suggested, but no go.


Incidentally, none of the errors listed in the console are associated with my gallery.

Nibbler

I can't see how this is caused by the bridge. When you made your custom theme you have created your own version of theme_html_picture() in your theme.php. You need to edit that and make sure you have:

$pic_html = "<a href=\"javascript:;\"

Your page is missing the semicolon after the javascript:

jlove

But it's in my theme.php:

$pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";

Nibbler

It's not in the html output of your page.

<a href="javascript:" onclick="MM_openBrWindow('displayimage.php?pid=3231&amp;fullsize=1','1248979018472d018f9b4a2','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=725,height=419')">

Is that the 'total' theme you are looking at?

Do you have anything in SMF that rewrites the page output? Something like Coppermine's SEF urls plugin?

jlove


Nibbler


jlove


Nibbler

The webpage or forum thread or code for the mod.

jlove


jlove


Nibbler

Try

$pic_html = "<a href=\"javascript:void(0);\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";

jlove