[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:38:23 -0300


This is a multi-part message in MIME format.
--------------090504090301010405020000
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Sorry. I forgot to report a detail: I commented the following line in 
the /etc/httpd/conf/loncapa_apache.conf file:
 Include conf/loncapa_apache_local*.conf
The httpd server didn't start with this line.
I don't know if this change that I did can cause my error in the 
construction space.
Ricardo.


Ricardo Luis Kulzer wrote:

> 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.
>
>
>

--------------090504090301010405020000
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">
Sorry. I forgot to report a detail: I commented the following line in
the /etc/httpd/conf/loncapa_apache.conf file:<br>
<b>&nbsp;<i>Include conf/loncapa_apache_local*.conf</i></b><br>
The httpd server didn't start with this line.<br>
I don't know if this change that I did can cause my error in the
construction space.<br>
Ricardo.<br>
<br>
<br>
Ricardo Luis Kulzer wrote:<br>
<blockquote type="cite" cite="mid3F92ADF0.7010102@decom.fee.unicamp.br">
  <meta http-equiv="Content-Type" content="text/html;">
  <title></title>
I tested the new feature of the construction space - upload and of&nbsp;
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 &nbsp;&nbsp;&nbsp; &nbsp;<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
&amp;Apache::lonconstruct::handler called.</i></td>
      </tr>
    </tbody>
  </table>
  <br>
I changed the line 126 of&nbsp;&nbsp;
"/home/httpd/lib/perl/Apache/lonconstruct.pm". The original text was <br>
  <i>&nbsp; &nbsp;
$lowerframe='<a class="moz-txt-link-freetext" href="http://$ENV%7B">http://$ENV{</a>'SERVER_NAME'}/cgi-bin/decompress.pl?decompress';</i><br>
and I changed it to:<br>
  <i>&nbsp; &nbsp; $lowerframe='/cgi-bin/decompress.pl?decompress';</i><br>
  <br>
After restart the services (/etc/init.d/loncontrol restart&nbsp; and&nbsp;
/etc/init.d/httpd restart), I did't get that form reporting the error,&nbsp;
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>
</blockquote>
</body>
</html>

--------------090504090301010405020000--