Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/06/2007, 12:09
Avatar de rogertm
rogertm
Mod->Cuba
 
Fecha de Ingreso: julio-2005
Ubicación: /home/Cuba/Habana/rogertm/
Mensajes: 2.922
Antigüedad: 18 años, 9 meses
Puntos: 638
Re: wampserver no muestra errores y tengo que reiniciar el servicio

bueno, el php_error.log me da los errores que deberian aparecer en la pantalla, por ejemplo, he probocado un error que normalmente deberia aparecer:
Código PHP:
<?php
    
if($row_doc_recibidos['carpeta_ID'] == $row_mostrar_carpeta['carpeta_ID']){
        echo 
$row_mostrar_carpeta['carpeta'];
?>
como ves, no he cerrado la llave que deberia estar al final, despues del ";"
el error se muestra en el log de php, pero de todas maneras tengo que reiniciar apache y eso no pasaba antes
aqui dejo las ultimas linias de cada log, a ver si me puedes ayudar(como siempre)

php_error.log:
Código:
[28-Jun-2007 12:44:59] PHP Parse error:  syntax error, unexpected '}', expecting ',' or ';' in D:\WAMP_SERVER\wamp\www\regent\modulos\doc_recibidos.php on line 44

[28-Jun-2007 12:48:45] PHP Parse error:  syntax error, unexpected '}', expecting ',' or ';' in D:\WAMP_SERVER\wamp\www\regent\modulos\doc_recibidos.php on line 44

[28-Jun-2007 12:58:01] PHP Parse error:  syntax error, unexpected '}', expecting ',' or ';' in D:\WAMP_SERVER\wamp\www\regent\modulos\doc_recibidos.php on line 44

[28-Jun-2007 13:54:11] PHP Parse error:  syntax error, unexpected $end in D:\WAMP_SERVER\wamp\www\regent\modulos\doc_recibidos.php on line 66

[28-Jun-2007 13:57:49] PHP Parse error:  syntax error, unexpected $end in D:\WAMP_SERVER\wamp\www\regent\modulos\doc_recibidos.php on line 66
aqui se muestra el ultimo error, lo de la llave no cerrada, muy bien

apache_error.log
Código:
[Thu Jun 28 14:05:45 2007] [notice] Child 3272: Child process is exiting
Error in my_thread_global_end(): 1 threads didn't exit
[Thu Jun 28 14:05:51 2007] [notice] Parent: Child process exited successfully.
[Thu Jun 28 14:05:53 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Thu Jun 28 14:05:53 2007] [notice] Server built: Jan  9 2007 23:17:20
[Thu Jun 28 14:05:53 2007] [notice] Parent: Created child process 2160
[Thu Jun 28 14:05:54 2007] [notice] Child 2160: Child process is running
[Thu Jun 28 14:05:54 2007] [notice] Child 2160: Acquired the start mutex.
[Thu Jun 28 14:05:54 2007] [notice] Child 2160: Starting 250 worker threads.
[Thu Jun 28 14:05:54 2007] [notice] Child 2160: Starting thread to listen on port 80.
este es el de apache, despues de haber corregido el error, y reiniciado

any way, gracias GatorV por la ayuda
__________________
Friki y Blogger por Cuenta Propia:213
Twenty'em: Theming is Prose