• Hi

    I’m not sure when this changed but for a while now I cannot successfully upload most media files onto my WordPress sites. I have two sites. One is self installed and one is a managed service. Both worked previously.

    I have tried both Chrome and Safari using my MacBook Pro which has a beta of Sonama 14.4. I do wonder if it’s the beta but no-one else has reported an issue. NB I do not have any issue with using my iPhone on the same wifi or using my MacBook if I use my iPhone hotspot so using 4G.

    I can upload a small 21k photo but not anything larger. I get the following errors uploading to the managed service. The support guys there have checked things such as file permissions and upload folders.

    00 – 20.jpeg

    The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2,560 pixels.

    Javascript console

    [Error] Failed to load resource: The network connection was lost. (async-upload.php, line 0)

    I can upload files to my own installed WP site on a website I get from the same hosting company as the managed WP BUT the files are corrupted not fully uploaded.

    I have flushed my browser caches.

    Any ides>

Viewing 1 replies (of 1 total)
  • Hi @olcinm

    Here are some steps you can take to troubleshoot and resolve the issue:

    1. Check Image Size: As the error message suggests, try uploading a smaller image. The suggested maximum size is 2,560 pixels. Reduce the dimensions or file size of the image and try uploading again.
    2. Network Connection: The error message “The network connection was lost” indicates a potential network issue. Ensure that your internet connection is stable and not experiencing interruptions. Try uploading the image again after verifying your network connection.
    3. Server Resources: If the server is busy or experiencing resource limitations, it may struggle to process large files. Check the server’s resource usage (CPU, memory, disk space) and ensure that it has enough resources available to handle image uploads. You may need to optimize server settings or upgrade your hosting plan if resource constraints are causing issues.
    4. Server Configuration: Review the server configuration, including PHP settings (such as upload_max_filesize, post_max_size, memory_limit) and any server-side upload limitations. Ensure that these settings are configured to accommodate the size of the image you’re trying to upload.
    5. Error Logs: Check the server error logs for any additional information or error messages related to the image upload process. The logs may provide insights into the underlying cause of the issue.
    6. Browser Compatibility: Ensure that you’re using a supported web browser and that it’s up to date. Sometimes, browser compatibility issues can affect file uploads.
    7. Temporary Glitch: Occasionally, the error may be temporary or transient. Try uploading the image again after waiting for some time to see if the issue resolves itself
Viewing 1 replies (of 1 total)
  • The topic ‘Media upload fail in Safari and Chrome’ is closed to new replies.