fatal error immediatly after instal fatal error immediatly after instal
 

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 immediatly after instal

Started by GTWillemsen, November 14, 2006, 01:57:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GTWillemsen

 ??? After installation I get the message: Coppermine is now properly configured and ready to roll.

Then there is one button to click, "let's continue".
But when I click this, an error is the result... no error message other then;
Fatal error :

The page where the link goes to is "index.php"
I tried "/admin.php" and "/login.php?" aswell, but all came back with the same result: the fatal error.

The config file has changed by installation and now says:
define('IN_COPPERMINE', true);
require('include/init.inc.php');
if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);


$redirect = "admin.php";
$message = <<< EOT
You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
You are now being redirected to the actual page you were looking for.
EOT;
pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"100;url=$redirect\" />");
msg_box($lang_info, $message, $lang_continue, $redirect);
pagefooter();
ob_end_flush();
?>


Anyone any idea?
(it's a fresh / clean install; linux, apache 2.0, php 4.4.2, coppermine 1.4.10)


GTWillemsen


GTWillemsen

Ok, just as a note for future use, before I'll proceed after following the tutorial, which let's you turn on the debug mode, the following error was returned;
While executing query "delete from `dbname`.prefix_cpg1410_sessions where time<1163507416 and remember=0;" on Resource id #6

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 '.prefix_cpg1410_sessions where time<1163507416 and remember=0'


Now I'll can continue the search to solution.

GTWillemsen

Ok, since the timestamp requested keeps changing, filling in this data mannually in the DB doesn't help me any further.

A search on this forum on the error, gave me the following result:
http://forum.coppermine-gallery.net/index.php?topic=32705.0

Since it seems I have the same problem, I had a prefix starting with a number.
Where can I change teh prefix, (in the db I already changed it)?

I do not want to affect the core files as suggested (for future updates etc).


GTWillemsen

solved, so the suggested solution (http://forum.coppermine-gallery.net/index.php?topic=32705.0)
should avoid these problems (I think), 'til then, I've changed the prefix.

I hope this can be fixed.