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.
probably yes. Switch on debug_mode to see what actually happens.
GauGau
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("Location: http://".$_SERVER['HTTP_HOST'].$cpg_path);
exit;
?>
what goes in place of the http:// :?: or rather after :?:
thx.
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