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 CPG 1.6.03 with phpBB3.2 - not working  (Read 14490 times)

0 Members and 2 Guests are viewing this topic.

nl

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Bridging CPG 1.6.03 with phpBB3.2 - not working
« on: April 14, 2017, 11:21:46 am »

Please move my message if needed ..

Hi, I'm having trouble with bridging ..

Installed everything from scratch and documenting (mostly) everything ..
It still doesn't seem to do what I like it to.

The following gives me the options ...
Go to CPG .. click login
I'm moved to phpBB3, where I sign in (Yes!)
I'm moved back to CPG (Yes!) but still not logged in .. ???

Any suggestions before I quit?

The "documentation" is as follows:
Code: [Select]

###################################################################
### Installation guide for bridging between CPG1.6 and phpBB3.2 ###
###                                                             ###
### NOT WORKING .. in my setup                                  ###
###################################################################

###################################################################
#####  INSTALLATION OF phpBB3.2   #################################
###################################################################

UPLOAD FILES
in "/public_html/"

upload og unzip zip-file:
"phpBB-3.2.0.zip"
This creates "phpBB3"

DANISH LANGUAGE
in "/public_html/phpBB3/"

Upload og unzip zip-fil:
"danish_3_2_0_UPLOAD.zip"

### INSTALLATION ###############################

RUN : https://mysite.com/phpBB3

Follow installation guide (see tab INSTALL) ..

PAGE1
Admin user: mee
contact email: mee@gmail.com
admin  pw: xxxxxx
admin  pw: xxxxxx

PAGE2
Database type: MySQL/MySQLi
Database server host: mysql99.mysite.com
Database server port: LEFT BLANK                   
Databser username:    mysite_com_username
Database password:    xxxxxx
Databasename:         mysite_databasename
Prefix:               phpbb_

PAGE3
Cookie           : Yes
Force server URL : No
Servrer protocol : https://
domain name      : mysite.com
server port      :           
script path      : /phpBB3

PAGE4
Enable board-wide emails   : Enable
Use SMTP server for email  : No
SMTP server addr       :
SMTP server port       :
Authentication method SMTP : PLAIN /
SMTP user name             : LEFT BLANK 
SMTP password              : LEFT BLANK 

PAGE5
Default lang       : Danish
Title of board     : BORED
Short descripotion : Bored text


phpBB ACP (Administrator control panel)...

Send Statistics: Enable
VigLink : Disable/Enable?

===========================

RUN : "https://mysite.com/phpBB3/"

click on "Search index" in error message "phpBB Native Fulltext"..

### INSTALLATION ENDED phpBB3 ###############################


###################################################################
#####  INSTALLATION OF CPG1.6x(03)  ###############################
###################################################################

UPLOAD FILEs
in "/public_html/"

upload og unzip zip-file:
"cpg1.6.x-develop.zip"

Rename folder "cpg1.6-develop" to "cpg"

installation = cpg .. = version 1.6.03
RUN: "https://mysite.com/cpg/install.php"

1: English
2:
3:
4: Imagick Extension @ "/usr/bin/"
5:
6:
Database Type = MYSQLI
Database host = mysql99.mysite.com   
Databser username:    mysite_com_username
Database password:    xxxxxx
7: USE DB | prefix = cpg16x_
8:
9:
Username:            mee
Password:            xxxxxx
Email adress:        mee@gmail.com
10:

### INSTALLATION ENDED CPG  ###############################


Bridging .. if possible ..
##################################################################
#####  INSTALLATION of BRIDGING     ###############################
###################################################################

##########################################
Now to bridging .. phpBB - > CPG 1.6.03
##########################################
Install thing from FILE "tunnel2cpg.zip" ..
------------------------------------------------------
use cpg1.6.x_plugin_tunnel2cpg_v1.3.zip instead 1.5.x
------------------------------------------------------

From the Fantastic manual :
"Joomla! and/or phpBB3 to Coppermine Photo Gallery Tunnel
version: 1.2.5

