Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/08/2010, 12:59
loqtor
 
Fecha de Ingreso: julio-2010
Mensajes: 50
Antigüedad: 13 años, 10 meses
Puntos: 1
Respuesta: Problema con PHP en CentOS

Cita:
Iniciado por pateketrueke Ver Mensaje
el código a simple vista parece correcto, sin embargo no podemos decir que ahí esta la causa de tu problema...

¿acaso no tienes activado el reporte de errores? ¿recibes algún error? ¿y que dice el log de errores?
Gracias por la respuesta pateketrueke.

Este es el error que aparece en el error.log

Cita:
[Mon Aug 23 11:07:25 2010] [error] [client 200.40.169.226] PHP Notice: Undefined variable: xml_content in /var/www/html/include/functions.php on line 229, referer: http://97.74.198.147/contacto.php
[Mon Aug 23 11:07:25 2010] [error] [client 200.40.169.226] PHP Warning: fopen(banner.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /var/www/html/include/functions_aux.php on line 143, referer: http://97.74.198.147/contacto.php
[Mon Aug 23 11:07:25 2010] [error] [client 200.40.169.226] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/html/include/functions_aux.php on line 144, referer: http://97.74.198.147/contacto.php

Saludos!