Page 1 of 1

Getting http 500 error on media upload

Posted: Thu Jan 24, 2019 9:37 am
by Stefan-486534
Hi,
to start with... I may have messed up my installation by moving all files from a sub folder to the root. Since I could not manage to configure the sub folder as root on my hoster.

I update all the path and url stuff in the config and it looks like all things I used so far are working except I get an error 500 page when uploading to the media library.

But the upload works, I can add the uploaded files to an Entry.
So I guess the folder permissions are okish.

I would be really happy about all hints how to debug/fix it....

The access.log says this

Code: Select all

193.141.61.0 - - [24/Jan/2019:09:33:57 +0100] "POST /serendipity_admin.php?serendipity[adminModule]=media&serendipity[sortorder][perpage]=&serendipity[sortorder][order]=&serendipity[sortorder][ordermode]= HTTP/1.1" 500 - "http://www.XXXXXYYY.de/serendipity_admin.php?serendipity[adminModule]=media&serendipity[adminAction]=addSelect" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"

Re: Getting http 500 error on media upload

Posted: Thu Jan 24, 2019 12:44 pm
by erAck
Status code 500 is Internal Server Error and can be about anything for which no other code is used. Make sure the uploads/ directory exists, is writable for the user the web server is running under, and does not match some weird .htaccess RewriteCond resulting in a RewriteRule that makes the server bail out. Also check the web server's error_log, not just the access_log.