Getting http 500 error on media upload

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Posts: 2
Joined: Thu Jan 24, 2019 10:01 am

Getting http 500 error on media upload

Post by Stefan-486534 » Thu Jan 24, 2019 10:37 am

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 - - [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 - "[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"

User avatar
Posts: 116
Joined: Mon Feb 16, 2015 2:20 am

Re: Getting http 500 error on media upload

Post by erAck » Thu Jan 24, 2019 1:44 pm

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.

Post Reply