[LON-CAPA-dev] Problem with new /home/httpd/cgi-bin/decompress.pl?
Ricardo Luis Kulzer
lon-capa-dev@mail.lon-capa.org
Sun, 19 Oct 2003 12:29:52 -0300
This is a multi-part message in MIME format.
--------------000703000704030906030801
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I tested the new feature of the construction space - upload and of
compressed files and decompress, for mass uploading. But I get some erros.
When I enter as author user, and call my construction space, I get a
form reporting the error, like this:
Could Not Process Request
Somewhere something went wrong - please help us to find out what.
Please take a moment to fill out the form below. Your information,
together with internal debugging information, will be emailed to the
system and server administrators.
...
The server reports at /etc/httpd/logs/error_log the following:
[Sun Oct 19 12:03:24 2003] [error] Bad name after SERVER_NAME' at
/home/httpd/lib/perl/Apache/lonconstruct.pm line 126.
Compilation failed in require at (eval 33) line 3.
[Sun Oct 19 12:03:24 2003] [error] Undefined subroutine
&Apache::lonconstruct::handler called.
I changed the line 126 of
"/home/httpd/lib/perl/Apache/lonconstruct.pm". The original text was
$lowerframe='http://$ENV{'SERVER_NAME'}/cgi-bin/decompress.pl?decompress';
and I changed it to:
$lowerframe='/cgi-bin/decompress.pl?decompress';
After restart the services (/etc/init.d/loncontrol restart and
/etc/init.d/httpd restart), I did't get that form reporting the error,
and the construction space runs ok.
I tried to upload a "TEST.zip" file. After the upload, appears a new
option (Decompress
<http://lyra.mc21.fee.unicamp.br/priv/author/APOSTILA_win2000-Server.zip?decompress=1>)
to "TEST.zip" file in the construction space. But when I click in the
(Decompress
<http://lyra.mc21.fee.unicamp.br/priv/author/APOSTILA_win2000-Server.zip?decompress=1>)
option, nothing happens. And nothing appears in the
/etc/httpd/logs/error_log file.
--------------000703000704030906030801
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I tested the new feature of the construction space - upload and of
compressed files and decompress, for mass uploading. But I get some
erros.<br>
<br>
When I enter as author user, and call my construction space, I get a
form reporting the error, like this:<br>
<table cellpadding="2" cellspacing="2" border="1" width="100%">
<tbody>
<tr>
<td valign="top"><i>Could Not Process Request <br>
Somewhere something went wrong - please help us to find out what.<br>
Please take a moment to fill out the form below. Your information,
together with internal debugging information, will be emailed to the
system and server administrators.<br>
...</i></td>
</tr>
</tbody>
</table>
<br>
The server reports at /etc/httpd/logs/error_log the following:<br>
<table cellpadding="2" cellspacing="2" border="1" width="100%">
<tbody>
<tr>
<td valign="top"><i>[Sun Oct 19 12:03:24 2003] [error] Bad name
after SERVER_NAME' at /home/httpd/lib/perl/Apache/lonconstruct.pm line
126.<br>
Compilation failed in require at (eval 33) line 3.<br>
[Sun Oct 19 12:03:24 2003] [error] Undefined subroutine
&Apache::lonconstruct::handler called.</i></td>
</tr>
</tbody>
</table>
<br>
I changed the line 126 of
"/home/httpd/lib/perl/Apache/lonconstruct.pm". The original text was <br>
<i>
$lowerframe='<a class="moz-txt-link-freetext" href="http://$ENV{">http://$ENV{</a>'SERVER_NAME'}/cgi-bin/decompress.pl?decompress';</i><br>
and I changed it to:<br>
<i> $lowerframe='/cgi-bin/decompress.pl?decompress';</i><br>
<br>
After restart the services (/etc/init.d/loncontrol restart and
/etc/init.d/httpd restart), I did't get that form reporting the error,
and the construction space runs ok.<br>
<br>
I tried to upload a "TEST.zip" file. After the upload, appears a new
option (<a
href="http://lyra.mc21.fee.unicamp.br/priv/author/APOSTILA_win2000-Server.zip?decompress=1"
target="_top">Decompress</a>) to "TEST.zip" file in the construction
space. But when I click in the (<a
href="http://lyra.mc21.fee.unicamp.br/priv/author/APOSTILA_win2000-Server.zip?decompress=1"
target="_top">Decompress</a>) option, nothing happens. And nothing
appears in the /etc/httpd/logs/error_log file.<br>
<br>
<br>
<br>
</body>
</html>
--------------000703000704030906030801--