coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: anunaki on April 07, 2006, 05:40:41 PM

Title: problem while install 1.3.2
Post by: anunaki on April 07, 2006, 05:40:41 PM
look what  message displayed to me the script:   

Notice: Undefined index: debug_mode in /users/perfect/public_html/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query


here is that line:

88.           return $result;
   89.   }
   90.   
   91.   // Error message if a query failed
   92.   function db_error($the_error)
   93.   {
   94.           global $CONFIG;
   95.   
   96.           if (!$CONFIG['debug_mode']) {
   97.               cpg_die(CRITICAL_ERROR, 'There was an error while processing a database query', __FILE__, __LINE__);
   98.           } else {
   99.   
   100.                   $the_error .= "\n\nmySQL error: ".mysql_error()."\n";
   101.   
   102.                   $out = "<br />There was an error while processing a database query.<br /><br/>
   103.                       <form name='mysql'><textarea rows=\"8\" cols=\"60\">".htmlspecialchars($the_error)."</textarea></form>";
   104.   
   105.               cpg_die(CRITICAL_ERROR, $out, __FILE__, __LINE__);
Title: Re: problem while install 1.3.2
Post by: Nibbler on April 07, 2006, 06:13:01 PM
Don't install 1.3.2, install 1.4.4