Perl en Español

  1. Home
  2. Tutoriales
  3. Foro
  4. Artículos
  5. Donativos
  6. Publicidad
 

Muestra "Internar Server Error" al intentar ejecut

 
Publicar nuevo tema   Responder al tema    Foros de discusión -> CGI
Mensaje Mar Ago 09, 2005 3:00 pm
Haroldo Zavala
Invitado


Muestra "Internar Server Error" al intentar ejecut Responder citando

#!/usr/bin/perl-w
use CGI;

my $q = new CGI;


# load CGI routines

# create new CGI object

print $q->header;

# create the HTTP header

$q->start_html('hello world');

# start the HTML

$q->h1('hello world');

# level 1 header

$q->end_html;

# end the HTML

--------------------------------

el programa anterior no me funciona y no se porque, me muestra el siguiente error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@yourhost.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

NOTA: Revisé el archivo LOG y este fué el error asociado, sin embargo sigo sin entender

[Tue Aug 09 16:51:55 2005] [error] 2564: ModPerl::Registry: Can't locate object method "FILENO" via package "Apache::RequestRec" at C:/indigoperl/perl/lib/CGI.pm line 709.
Compilation failed in require at C:/indigoperl/apache/perl-bin/cgip.pl line 2.
BEGIN failed--compilation aborted at C:/indigoperl/apache/perl-bin/cgip.pl line 2.



Les agradecería su pronta ayuda, hasta luego y Buenas Tardes!!

Haroldo Zavala
Mensaje Mar Ago 09, 2005 3:36 pm
kidd
Creador de Perl en Español
Creador de Perl en Español
Registrado: 15 Oct 2003
Mensajes: 1389
Ubicación: México
Responder citando

ummm.... Confused parece una mala instalación del módulo CGI.pm, no parece encontrar un módulo que necesita.

Te recomiendo que contactes al soporte de tu hosting y les pongas el mensaje de error.


SALUDOS
Mensaje Vie Sep 30, 2005 6:24 pm
Invitado



Responder citando

donde ves el log? porque los estoy buscando y no los puedo encontrar
Mensaje Vie Sep 30, 2005 6:26 pm
Invitado



Responder citando

ya lo encontre.... Laughing
Publicar nuevo tema   Responder al tema    Foros de discusión -> CGI Todas las horas son GMT - 6 Horas
Página 1 de 1



Powered by phpBB © 2001, 2005 phpBB Group