The three zipped files in this package are plugins for CPG Joomla! and phpBB(3.1+).

For CPG:
--------
Install the plugin, cpg1.5.x_plugin_tunnel2cpg_v1.2.5.zip
Configure its 'secret phrase', usergroup settings and optional theme name.

//For Joomla!:
//----------
//Install the plugin, plg_system_cpgtunnel_v1.2.zip
//Enable the plugin and configure its 'secret phrase' (phrase same as CPG) and usergroup settings
//Establish any links in Joomla! that will point to CPG as:  <CPG URL>/index.php?file=tunnel2cpg/joomla
//Use the same link when setting up access to CPG using a Joomla! menu item 'wrapper'

For phpBB3:
------------
Unzip the extension, ron4mac_tunneltocpg_v1.0.0b.zip, into the <phpbb>/ext folder
Enable the extension and configure its 'secret phrase' (phrase same as CPG) and usergroup settings
Establish any links in phpBB3 that will point to CPG as:  <CPG URL>/index.php?file=tunnel2cpg/phpbb3


NOTES:
------
Joomla! and phpBB3 users will have to logout and back in before a tunnel will be established.
Subsequently, when users logout from Joomla! or phpBB3, they will also be logged out of CPG.

Once users have accessed the CPG instance via Joomla! or phpBB3, they will also be able to go directly to the
CPG instance (<CPG URL>) and login with their same Joomla! or phpBB3 username and password.

A sample CPG theme is provided that is designed for use when accessing CPG via a Joomla! menu item wrapper.
"

### Install CPG-plugin for bridging ##########################

cpg:
in "plugins" folder
Install (upload + unzip) the plugin, "cpg1.6.x_plugin_tunnel2cpg_v1.3.zip"

### Install phpBB-plugin for bridging ##########################

phpBB3:
in "ext" folder
install (upload + unzip) ron4mac_tunneltocpg_v1.0.0b.zip

### Install CPG-plugin for bridging NO II ##########################

cpg:
Configure its 'secret phrase', usergroup settings and optional theme name.
=
config -> plugin -> plugins not installed : INSTALL
Tunnel to CPG - Config
Secret phrase             : xxxxxx
Add new users to group    : Registrered
CPG theme to use tunneled : hardwired
+
Config -> Bridge manager
Bridge wizard .. phpBB version 3
URL bridge app        : https://mysite.com/phpBB3
relative path         : ../phpBB3/
cookie prefix         : phpbb3_

use bridge custom grp : yes

enable:       YES

### Install phpBB-plugin for bridging NO II ##########################

phpBB3:
Settings -> secret phrase : xxxxxx

Rename "/public_html/phpBB3/Install" to "/public_html/phpBB3/xInstall"


Log out + login .. REMEMBER HTTPS


############ END OF INSTALLATIONS ... #######################################

Btw. This is in Firefox on Ubuntu - Tried Chrome with even more trouble ..

./nl
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.6.03 with phpBB3.2 - not working
« Reply #1 on: April 14, 2017, 03:18:58 pm »

You need to decide between the the built in CPG bridge manager method and the Tunnel2CPG plugin method ... you cannot initiate them both.

For the tunnel method, you need to setup both ends, log into phpBB and then access CPG using the link method as described in the tunnel documentation.

As stated, the phpBB tunnel is somewhat beta. I'll set something up to test it with phpBB3.2 as soon as possible.
« Last Edit: April 14, 2017, 05:24:51 pm by ron4mac »
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Bridging CPG 1.6.03 with phpBB3.2 - not working
« Reply #2 on: April 14, 2017, 05:11:31 pm »

I updated a test installation of phpBB3 from 3.1.6 to 3.2.0 and had no problem 'tunneling' from phpBB3.2 to CPG1.6(03).

I logged into phpBB and then followed the link <myCPG1.6url>/index.php?file=tunnel2cpg/phpbb3

Again: you cannot use the tunnel and the bridge manager.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.