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:
--
-- 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
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.
Quote from: Nibbler 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.
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!
It's a setting on the config page (admin.php).
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_general_coppermine-url
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/"
Yes, that's a known issue with the bridge and php 2.0.18+. You could remove the logout button from your theme.
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?
There is information on the themes board about changing menu buttons. Marking this as solved.
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