• I get a Fatal Error when I try to upload an image to the media library. I received this error before with another wordpress account. The fix as I remember was disabling the flash uploading, but I for some reason cannot find any setting to disable it.

    Does anyone know where I can go to get this fixed?

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Have you tried:
    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    Thread Starter bjeffries

    (@bjeffries)

    Fatal Error with all plugin deactivated and default theme. Not to mention now, the footer went missing when I deactivated all plugins. This is weird.

    The home page is the only page that works fine, the home page is also the only page that doesn’t run the loop.

    So I am gonna copy over the loop from a similar site that doesnt have any issues.

    Moderator keesiemeijer

    (@keesiemeijer)

    try:
    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress by using FTP or whatever file management application your host provides.

    Thread Starter bjeffries

    (@bjeffries)

    I think it might be an issue with the core files within wordpress because the loop didnt solve anything. Can I copy over the wordpress core files without messing up the site any further?

    Thread Starter bjeffries

    (@bjeffries)

    Ok so I uploaded all those files and I am not getting anything new.
    Here is the exact error.

    Fatal error: Out of memory (allocated 32243712) (tried to allocate 8192 bytes) in /homepages/27/d201595905/htdocs/wp/wp-includes/media.php on line 254

    The images that I am trying, are no larger than 1mb.

    Moderator keesiemeijer

    (@keesiemeijer)

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)

    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    4. Talk to your host.

    http://wordpress.org/support/topic/fatal-error-out-of-memory-messages?replies=6

    Thread Starter bjeffries

    (@bjeffries)

    I guess I am going to have to their host. I added a php.ini with:

    memory_limit = 128M; Maximum amount of memory a script may consume (64MB)
    max_execution_time = 45;
    upload_max_filesize = 10M;
    post_max_size = 20M;

    and it worked via phpifo();

    so I am not sure what will fix this. They are using 1and1 so I will give them a call.

    But.. not that I think of it, their other site also with 1and1 but on a different hosting plan does not have issues with thumbnails. So I am not sure if anything is different.

    Thanks again.

    Thread Starter bjeffries

    (@bjeffries)

    now, after I added the php.ini the only page that works on the site is the home page. everything is not found.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal error on image upload’ is closed to new replies.