Index: setup/index.php =================================================================== RCS file: /cvsroot/phpgroupware/setup/index.php,v retrieving revision 1.113 diff -r1.113 index.php 82c82 < if ($GLOBALS['phpgw_info']['setup']['stage']['db'] != 1) --- > if($GLOBALS['DEBUG']) 84,90c84 < $setup_info = $GLOBALS['phpgw_setup']->detection->get_versions(); < $setup_info = $GLOBALS['phpgw_setup']->detection->get_db_versions($setup_info); < $GLOBALS['phpgw_info']['setup']['stage']['db'] = $GLOBALS['phpgw_setup']->detection->check_db(); < if($GLOBALS['DEBUG']) < { < _debug_array($setup_info); < } --- > _debug_array($setup_info); 92d85 < 142c135 < if (phpversion() < '3.0.16') --- > if (alessthanb(phpversion(), '4.1.0')) 170a164 > $setup_tpl->set_var('create_database',lang('Create Database')); 424d417 < case 1: Index: phpgwapi/inc/class.db_mysql.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.db_mysql.inc.php,v retrieving revision 1.35 diff -r1.35 class.db_mysql.inc.php 90c90 < $this->Link_ID=mysql_pconnect($Host, $User, $Password); --- > $this->Link_ID=@mysql_pconnect($Host, $User, $Password); 94c94 < $this->Link_ID=mysql_connect($Host, $User, $Password); --- > $this->Link_ID=@mysql_connect($Host, $User, $Password); 98a99,100 > $this->Errno = mysql_errno(); > $this->Error = mysql_error(); 206a209,213 > if ($this->Errno == 0) > { > $this->Errno = 999; > $this->Error = 'Query failed, unknown reason'; > } 208c215 < --- > 542c549,554 < $this->unlock(); /* Just in case there is a table currently locked */ --- > if ($this->Link_ID) > { > $this->unlock(); /* Just in case there is a table currently locked */ > $this->Error = @mysql_error($this->Link_ID); > $this->Errno = @mysql_errno($this->Link_ID); > } 544,545d555 < $this->Error = @mysql_error($this->Link_ID); < $this->Errno = @mysql_errno($this->Link_ID); 580c590,593 < $this->query('SHOW TABLES',__LINE__,__FILE__); --- > if (!$this->query('SHOW TABLES',__LINE__,__FILE__)) > { > return 0; > } Index: phpgwapi/inc/class.setup_detection.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.setup_detection.inc.php,v retrieving revision 1.5 diff -r1.5 class.setup_detection.inc.php 45a46,49 > if (!is_array($tables)) //query failed > { > return $setup_info; > }