I've this error:
Notice: Undefined index: 0 in /public_html/index.php on line 70
Notice: Only variable references should be returned by reference in /public_html/include/adodb/adodb-connection.inc.php on line 568
Fatal error: Call to a member function getrows() on a non-object in /public_html/index.php on line 75
Line 70:
STemplate::assign('u_info', $u_info['0']);
$rs->movefirst();
$sql = "SELECT * FROM package WHERE pack_id = " .$rs->fields['pack_id'];
$rs = $conn->execute($sql);
$pack = $rs->getrows();
STemplate::assign('pack', $pack['0']);
line 568:
return false;
} else if ($this->_queryID === true) {
// return simplified empty recordset for inserts/updates/deletes with lower overhead
$rs = new ADORecordSet_empty();
return $rs;
}