coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: gotvenm on November 23, 2003, 11:58:37 PM

Title: Fatal Error
Post by: gotvenm on November 23, 2003, 11:58:37 PM
Recently had to completely reinstall entire gallery and forums due to hacker intrusion.

Was using coppermine 110 and phpbb 204, but have now upgraded to 120 and 206.

I have been trying to get them to work together so my users dont have to have separate accounts like before. Both work great separately, but when I change use them together modifying the phpbb.inc.php and the init.inc.php I get this error:

Fatal error :
There was an error while processing a database query


I have both pieces of software running out of seprate db's. I know that the instructions say to run them in the same db, is this my problem ?

Any Ideas ?

Thanks.
Title: Fatal Error
Post by: Joachim Müller on November 24, 2003, 08:44:42 AM
probably yes. Switch on debug_mode to see what actually happens.

GauGau
Title: Fatal Error
Post by: gotvenm on November 24, 2003, 09:31:34 AM
forgot all about debug mode. lol.

it showed me that the gallery db user didnt have access to the phpbb db.
once i fixed that it works w/ the fix from EZ of course.

the only weird thing is if a user logs out from the gallery it redirects to somewhere that doesnt exist.


http://www.domain.com/http://www.domain.com/login.php?logout=true?redirect=cpg_redir.php


 :arrow: could be i didnt do something correctly.


<?php 
$cpg_path
='/gallery'
header&#40;"Location&#58; http&#58;//".$_SERVER['HTTP_HOST'&#93;.$cpg_path&#41;; 
exit; 
?>



what goes in place of the http://  :?: or rather after  :?:

thx.
Title: Fatal Error
Post by: Joachim Müller on November 24, 2003, 11:05:50 PM
check your phpinfo() to see what $_SERVER['HTTP_HOST'] actually returns and modify the link accordingly, or use another env var that works better.

GauGau