Support » Plugins and Hacks » [Resolved] Upload error

[Resolved] Upload error

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Artem Livshits


    Could you provide the error message that you’ve got when uploading the file?

    Thank you!

    On the page “wp-admin/media-new.php”
    It stucked in Crunching… step.

    Using the media uploader on the page “wp-admin/post-new.php”
    I got this error:

    Error 4.jpg
    An error occurred in the upload. Please try again later.

    Thank you for your very fast response.

    Plugin Author Artem Livshits



    I’ve just created a subdomain-based multisite on Google Cloud Storage. I used vanilla WordPress 3.5 with the Twenty Twelve theme, network-activated WP2Cloud. I was able to create subsites and upload images with no problems; all thumbnails were generated and uploaded to the Google Cloud Storage, etc.

    Could you send an email to support at oblaksoft dot com so that someone could look into your install?

    Should I check for read/write permission for any file/folder?

    In Addition, I used a subfolder-based multisite.
    There was an error caused from path issue for the uploaded image too.
    The image was called from http://www.domain.com/sub/http://domain.com/sub/……..jpg
    I modified the script to fix this issue, and it works. But the thumbnails-creation issue remains.

    Thank you very much for your help and suggestion.

    Plugin Author Artem Livshits


    I’ve tried subfolder-based multisite on Google Cloud Storage and it worked fine (vanilla WordPress 3.5, Twenty Tweleve theme, network-activated WP2Cloud).

    Checking the webserver’s error log may shed some light on what’s going on. If you’re using an Amazon Linux-based AMI (like the one provided by OblakSoft), the following command will print the end of the error log: sudo tail /var/log/httpd/error_log.

    Another troubleshooting step is to set WP_DEBUG to true in wp-config.php: replace define('WP_DEBUG', false); with define('WP_DEBUG', true);.

    Plugin Author Artem Livshits


    During investigation of a different issue we noticed that the working configuration has define('WP_CONTENT_URL', '/wp-content'); in wp-config.php. Could you try defining WP_CONTENT_URL in wp-config.php and see if it works?

    Plugin Author Artem Livshits


    We’ve just released WP2Cloud 1.3.2 that doesn’t require setting WP_CONTENT_URL and works well with the default WordPress settings.

    I tried to freshly install wordpress and the plugin, but it’s not work and got the same problem. I think it’s a server configuration issue. What settings should I check?

    Thank you

    Plugin Author Artem Livshits


    How does a broken image’s URL look like?

    The image was uploaded, but the thumbnail wasn’t created. On the page where uses the thumbnail, the full-size image was used instead. The image was showed with wrong size.

    Thank you.

    Plugin Author Artem Livshits


    The symptoms look like you don’t have php-gd installed. If you’re using Debian/Ubuntu, run sudo apt-get install php5-gd, if you’re using RHEL/CentOS run sudo yum install php-gd. Then restart Apache sudo /etc/init.d/httpd restart.

    Thenk you very much I will try .

    I got this error

    [admin@ns1 ~]$ sudo yum install php-gd
    Loaded plugins: fastestmirror
    Determining fastest mirrors
    epel/metalink | 17 kB 00:00
    * base: mirror.siamdata.co.th
    * epel: mirrors.ustc.edu.cn
    * extras: mirror.siamdata.co.th
    * updates: mirror.siamdata.co.th
    base | 3.7 kB 00:00
    epel | 4.3 kB 00:00
    epel/primary_db | 5.0 MB 05:32
    extras | 3.5 kB 00:00
    updates | 3.5 kB 00:00
    updates/primary_db | 4.6 MB 00:00
    Setting up Install Process
    No package php-gd available.
    Error: Nothing to do

    So I use the php script <?php phpinfo(); ?> and got this :

    GD Support enabled
    GD Version bundled (2.0.34 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    FreeType Version 2.4.8
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Resolved] Upload error’ is closed to new replies.