el error q te esta dando es como si no tuvieses definidos ciertos parametros en 
su configuracion... 
dentro del directorio sqstat hay un archivo llamado config.inc.php.defaults ... 
este archivo tienes q cambiarle el nombre y dejarlo como config.inc.php .. 
luego lo abres.. y dentro de el.. defines lo parametros de configuracion de 
sqstat.. como la direccion del cache manager... el puerto.. etc etc.. ya 
hiciste esto? 
Si es asi.. por favor.. revisa que este archivo tenga los suficientes permisos 
para ser leído por el usuario www. 



De: "Jose Joaquin Ruiz Silva" <joaq...@fag.reduim.cu> 
Para: "gutl-l" <gutl-l@listas.jovenclub.cu> 
Enviados: Viernes, 22 de Febrero 2019 15:56:52 
Asunto: [Gutl-l] Re: Consumo proxy web 



buenas amigos estoy en las misma probando el sqstat tengo la version 1.20 en 
debian 9 con php7 y squid 3.5 

y me sale este error 


errno=4; $squidclass->errstr="Error in the configuration file.". 'Please, 
specify $squidhost['.$config.']/$squidport['.$config.']'; 
$squidclass->showError(); exit(4); } for($i=0;$ierrno=4; 
$squidclass->errstr="Error in the configuration file. 
". '"group_by" can be only "username" or "host"'; $squidclass->showError(); 
exit(4); } } else{ $squidclass->errno=4; $squidclass->errstr="Configuration 
file not found.". "Please copy file config.inc.php.defauts to config.inc.php 
and edit configuration settings."; $squidclass->showError(); exit(4); } // 
loading hosts file $hosts_array=array(); if(isset($hosts_file)){ 
if(is_file($hosts_file)){ $handle = @fopen($hosts_file, "r"); if ($handle) { 
while (!feof($handle)) { $buffer = fgets($handle, 4096); unset($matches); 
if(preg_match('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})[ 
\t]+(.+)$/i',$buffer,$matches)){ $hosts_array[$matches[1]]=$matches[2]; } } 
fclose($handle); } else { $squidclass->errno=4; $squidclass->errstr="Hosts file 
not found.". "Cant read '$hosts_file' ."; $squidclass->showError(); exit(4); } 
} else { $squidclass->errno=4; $squidclass->errstr="Hosts file not found.". 
"Cant read '$hosts_file' ."; $squidclass->showError(); exit(4); } } 
if(!$squidclass->connect($squidhost,$squidport)) { $squidclass->showError(); 
exit(1); } $data=$squidclass->makeQuery($cachemgr_passwd); if($data==false){ 
$squidclass->showError(); exit(2); } // print_r($data); if(!isset($use_js)) 
$use_js=true; echo 
$squidclass->makeHtmlReport($data,$resolveip,$hosts_array,$use_js); ?> 

ya le cambie el fichero y nada. 



El 22/2/2019 a las 15:40, Leonardo Yanes Batista escribió: 



aqui esta para todo el q lo necesite...

----- Mensaje original -----
De: "Jose Joaquin Ruiz Silva" [ mailto:joaq...@fag.reduim.cu | 
<joaq...@fag.reduim.cu> ] Para: "gutl-l" [ mailto:gutl-l@listas.jovenclub.cu | 
<gutl-l@listas.jovenclub.cu> ] Enviados: Viernes, 22 de Febrero 2019 15:34:16
Asunto: [Gutl-l] Re: Consumo proxy web

intento entrar a la pagina del parche y no me carga alguien puede enviermelo

El 22/2/2019 a las 15:36, Leonardo Yanes Batista escribió: 

BQ_BEGIN

en mi caso.. como utilizo SquidGuard para realizar los filtros de contenido.. 
SI.. tuve q hacerle algunas excepciones al Squid... tambien tuve q subirle un 
supuesto parche que lanzaron.. para que pueda trabajar con las nuevas versiones 
de SquidCache. Nada del otro mundo.. sobre-escribir el archivo sqstat.class.php 
con el supuesto parche.. y listo.

----- Mensaje original -----
De: "Alberto José García Fumero" [ mailto:albe...@ettpartagas.co.cu | 
<albe...@ettpartagas.co.cu> ] Para: "gutl-l" [ 
mailto:gutl-l@listas.jovenclub.cu | <gutl-l@listas.jovenclub.cu> ] Enviados: 
Viernes, 22 de Febrero 2019 15:31:28
Asunto: [Gutl-l] Re: Consumo proxy web

El vie, 22-02-2019 a las 15:28 -0500, Leonardo Yanes Batista escribió: 

BQ_BEGIN

...mmm yo lo tengo funcionando con:
Squid Cache: Version 3.5.23
Debian: Debian 9.5 



¿Tuviste que hacerle algo especial? 

BQ_END

_______________________________________________
Gutl-l mailing list -- [ mailto:gutl-l@listas.jovenclub.cu | 
gutl-l@listas.jovenclub.cu ] To unsubscribe send an email to [ 
mailto:gutl-l-le...@listas.jovenclub.cu | gutl-l-le...@listas.jovenclub.cu ] 

_______________________________________________
Gutl-l mailing list -- [ mailto:gutl-l@listas.jovenclub.cu | 
gutl-l@listas.jovenclub.cu ] To unsubscribe send an email to [ 
mailto:gutl-l-le...@listas.jovenclub.cu | gutl-l-le...@listas.jovenclub.cu ] 

BQ_END

_______________________________________________ 
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu 
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu 

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a