Index: class.ux_t3lib_db.php =================================================================== --- class.ux_t3lib_db.php (revision 2449) +++ class.ux_t3lib_db.php (working copy) @@ -1093,7 +1093,17 @@ break; case 'adodb': $rs = $this->handlerInstance[$this->lastHandlerKey]->SelectLimit('SELECT * FROM '.$this->quoteFromTables($table),1); - $str = $rs->MetaType($type, $max_length); + if (is_object($rs)) { + $str = $rs->MetaType($type, $max_length); + } else { + // TODO ct 2007-10-09 ignore mapped tables and add entry in DBAL-error log (status = info) + // Find handler configuration: + $cfgArray = $this->handlerCfg[$this->lastHandlerKey]; + $handlerType = (string)$cfgArray['type']; + + $this->debug_log('SELECT * FROM '.$this->quoteFromTables($table), time(), $table, 0, 1, 'class.ux_t3lib_db.php'); + t3lib_div::sysLog('Could not get MetaType fromDB server using ADOdb on '.$cfgArray['config']['host'].' with user '.$cfgArray['config']['username'].'.', 'Core', 1); + } break; case 'userdefined': $str = $this->handlerInstance[$this->lastHandlerKey]->MetaType($str,$table,$max_length);