Bridge manager page is blank Bridge manager page is blank
 

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]

Main Menu

Bridge manager page is blank

Started by blackRock, July 12, 2007, 03:47:55 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

blackRock

I have CPG 1.4.10 modpack v1 (stable) (mod by stramm) bridged with SMF 1.1.2 and it works ok.

The problem is that when I access bridgemgr.php the page is blank!

Coppermine install: http://decoclub.gr/gallery/
Forum install: http://decoclub.gr/forum/
Coppermine version: cpg1.4.10 modpack v1 (stable)
Forum version: SMF 1.1.2

BridgeManager settings:
Forum URL:  http://decoclub.gr/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  yes

CPG's cookie name: decoclub_gallery

I have cleaned all cookies but nothing changed.
Also, I don't give a test user here because the user must be in administrators group. Of course I give one in PM if you ask so.

P.S. if you try to access the site, please use the following url because the default language is Greek and you don't have the choice of other languages.
http://decoclub.gr/gallery/index.php?lang=english

Thanks for your support.

Joachim Müller

Quote from: blackRock on July 12, 2007, 03:47:55 PM
I have CPG 1.4.10 modpack v1 (stable) (mod by stramm) bridged with SMF 1.1.2 and it works ok.
Upgrade! Most recent stable release is cpg1.4.12 (both standalone as well as modpack)!

Quote from: blackRock on July 12, 2007, 03:47:55 PMThe problem is that when I access bridgemgr.php the page is blank!
Actually, it's not entirely blank - if you view the page source, you can see<div id="headerLoginForm">, which isn't coppermine code shinging through. I guess this may be related to possible file corruption. Upgrading should fix this issue. If you still have issues after upgrading, please report then (doing as suggested in the sticky thread on this board).

Another possible culprit could be the pop-ups that get injected.

blackRock

SOLVED!

The upgrade (CPG 1.4.12 modpack v2 (stable) and SMF 1.1.3) didn't solve the problem. Anyway I should have done it  :-X

Your remark about the <div id="headerLoginForm"> lead me to my custom header file.

Well, I use a custom theme and a custom header file that call a custom function from the SSI.php file of SMF forum (lots of custom  :) ). The custom header has the following code:

<div id="headerLoginForm">
<?php ssi_forum_welcome($_SERVER["REQUEST_URL"]); ?>
</div>


For some (unknown for me  :( ) reason, this custom header does not work with the bridgemgr.php file.

The solution:
I went to the admin.php file, in the Theme settings and cleared the Path to custom header include.
After that, the bridge manager page works fine!

Thank you for your guidance!

Joachim Müller

Thanks for returning and posting your solution.
Explanation: you mustn't include files like SMF's SSI.php script into your custom header include, as this file interferes with the http header data (reading/writing cookies). You can not include any type of PHP script within custom_header! The only stuff that can go there is stuff that leaves the header data alone and only outputs some HTML.