When I upload files using the "add an item" option, the item displays with an icon to download the file. When you click to download the file the browser displays an error. When you browse to the files directory, the file is not there. I *have* set all of my options in the "System Params." I have also tried chmod -R 666 files and chmod -R 777 files and even chmod -R 7777 files. Nothing helps. Please let me know how I can get the file uploading thing to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just noticed that when I go to download the files, the path that it thinks the file is at is the same path that it was on before I uploaded it. In other words, if I attempt to upload my c:\windows\lmhosts file, then I'll go to download it and the link will point to
It appears that the same problem happening on 4.0b too. First I started to get complaint from my team member exactly like rtobyr but then noticed that some file do upload and show the right path but error when downloading.
Workaround: Increase Upload Quote in User Profile to a high number.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-07-23
Toby,
The problem exists in your Apache configuration. Check your httpd.conf file for the line "PerlSendHeader = On" Remark this out if you do not have another application on your server which needs it. Restart the Apache server. The problem should then be corrected.
PerlSendHeader directive
Description: Tell mod_perl to parse and send HTTP headers
Syntax: PerlSendHeader On|Off (FLAG)
PerlSyntax: $PerlSendHeader = 'On' || 'Off'
Context: Allowed in *.conf anywhere and in .htaccess
Override: Any other than None
Status: Extension
Module: mod_perl
majic
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I upload files using the "add an item" option, the item displays with an icon to download the file. When you click to download the file the browser displays an error. When you browse to the files directory, the file is not there. I *have* set all of my options in the "System Params." I have also tried chmod -R 666 files and chmod -R 777 files and even chmod -R 7777 files. Nothing helps. Please let me know how I can get the file uploading thing to work.
I just noticed that when I go to download the files, the path that it thinks the file is at is the same path that it was on before I uploaded it. In other words, if I attempt to upload my c:\windows\lmhosts file, then I'll go to download it and the link will point to
www.hostname.com/files/<random number>/c:/windows/lmhosts
It seems that it isn't uploading the file at all, but rather just the path of the file...
All right seems to be a bug here. Could you give us the browser information (name and version).
Thanks.
Daniel
It appears that the same problem happening on 4.0b too. First I started to get complaint from my team member exactly like rtobyr but then noticed that some file do upload and show the right path but error when downloading.
Workaround: Increase Upload Quote in User Profile to a high number.
Toby,
The problem exists in your Apache configuration. Check your httpd.conf file for the line "PerlSendHeader = On" Remark this out if you do not have another application on your server which needs it. Restart the Apache server. The problem should then be corrected.
PerlSendHeader directive
Description: Tell mod_perl to parse and send HTTP headers
Syntax: PerlSendHeader On|Off (FLAG)
PerlSyntax: $PerlSendHeader = 'On' || 'Off'
Context: Allowed in *.conf anywhere and in .htaccess
Override: Any other than None
Status: Extension
Module: mod_perl
majic