View Full Version : Upload File(s) For Attachments: Failure


gmilhem
10-12-2005, 03:50 PM
Going to the Upload File(s) For Attachments - I browse to the file to upload, fill in the "Save as file name", and click save - Then the upload file function is giving me this error message:

Configuration Error
--------------------------------------------------------------------------
The CGI environment at the time of this error was

I double checked - the permission is 755 on upload.cgi

Any Clues on how to get it working?

Thanks.

Jafo
10-12-2005, 04:04 PM
That is the complete error?

gmilhem
10-12-2005, 06:42 PM
Yes (well you know the rest) - It is from the server; error500;
(see it here: http://stone.he.net/cgi-bin/error500)

Thanks.

Jafo
10-13-2005, 07:23 PM
How large is this file?

gmilhem
10-13-2005, 10:36 PM
14kb... .html
Is there a size limit?
Please consider all the possible causes you can so I can address this quickly. I would like to start putting it to use this week end.

FY!: I purchased the entire WebMaster Kit some time ago.

Thanks for your help!

Jafo
10-13-2005, 10:38 PM
Can you view your servers error log right after you produce this error? It would probably give us a better error message.

gmilhem
10-14-2005, 10:41 AM
Here is the Error Log:

nsaccess@stone:/home$tail /usr/local/apache/logs/error_log
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbf, with no preceding start byte) in transliteration (tr///) at upload.cgi line 195., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbe, with no preceding start byte) in transliteration (tr///) at upload.cgi line 195., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0x9b, with no preceding start byte) in transliteration (tr///) at upload.cgi line 195., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (byte 0xfe) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0x83, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbf, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbf, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbf, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0xbe, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload
[Fri Oct 14 06:34:42 2005] [error] [client 69.106.225.218] Malformed UTF-8 character (unexpected continuation byte 0x9b, with no preceding start byte) in transliteration (tr///) at upload.cgi line 196., referer: http://www.newsongnetwork.com/cgi-bin/list/list.cgi?upload

gmilhem
10-14-2005, 10:43 AM
Sorry - There was one other item.... don't know if this is relative:

File does not exist: /home/nsaccess/public_html/_vti_bin

gmilhem
10-14-2005, 10:49 AM
Just in case the script has changed over time - here is what is at line 196 and 197 as referred to in the error log:

193 sub rot13{
194 my $source = shift (@_);
195 $source =~ tr /[a-m][n-z]/[n-z][a-m]/;
196 $source =~ tr /[A-M][N-Z]/[N-Z][A-M]/;
197 $source = reverse($source);
198 return $source;
199 }

Jafo
10-14-2005, 11:38 AM
Hmmm, sounds like upload.cgi might have been corrupted upon the upload. You should try to re-upload it in ASCII mode.

If that does not work, I could take a look at it but would need the FTP information. Please send the information to us via our contact form.