Foros del Web » Programando para Internet » PHP »

PHP Modular + JPGraph

Estas en el tema de PHP Modular + JPGraph en el foro de PHP en Foros del Web. Bueno Saludos a todos y problema es el siguiente: He desarrollado un php modular.. donde tengo el index.php que llama a funciones.php, header.php, menu.php, [contenido], ...
  #1 (permalink)  
Antiguo 28/05/2008, 11:24
 
Fecha de Ingreso: abril-2008
Mensajes: 4
Antigüedad: 16 años
Puntos: 0
PHP Modular + JPGraph

Bueno Saludos a todos y problema es el siguiente:

He desarrollado un php modular.. donde tengo el index.php que llama a funciones.php, header.php, menu.php, [contenido], footer.php...
la cuestion esta que he instalado el jpgraph todo perfecto... ejecuto los ejemplos y maravilloso... pero al tratar de montar un ejemplo de esos.. sobre mi php modular me genera error o simplemente no muestra nada.... por supuesto que lo hago en la seccion [contenido].. que va a depender del menu que se selecciona en el index.php.. que podria ser... realmente no tengo ni idea
  #2 (permalink)  
Antiguo 28/05/2008, 11:35
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Respuesta: PHP Modular + JPGraph

Hola rronald205.

¿Que error te genera?

Saludos.
  #3 (permalink)  
Antiguo 31/05/2008, 14:18
 
Fecha de Ingreso: abril-2008
Mensajes: 4
Antigüedad: 16 años
Puntos: 0
Respuesta: PHP Modular + JPGraph

este es el error que me genera:

Chosen locale file ("'.$file.'") for error messages does not exist or is not readable for the PHP process. Please make sure that the file exists and that the file permissions are such that the PHP process is allowed to read this file.
  #4 (permalink)  
Antiguo 31/05/2008, 14:19
 
Fecha de Ingreso: abril-2008
Mensajes: 4
Antigüedad: 16 años
Puntos: 0
Respuesta: PHP Modular + JPGraph

posteriormente me genero esto

JpGraph Error: HTTP headers have already been sent.
Caused by output from file menulat.php at line 89.
Explanation:
HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it's image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).

Most likely you have some text in your script before the call to Graph::Stroke(). If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser.

For example it is a common mistake to leave a blank line before the opening "<?php".
  #5 (permalink)  
Antiguo 26/09/2008, 08:45
 
Fecha de Ingreso: agosto-2008
Ubicación: Valparaiso, Chile
Mensajes: 4
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: PHP Modular + JPGraph

Los errores que te muestra te lo dicen todo hombre
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:33.