Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Bridging works but there are FF errors  (Read 6623 times)

0 Members and 1 Guest are viewing this topic.

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Bridging works but there are FF errors
« on: November 03, 2007, 11:34:45 pm »

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
« Last Edit: November 04, 2007, 01:52:22 am by Nibbler »
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #1 on: November 03, 2007, 11:37:50 pm »

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.)
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #2 on: November 03, 2007, 11:52:01 pm »

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.
Logged

Nibbler

  • Guest
Re: Bridging works but there are FF errors
« Reply #3 on: November 04, 2007, 12:05:38 am »

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:

Code: [Select]
$pic_html = "<a href=\"javascript:;\"
Your page is missing the semicolon after the javascript:
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #4 on: November 04, 2007, 12:15:40 am »

But it's in my theme.php:

Code: [Select]
$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')\">";
Logged

Nibbler

  • Guest
Re: Bridging works but there are FF errors
« Reply #5 on: November 04, 2007, 12:19:00 am »

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

Code: [Select]
<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?
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #6 on: November 04, 2007, 12:20:40 am »

Yes. and yes.
Logged

Nibbler

  • Guest
Re: Bridging works but there are FF errors
« Reply #7 on: November 04, 2007, 12:23:30 am »

Can you post a link to it?
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #8 on: November 04, 2007, 12:25:28 am »

To which?
Logged

Nibbler

  • Guest
Re: Bridging works but there are FF errors
« Reply #9 on: November 04, 2007, 12:35:02 am »

The webpage or forum thread or code for the mod.
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #10 on: November 04, 2007, 12:48:06 am »

I have the Coppermines SEF urls plugin

Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #11 on: November 04, 2007, 12:49:29 am »

Oh sorry, I have the pretty urls plugin: http://code.google.com/p/prettyurls/
Logged

Nibbler

  • Guest
Re: Bridging works but there are FF errors
« Reply #12 on: November 04, 2007, 01:22:18 am »

Try

Code: [Select]
$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')\">";
Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Bridging works but there are FF errors
« Reply #13 on: November 04, 2007, 01:45:30 am »

Fabuloso!

It works! Thanks so much!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.