forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: satsilem on April 19, 2007, 05:11:14 pm
-
Hello to everybody.
I use Coppermine Photo Gallery 1.3.2
and I moved from my old server (Apache, MySQL 4.1, PHP4)
to a new one (Apache, MySQL 4.1.1.4, PHP4)
and every time I try to select an album I have this error
Notice: Undefined index: debug_mode in ..../httpdocs/gallery/include/functions.inc.php on line 96
Fatal error :There was an error while processing a database query
These lines ( functions.inc.php on line 96) are:
function db_error($the_error)
{
global $CONFIG;
if (!$CONFIG['debug_mode']) {
cpg_die(CRITICAL_ERROR, 'There was an error while processing a database query', __FILE__, __LINE__);
} else {
$the_error .= "\n\nmySQL error: ".mysql_error()."\n";
$out = "<br />There was an error while processing a database query.<br /><br/>
<form name='mysql'><textarea rows=\"8\" cols=\"60\">".htmlspecialchars($the_error)."</textarea></form>";
cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
}
}
Can anybody point where should I look in order to solve this problem.
Thanks in advance for your help
-
1.3 is no longer supported. Update your gallery.
-
Thanks for the reply, where do I have to start in order to upgrade to a newer version?
-
Start by reading the documentation.