• Hi,

    when I’m uploading files (through admin->manage->pages->edit->upload) I get the following error:
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2560 bytes) in /home/…/public_html/wp-admin/admin-functions.php on line 2153

    However the file is uploaded correctly and is visible in the “browse” tab.

    I’m using (most probably) PHP 4.4.1.

    Thanks in advance

Viewing 1 replies (of 1 total)
  • I would first try re-uploading admin-functions.php because sometimes PHP files can get corrupted (either in uploading or because of server glitches) and end up in a permanent loop.

    If that doesn’t fix it, it is a problem with the server itself. Ask your host to (or do it yourself if you have the ability) increase the amount of memory available to PHP.

    EDIT: Actually I’m positive the server is running out of alloted memory. You will have to change the value of ‘memory_limit’ in your php.ini or .htaccess file to something larger than 8mb. or you will need to make the image itself smaller.

Viewing 1 replies (of 1 total)
  • The topic ‘Error after uploading a file’ is closed to new replies.