• Hello

    I’m uploading a small image (12,4 KB) and after 3 seconds, I get this message:
    Fatal error: Maximum execution time of 60 seconds exceeded in….

    I have no idea what to do. I saw many topics about this issue, but everyone was trying to upload a big file.

    Please, help me!

Viewing 1 replies (of 1 total)
  • hey there

    If this is a development/staging/import only site and the core WordPress files won’t be used on the live site, then you can think about adding a hack to that file to get the import working.

    As the timeout is happening at wp-includes\class-http.php on line 950 then og in and add a line above it that is like this:

    set_time_limit (300);

    That sets the time out limit at 300 seconds. You can experiment with this to see what will work, and as a last resort that I wouldn’t recommend you can set it to 0 to have no time out.

    LikeI said at the start, only do this on a private site that you are contorlling. This isn’t something that you want to have on a live system.

    [Unnecessary link moderated – Please don’t spam]

Viewing 1 replies (of 1 total)
  • The topic ‘Can't upload image. Fatal error.’ is closed to new replies.