• Resolved dannyonessy

    (@dannyonessy)


    Hi,

    I have set up my WordPress, got a theme etc. Website is running fine.

    My issue is; when uploading images to the media library, the larger images fail to upload and present a red “http error”.

    I have increased my PhP settings so the max waited time is 400 seconds, my file size limit is 128mb (my largest image is 4mb).

    I am a little stumped about what to do. The images almost certainly fail before the 6.6 minute mark (400 seconds) but it’s hard to tell as the loading bar fills within a minute, then stays full until it loads the http error. Unless I click off the image and back onto it, where the individual bar is 1/3 full but the overall bar is still full. The individual bar does not move at all, ever, after this.

    Many thanks for any help provided.

    Dan

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Did you modify both post_max_size and upload_max_filesize value … we need to increase both to make that work. Please check the increase in time and size using echo phpinfo(); to verify if it is increased properly.

    Thread Starter dannyonessy

    (@dannyonessy)

    Hi Sakar,

    My Domain host modified them first (there was an issue on their end) up to those values & then I have increased them further at their recommendation when I contacted them – to no avail.

    Forgive me, I am not very familiar with website maintenance, having moved from Moonfruit, and particularly not with cPanel in general.

    How would I use echo phpinfo(); to verify it has worked?

    Update: I have increased the max execution time to 1200 seconds and still got the http error with a larger image (but smaller images are still fine).

    If you know little PHP in the php file like index.php add the code echo phpinfo(); exit(); which will make you able to check if the file size has been increased or not by finding the value like post_max_size and upload_max_filesize. Only increasing the time is not enough you need to increase post_max_size and upload_max_filesize to upload larger image ??

    Thread Starter dannyonessy

    (@dannyonessy)

    Hi Sakar!

    Many thanks for your help.

    I have increased my post_max_size and upload_max_size settings in cPanel. Here is a link on Imgur of my settings:

    A 4MB picture has been uploaded successfully but the error has occurred again with a 4.4MB picture.

    My apologies as I am not familiar enough with PhP to attempt index.php > echo phpinfo(); exit();

    Kind regards

    Dan

    According to this setting everything should be correct.

    Though you increase in the cpanel it may not be increased in script you have been running .. please contact your host support for asking them the check if settings are being used by the php script or not.

    Thread Starter dannyonessy

    (@dannyonessy)

    Hi Sakar,

    I upped the limits to the maximum values and apparently now…. everything is working fine!!
    Perhaps it was my internet connection at work? I’m not sure. Whatever it is, the problem appears to have resolved itself.

    Thank you for your help Sakar, it is appreciated.

    Also – you have such a fascinating name I couldn’t help Googling it – your website looks great ?? Really cool that you’re doing all of this.

    Kind regards

    Dan

    Thank you Dan. Please resolve the issue from the left sidebar which helps the volunteers like me to help others who need it ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Large Pictures not Uploading’ is closed to new replies.