SID-00538: Attaching files get 500 Error - Internal Server Error
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
5.008008 (linux) |
| Category: |
CategoryAttachments |
Server OS: |
Linux 2.6.9-42.0.3.elsmp |
Last update: |
16 years ago |
Everytime I try to attach a files it give me a 500 Error - Internal Server Error. Site has been functioning for over 3 months with no issues. What could it be? I can upoad with FTP without issue. It is across all webs....
--
RobertMurchison - 2009-09-21
Discussion and Answer
500 errors should have some details in the web server log (Apache, presumably?). Anything there?
--
SeanCMorgan - 2009-09-22
This is what the log shows
POST /bin/upload/IBInternal/WebHome HTTP/1.1" 500 1538 "https://intelligentbuildingswiki.com/bin/attach/IBInternal/WebHome" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)"
--
RobertMurchison - 2009-09-22
I turned on error logging...what do you make of this?
Tue Sep 22 10:19:56 2009] view: Use of uninitialized value in string eq at /hsphere/local/home/c110083/intelligentbuildingswiki.com/wiki/lib/TWiki/Users/TWikiUserMapping.pm line 471.
CGI open of tmpfile: Permission denied
[Tue Sep 22 10:20:16 2009] [error] [client 75.103.1.84] Premature end of script headers: /hsphere/local/home/c110083/intelligentbuildingswiki.com/bin/upload
Use of uninitialized value in string eq at /hsphere/local/home/c110083/intelligentbuildingswiki.com/wiki/lib/TWiki/Users/TWikiUserMapping.pm line 471.
CGI open of tmpfile: Permission denied
[Tue Sep 22 10:20:29 2009] [error] [client 75.103.1.84] Premature end of script headers: /hsphere/local/home/c110083/intelligentbuildingswiki.com/bin/upload
--
RobertMurchison - 2009-09-22
> open of tmpfile: Permission denied
Does the apache process have permission to the temp directory? (at the path specified with the configure variable, {WorkingDir}.
--
SeanCMorgan - 2009-09-23
It is set to 777. Is that what you mean?
--
RobertMurchison - 2009-09-23
Check where
{WorkingDir} points to, such as
/var/www/twiki/working, and make sure that directory and all sub-dirs and files are owned by your webserver user.
--
PeterThoeny - 2009-09-28
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-11-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.