• namnam

    (@namnam)


    When I try to publish a new entry, and I upload a photo, the following message appears:
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 13056 bytes) in /usr/home/nam-nam.es/web/n/wp-admin/includes/image.php on line 162

    Does anybody know what can I do about it?

    Thank you very much in advance!

    x

Viewing 1 replies (of 1 total)
  • Samuel B

    (@samboll)

    1. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');
    
    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error when uploading images’ is closed to new replies.