problem while install 1.3.2 problem while install 1.3.2
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

problem while install 1.3.2

Started by anunaki, April 07, 2006, 05:40:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

anunaki

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__);

Nibbler

Don't install 1.3.2, install 1.4.4