Change Coppermine cookie domain? Change Coppermine cookie domain?
 

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

Main Menu

Change Coppermine cookie domain?

Started by edpgc, September 06, 2004, 02:59:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

edpgc

I'm trying to get my board and coppermine to integrate.  However its failing, i checked my cookies and phpBB 2.0.10 is creating cookies with the domain .mydomain.co.uk , while coppermine is creating them without the leading dot.  Now I can't work out how to either set coppermine with the leading dot or remove it from phpBB, since in the control panel (phpBB) I don't actually have a leading dot.

So basically how can I add this leading dot to Coppermines cookie domain.

Cheers

Ed

edpgc

I think I managed to sort the cookie domain problem, by leaving the setting blank in phpBB2, causing ti to default without the leading dot.  However it hasn't helped and I still get this when I navigate to the gallery.

Fatal error :

There was an error while processing a database query.

While executing query "SELECT user_id, username as user_name, user_level FROM `phpbb`.phpbb_sessions INNER JOIN `phpbb`.phpbb_users ON session_user_id = use
r_id WHERE session_id='2fb8ee3f9a373f5298745c9def3e1e53' AND session_user_id ='2' AND user_active='1'" on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'use
r_id WHERE session_id='2fb8ee3f9a373f5298745c9def3e1e53' AN


This is with 1.3.2, phpBB 2.0.10, and Mac OS (10.2.8) running the latest version of php 4 and mysql.

edpgc

Man!  Managed to track down the problem I was using a crappy text editor which was destroying the formatting of the php files in subtle ways.  What a waste of time!

Cheers all