Mar Ago 09, 2005 3:00 pm
|
|
|
| Muestra "Internar Server Error" al intentar ejecut |
|
|
#!/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 |
|
|
|

Mar Ago 09, 2005 3:36 pm
|
 |
kidd
Creador de Perl en Español

|
Registrado: 15 Oct 2003
Mensajes: 1389
Ubicación: México
|
|
|
|
|
ummm.... 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 |
|
Vie Sep 30, 2005 6:24 pm
|
|
|
|
|
|
| donde ves el log? porque los estoy buscando y no los puedo encontrar |
|
Vie Sep 30, 2005 6:26 pm
|
|
|
|
|
|
ya lo encontre....  |
|
Powered by phpBB © 2001, 2005 phpBB Group
|