Fatal Error Fatal Error
 

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

Fatal Error

Started by gotvenm, November 23, 2003, 11:58:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gotvenm

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.

Joachim Müller

probably yes. Switch on debug_mode to see what actually happens.

GauGau

gotvenm

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.

Joachim Müller

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