[Serusers] read_ser_moni

Walter Willis walterwn at gmail.com
Sat Feb 19 02:58:30 CET 2005


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 at 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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list