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: cpg1.4.3 and phpbb2.0.19  (Read 6316 times)

0 Members and 1 Guest are viewing this topic.

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
cpg1.4.3 and phpbb2.0.19
« on: February 19, 2006, 09:40:03 pm »

hi I'm preparing my site for the opening. www.babez.dk (it is a danish site).
I have download the new bridging files from (http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/) before i begang.

The Gallery is on www.babez.dk/galleri/
The Forum is on www.babez.dk/forum/

I can registret a user from both the gallery and the forum. (as i should)

if i login from the forum, the user works in the forum and in the gallery.
If i hit logout from the forum, it logs out and then returns to the forum(as i should)
If i hit logout from the galleri, it logs out, and then returns to the index page: babez.dk/  (it is okay, as long as it works)

If i hit the login bottun from the gallery, then i get redirect to: http://www.babez.dk/forum/login.php?redirect=..// 
and when i then login i get redirect to http://babez.dk//?sid=d06cab275ce932af7670cf7992062628  and im not logged in.   :-\


cpg143_bridge database dump:
Code: [Select]
--
-- Struktur-dump for tabellen `cpg143_bridge`
--

DROP TABLE IF EXISTS cpg143_bridge;
CREATE TABLE cpg143_bridge (
  name varchar(40) NOT NULL default '0',
  value varchar(255) NOT NULL default '',
  UNIQUE KEY name (name)
) TYPE=MyISAM;

--
-- Data dump for tabellen `cpg143_bridge`
--

INSERT INTO cpg143_bridge (name, value) VALUES ('short_name', 'phpbb2018');
INSERT INTO cpg143_bridge (name, value) VALUES ('license_number', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('db_database_name', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('db_hostname', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('db_username', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('db_password', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('full_forum_url', 'http://www.babez.dk/forum');
INSERT INTO cpg143_bridge (name, value) VALUES ('relative_path_of_forum_from_webroot', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('relative_path_to_config_file', '../forum/');
INSERT INTO cpg143_bridge (name, value) VALUES ('logout_flag', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('use_post_based_groups', '0');
INSERT INTO cpg143_bridge (name, value) VALUES ('cookie_prefix', 'phpbb2mysql');
INSERT INTO cpg143_bridge (name, value) VALUES ('table_prefix', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('user_table', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('session_table', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('group_table', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('group_relation_table', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('group_mapping_table', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('use_standard_groups', '1');
INSERT INTO cpg143_bridge (name, value) VALUES ('validating_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('guest_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('member_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('admin_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('banned_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('global_moderators_group', '');
INSERT INTO cpg143_bridge (name, value) VALUES ('recovery_logon_failures', '0');
INSERT INTO cpg143_bridge (name, value) VALUES ('recovery_logon_timestamp', '');
       


I hope you can help me...

I have created a user: you can use:

Username:ny test
Password:tester

Thanks in advance
« Last Edit: February 19, 2006, 10:26:00 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: cpg1.4.3 and phpbb2.0.19
« Reply #1 on: February 19, 2006, 09:52:54 pm »

Congratulations on actually posting all required information straight away :)

You need to set 'URL of your coppermine gallery folder' correctly in config. The redirection code needs to use this to determine the relative path to redirect back to after login so it needs to be set correctly.
Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: cpg1.4.3 and phpbb2.0.19
« Reply #2 on: February 19, 2006, 09:56:27 pm »

Congratulations on actually posting all required information straight away :)

You need to set 'URL of your coppermine gallery folder' correctly in config. The redirection code needs to use this to determine the relative path to redirect back to after login so it needs to be set correctly.
Thanks  ;)

Do i have to chance something in a php file, or in my database? If it's in the database, please tell me what table.

Thanks for the quick help!
Logged

Nibbler

  • Guest
Re: cpg1.4.3 and phpbb2.0.19
« Reply #3 on: February 19, 2006, 10:03:28 pm »

Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: cpg1.4.3 and phpbb2.0.19
« Reply #4 on: February 19, 2006, 10:10:06 pm »

I have chanced it now, and i can login from both the galleri and the forum..

 But when hi logout, from the gallery it says: Invalid_session  on this site:"http://www.babez.dk/forum/login.php?logout=true&sid=7776b4ee45cd663f3d5fbb4c91c22f98&redirect=../galleri/"
 
Logged

Nibbler

  • Guest
Re: cpg1.4.3 and phpbb2.0.19
« Reply #5 on: February 19, 2006, 10:12:03 pm »

Yes, that's a known issue with the bridge and php 2.0.18+.  You could remove the logout button from your theme.
Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: cpg1.4.3 and phpbb2.0.19
« Reply #6 on: February 19, 2006, 10:16:17 pm »

I can't redirect the gallery's logout bottun URL, to the forum's bottun's URL?

What file, is the menu made in? what .php fil, do i controle the menu?
Logged

Nibbler

  • Guest
Re: cpg1.4.3 and phpbb2.0.19
« Reply #7 on: February 19, 2006, 10:25:49 pm »

There is information on the themes board about changing menu buttons. Marking this as solved.
Logged

younk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: cpg1.4.3 and phpbb2.0.19
« Reply #8 on: February 19, 2006, 10:30:54 pm »

k. Thanks for the quick help. I keep checking this forum to see, if the problem some day will be fixed..

Thanks again!
Younk over and out
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.