• Hi,

    I have a problem with my WP Multisite. My stable version so far is: 5.5.3 (downgraded from 5.6). With version 5.6 and later, I can’t download images properly and this is for all my websites under WP. In fact, when I try to upload an image, the upload goes to the correct folder (wp-content/blogs.dir/xxx) and I get the following message (the image post-processing probably failed because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.)

    The problem is that I can’t find the image in the media library. After some research I found that there were no entries for the image in the WP database (nothing in the posts or postmeta tables).

    So, my question is why importing an image cannot insert the image data into the database tables? I have to mention that I have almost increased every value in the php.ini

    Any help would be very appreciated.

    • This topic was modified 3 years, 10 months ago by James Huff. Reason: moved to Networking WordPress since this is a Multisite issue
Viewing 3 replies - 1 through 3 (of 3 total)
  • Try editing your php.ini file or php options, depending on how your hosting is setup, to increase the maximum execution time and maximum input time to a much higher limit.

    Also, try uploading the images one at a time.

    You may not host with us, which is fine, but we have a KB on how to do this here: https://chemicloud.com/kb/article/how-to-increase-the-max_execution_time-limit-in-cpanel/ ??

    If you are using PHP 7.4, then the only thing to do is Add From Server Plugin. That might help you

    Thread Starter med1903

    (@med1903)

    Hi,

    I’m using php 7.4.19
    max_execution_time = 600
    max_input_time = 300
    memory_limit = 2048M

    I upload just one image at a time and for the Add From Server Plugin I have use it temporay beause it offers limited support and features may be removed at any time and it is because of this that I ended up doing a downgrade to have a stable version.

    In the event log of my server, I got the following one:
    Aborted connection 1413 to db: ‘WP’ user: ‘WPUser’ host: ‘localhost’ (Got an error reading communication packets).
    So still don’t know why WP can’t write to the posts or postmeta tables.

    Thank you all for your suggestions and help. Very appreciated

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error trying to upload images’ is closed to new replies.