coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: GTWillemsen on November 14, 2006, 01:57:34 PM

Title: fatal error immediatly after instal
Post by: GTWillemsen on November 14, 2006, 01:57:34 PM
 ??? 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)
Title: Re: fatal error immediatly after instal
Post by: Nibbler on November 14, 2006, 02:15:40 PM
http://coppermine-gallery.net/tutorial/debug_mode.php
Title: Re: fatal error immediatly after instal
Post by: GTWillemsen on November 14, 2006, 02:19:50 PM
thnx, i'll give it a try.
Title: Re: fatal error immediatly after instal
Post by: GTWillemsen on November 14, 2006, 02:34:38 PM
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.
Title: Re: fatal error immediatly after instal
Post by: GTWillemsen on November 14, 2006, 03:01:18 PM
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 (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).

Title: Re: fatal error immediatly after instal
Post by: GTWillemsen on November 14, 2006, 03:18:11 PM
solved, so the suggested solution (http://forum.coppermine-gallery.net/index.php?topic=32705.0 (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.