I tried to integrate the Gallery with my PunBB Forum and it did not worked. I think I did everything according to the instruction but when I tried to log in the Gallery after the Integration I got a blank screen with a bit of my header. The browser pointed at http://bulgaricus.com/galeria/login.php?referer=%2Fgaleria%2F so I added www. to the adres and then an error message appeared that I am already logged.
I entered groups which was supposed to synchronize the users from my forum, but nothing changed in the database.
May be this problem is connected with my customization troubles: http://forum.coppermine-gallery.net/index.php?topic=9863.0?
It is looking for www.bulgaricus.com.com so you must have typed your url in wrongly somewhere.
Do you have any idea where?
use your operating system's built-in search to find out (e.g. Windows Explorer): browse to the local copy of your coppermine folder, expand the search tab, search for files *.*, containing the string "com.com"
Joachim
Thanks, the mistake was in punbb.inc.php :)
I tried to log myself in the gallery. It redirected nicely me to the forum where I filled my login and password. Then it redirected me back to the gallery, but I was not logged there :( I suppose I have done again sth wrong but I don't have idea what :(
I tried to clear the cookies files but it didn't help.
Use the debug bridge file attached to this (http://forum.coppermine-gallery.net/index.php?topic=7767.msg43134#msg43134) post and see what it says.
I entered the gallery:
QuoteBridge file has been loaded
loaded punbb config file
Authenticate called
Cookie 'punbb_cookie' was NOT found
You are recognised as Guest
Clicked "Log in" and was redirected to login page at punbb. I logged in and was redirected to the gallery and the same text appeared:
QuoteBridge file has been loaded
loaded punbb config file
Authenticate called
Cookie 'punbb_cookie' was NOT found
You are recognised as Guest
Please post a test login to your forum.
Login: Test1
Password: pass
You need to change the punbb cookie domain to be bulgaricus.com without the www
Do you know, how can I do this?
I think you can modify punbb's config file. If you can't do that you will have to use the gallery with the www as http://www.bulgaricus.com/galeria but you seem to have a redirect on that.
The PunBB config.php looks like that:
Quote<?php
// This is just an example config. The install script will generate a correct
// version of this file when you install PunBB. This file is here merely as a
// backup if the working version is somehow lost or corrupted.
$db_type = 'mysql';
$db_host = 'sql.xxxxx';
$db_name = 'xxxxxx';
$db_username = 'xxxxx';
$db_password = 'xxxxx';
$db_prefix = 'xxxx';
$p_connect = true;
$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$language = 'pl';
define('PUN', 1);
?>
I do not know how to configure the upper file to have www in the cookies :(
Do you have any idea why when I enter http://www.bulgaricus.com/galeria it changes to http:/bulgaricus.com/galeria?
The server sends a '301 Moved permanently' response when I access http://www.bulgaricus.com/galeria so I suspect you have a redirection setup in your .htaccess file.
You could try changing $cookie_domain = ''; to $cookie_domain = 'bulgaricus.com';
Thanks, now it works! :)