-1

I have had a site that has been working perfectly for the past few months. Then all of a sudden when I go to upload an image via the Media Manager on the Admin Dashboard I get a 500: Internal Server Error.

I don't understand what might be causing this. I checked my server error logs and there is nothing in their that relates to this error. I noticed that I can upload small files but just not large ones and by large I'm only talking between (3 - 5 Mb).

I've tried a few different things but they have not worked.

  • Deactivated my theme - no change
  • Deactivated my plugins - no change
  • made change to htaccess file - no change

I added this to my htaccess as I read it could be a security issue, but it did not work.

<IfModule mod_security.c> <Files async-upload.php> SecFilterEngine Off SecFilterScanPOST Off </Files> </IfModule> 

I also added this to my wp-config file:

DEFINE('WP_MEMORY', '64M') but that made no difference either.

Any help would be appreciated.

1
  • Does this happen on a vanilla WordPress install on the same server? I saw you said you disabled your theme and plugins, but some make changes and don't undo them on deactivation. Commented Nov 21, 2014 at 18:46

2 Answers 2

0
  1. after change your memory limit , open your web page in some other browser or delete all your history and cache values in your browsr,,,,
4
  • That didn't work Commented Nov 21, 2014 at 12:17
  • Change your Memory limit as : define('WP_MEMORY_LIMIT', '296M'); , and check after delete your past browser history,,, Commented Nov 21, 2014 at 12:28
  • Unfortunately, that also did not work Commented Nov 21, 2014 at 12:32
  • 2
    Please read this how to answer Commented Nov 21, 2014 at 13:43
0

I think php version is issue , Add following code to .htaccess and then try to upload :

AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.