Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] How to log what's going on in a tt2 script

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Nicolas Courtel <address@concealed>
  • To: Olivier Salaün - CRU <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] How to log what's going on in a tt2 script
  • Date: Tue, 14 Mar 2006 20:25:54 +0100

It's in fact a file transfer problem, and we have figured out today that it's related to a misuse of the https protocol. For some reason that we still need to discover, it seems that wwsympa fails to call back itself with the 'uploaded_file' parameter in https. It works fine with http, though.

So we need to properly configure the https part of our apache server, but this is outside the scope of this list.

--
NIcolas

Olivier Salaün - CRU a écrit :

Nicolas,

Sympa is using the standard HTML "file" input type to collect the uploaded file. The file is then transmitted by the web browser to the web server. Sympa then uses a standard CGI library to access the file.

I suspect that your problem is either due to a web browser problem (which one are you using ?) or that the file has some strange name or it is too big, causing some problems to transfer.

Nicolas Courtel wrote:

On a brand new Sympa 5.1.2 server installed on Debian Sarge, uploading a file in a shared folder generally does not work; the result of the upload may be one of these:
- sometimes works fine
- sometimes, the file is created but remains empty
- most of the time, it does not show up, and I get the error "No file specified to upload"

I believe that this problem is most probably not related to Sympa, but to some external cause that I need to discover. I therefore need to find out what happens between the time when I enter the file name in the browser, and the call to function do_d_upload in wwsympa.fcgi, where the 'uploaded_file' parameter is an empty string (the 'path' parameter is always fine, though).

Could someone tell me how I can see what's going on during that time?







Archive powered by MHonArc 2.6.19+.

Top of Page