• Hello.

    We’re having issues on our website in the last few days. Sometimes images are not uploaded properly, sometimes it takes forever and sometimes it doesn’t work at all and there’s the following error – “HTTP error.” and at times it works well (usually with smaller size images).

    We have installed the TinyPNG plugin a few days ago and we’re working with it. So it might have something to do with it? Or perhaps it’s a server/WP issue?

    Thanks a lot for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi ,

    Please try to increase php max_upload_size and max_execution_time.

    Are you willing to edit the .htaccess file root of the wordpress directory ?

    You can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

    (please take a backup before make any changes)

    Regards
    Sumith

    Thread Starter liork12

    (@liork12)

    Thanks a lot for the quick reply sumithsuku11.

    Before we make changes to the root file.

    1. How confident are you that this is the issue? Is this because it says “HTTP error”?

    2. What are the risks in editing this file?

    Thank you!

    Hi ,

    It may be the reason. I can not assure that this might be the issue. Since i am guessing the reason of the issue from your comments mentioned in the thread.

    We can figure it out the exact issue by performing the trouble shooting steps one by one.

    No risks to edit this file , if any issue occurred you can revert it back. Do not overwrite the(.htaccess) file keep a back up and do the changes

    That is why i said take a backup of files and database. ??

    Regards
    Sumith Suku

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors and problems uploading images’ is closed to new replies.