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: CPG1.4.2/phpBB2 2.0.18: redirection failed  (Read 5012 times)

0 Members and 1 Guest are viewing this topic.

tomtom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
CPG1.4.2/phpBB2 2.0.18: redirection failed
« on: November 25, 2005, 03:49:51 pm »

I have the following issue when trying to bridge coppermine and phpBB 2.0.18:
The document name you requested (/php/forum/phpBB2/....../php/cpgallery/) could not be found on this server.
(It seems, that the "../" command didn't work, because the last part with the path to the gallery always is appended to the URL of th pbpBB !!?)

Coppermine install: http://www.tsv-hoechst.de/php/cpgallery/
Forum install: http://www.tsv-hoechst.de/php/forum/phpBB2/
Coppermine version: cpg1.4.2
Forum version: phpBB 2.0.18
Test user account: cpgtest / cpgtest

BridgeManager settings:
Forum URL: http://www.tsv-hoechst.de/php/forum/phpBB2/
Relative path to your BBS's config file: ../forum/phpBB2/
Use post-based groups?: 0

Further information:
Until yesterday I run cpg1.3.5 using the patched bridge file ($Date: 2005/09/24 16:31:32 $) -> Everything worked fine!
Today I upgraded to cpg1.4.2 using the standard 1.4.2 bridge file ($Date: 2005/11/20 20:44:14 $) and following the descriptions in the manual 1.4.2!
Starting the bridge manager the first time I wondered, because there was no ask for the "Relative forum path" (Relative path to your BBS app from the webroot), like written in the documentation!?? Defining the other two paths and activating the bridge results (after logoff/login) in the error message shown above.
Detecting the paths manually shows, that the bridge manager did no changes "phpbb2018.inc.php",
code still shows:
Code: [Select]
if (!USE_BRIDGEMGR) {
$this->boardurl = 'http://www.yousite.com/phpBB2';
require_once('../phpBB2/config.php');

Editing these lines manually didn't work!

Changing encoding from ISO-8859 to UTF-8 like written here ( http://forum.coppermine-gallery.net/index.php?topic=24055.0 ) didn't solve this problem.  :(

Could you pls. help soon? Thanks!





« Last Edit: November 26, 2005, 12:50:25 am by Nibbler »
Logged

Nibbler

  • Guest
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #1 on: November 25, 2005, 04:02:33 pm »

Bridging needs to be enabled for me to help you. There are no code changes required with the new bridging system.
Logged

tomtom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #2 on: November 25, 2005, 06:56:37 pm »

Sorry, I didn't know.

Now I've activated the bridge and I created the "cpgtest"-account in the phpBB with "normal member rights".
Hope this will work!?

Thanks
Logged

Nibbler

  • Guest
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #3 on: November 25, 2005, 07:52:14 pm »

Test account doesn't work but I found the problem. Look in bridge/phpbb2018.inc.php, find

Code: [Select]
$redirect = str_repeat('..', $levels) . rtrim($cpg['path'], '/') . '/';

and add in the missing slash

Code: [Select]
$redirect = str_repeat('../', $levels) . rtrim($cpg['path'], '/') . '/';
Logged

tomtom

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #4 on: November 26, 2005, 12:49:12 am »

Great job !!!  :)
Excellent program !!!  :D

By the way: I checked the again the original installer package of 1.4.2 and I found the missing slash there too.
Hope this statement is correct and will avoid problems for other 1.4.2<->2.0.18 bridge users too !?  ;)

Thanx a lot...
...and be sure, further questions will follow!  ;)
Logged

axisdata.network

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #5 on: December 30, 2005, 10:25:17 am »

Hello All, thanks for this answer and topic, It worked, I also would like to express that I found the problem in the original installer from 1.4.2 where the slash was missed too.

Thanks again, and regards,
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG1.4.2/phpBB2 2.0.18: redirection failed
« Reply #6 on: December 30, 2005, 11:16:09 am »

upgrade to cpg1.4.3
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.