Advanced search  

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

Pages: [1]   Go Down

Author Topic: Bridge manager page is blank  (Read 4143 times)

0 Members and 1 Guest are viewing this topic.

blackRock

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 20
    • DecoClub
Bridge manager page is blank
« 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.

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.
« Last Edit: July 13, 2007, 04:21:31 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge manager page is blank
« Reply #1 on: July 12, 2007, 05:59:01 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)!

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

blackRock

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 20
    • DecoClub
Re: Bridge manager page is blank
« Reply #2 on: July 13, 2007, 11:31:07 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge manager page is blank
« Reply #3 on: July 13, 2007, 04:24:22 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.