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 helpme, April 26, 2005, 01:47:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

helpme

 this is wat im getting

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


<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['http://www.dj2big.com'];
} else {
  $cpg_host=$_SERVER['http://www.dj2big.com'];
}
$cpg_path='/pics';
header("Location: http://www.dj2big.com/pics".$cpg_host.$cpg_path);
exit;
?>

did i do this right?

donnoman

if that was supposed to be your index.php in your root, and you want users to automatically be forwarded to the gallery then the following should be sufficient.


<?php
header
("Location: http://www.dj2big.com/pics");
exit;
?>



But it looks like you've got issues with coppermine.

you should be able to go to : http://www.dj2big.com/pics/index.php and get the main category page. http://www.dj2big.com/pics/update.php works so it appears you have a decent config.inc.php setup.

I would suspect not all of your files got uploaded properly, or if you've made some mods they aren't applied properly.

Nibbler

Only change 1 line:

$cpg_path='/pics';

Put everything else back as it was.

Also - that is not the cause of the error message. That file handles redirection only.

helpme

I have tried everything i dont know what i did wrong in the intergration. I tested coppermind to the fullest when i first installed it everything worked perfect even after i did the upgrade. since i have tried to intergrate it now i cant even look at it. I wish these instructions would contain examples becuase i have a feeling it is something i typed in that little piece thats causing the problems.