the modify is
$dsn = $config->data_sql->type."://". $config->data_sql->host[$i]['user'].":". $config->data_sql->host[$i]['pass']."@". $config->data_sql->host[$i]['host'].
and
$config->data_sql->host[$i]['name'];
and work
On Fri, 18 Feb 2005 20:58:30 -0500, Walter Willis walterwn@gmail.com wrote:
ups the error exist modif the function
// chiclayo peru 02/02/2005 18:15:00 // cambio de funciĆ³n en el archivo iptel/html/functions.php // el cambio lo realice para uqe funcione el archivo // iptel/scripts/cron_job/read_ser_moni.php // //
function connect_to_db(&$errors){ global $config;
$i = 0; $dsn = $config->data_sql->type."://". $config->data_sql->host[$i]['user'].":". $config->data_sql->host[$i]['pass']."@". $config->data_sql->host[$i]['host'].
(empty($config->data_sql->db_port)? "":
":".$config->data_sql->db_port)."/". $config->data_sql->host[$i]['name']; $db = DB::connect($dsn);
if (DB::isError($db)) { log_errors($db, $errors);
return false; }
return $db;
}
he comensadoa ver su proyecto y me interesa mucho, si uds tienen informacion para poder seguir avanzando en las modificacion del serweb. espero su respuesta.
the its work
On Fri, 18 Feb 2005 23:36:23 GMT, Iqbal iqbal@gigo.co.uk wrote:
Hi
I am trying to get serweb showing the server stats, got the cron job running, and send_daily... queries the db fine, however read_ser_moni always shows the following error
error: DB Error: not found
it doesnt even seem to send a query to the DB judging by the mysql logs.
any clues
Iqbal
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers