| Error when download file attach in forum |
| Author | Text |
nguyenkinh Junior Member

Posts: 12

Gender:  Online: No |
Date: 12/09/2008 15:33 Error when download file attach in forum | #post11906 | 
I use Memht 3.8.5 to build my website www.ytecongcong.com, it really a wonderful CMS System
And now i meet a error, i think cause by my config...It's here:
http://www.ytecongcong.com/pages/forum/attachment.php?id=437
It said that
Error 500: Server Configuration Error!
i do not know how to fix this.
Please help my Mem Edited: 12/09/2008 15:35 |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 4616

Gender:  Online: Yes |
Date: 12/09/2008 18:53 Re: Error when download file attach in forum | #post11910 | Unfortunately only you can see which is the error in your server logs |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 12/09/2008 19:58 Re: Error when download file attach in forum | #post11912 | Chances are you don't have attachments enabled, or the directory which you setup doesn't have the proper permissions to allow the attachment. The folder needs a permission of 755. |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 4616

Gender:  Online: Yes |
Date: 12/09/2008 21:35 Re: Error when download file attach in forum | #post11915 | It's a server error (Error 500)... the script is ok |
|
 |
| |
nguyenkinh Junior Member

Posts: 12

Gender:  Online: No |
Date: 13/09/2008 11:22 Re: Error when download file attach in forum | #post11927 | I had change permissions of attachment folder to 755 but it can not help...If it's server error so ...what must i do to get it funtion, any tips for my situation? |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 4616

Gender:  Online: Yes |
Date: 13/09/2008 11:36 Re: Error when download file attach in forum | #post11931 | As i said you should check your server log, it usually explains a lot of things |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 14/09/2008 11:20 Re: Error when download file attach in forum | #post11955 | Today I was making a testing server on my second computer running Ubuntu. I had this issue and I fixed it by changing the perms of my home dir to 755, after that attachments, modrewrite worked without issue. This might be difficult for you as your web hosting provider might have a different setup try asking them. Error 500 is a server error and not caused by memht. I would check the error.log file if this can't be viewed then email your provider for this access. If you need any help diagnosing this issue please send me a email at chris at officialunix dot com and I will explain what needs to be done after I diagnose the issue.
Some providers offer decent support and will do anything to make the customer happy, others are a pain in the behind to fix things and will ignore you if it needs any system changes, also sometimes disable all security feature like suhosin, suexec, hardened php modifications as these require extra work to get some things working right, also mod_security will give you these weird errors also. All this can be done using a modified .htaccess file to disable these functions, and suexec can be disabled in the control panel on some providers.
When I had my web hosting company I disabled this as it did more harm than good to newbies who just wanted a web space to host a site and not care much about exploits, sql injects etc.. Edited: 14/09/2008 11:25 |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 4616

Gender:  Online: Yes |
Date: 14/09/2008 11:31 Re: Error when download file attach in forum | #post11956 | The only way a script can cause error 500 is a loop, but that file has never shown a problem (and there aren't loops in the script), so MemHT cannot be responsible |
|
 |
| |