[Resolved] Upload error
Using WP 3.5 and wp-multi site, Clouse can be installed properly, all other plugins were disable. When uploading an image , I got an error message for uploading, but after checking I found that the image was uploaded to the Google Cloud Storage without any thumbnail.
Could you provide the error message that you’ve got when uploading the file?
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:
An error occurred in the upload. Please try again later.
Thank you for your very fast response.
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.
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
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?
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?
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.
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.
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
- The topic ‘[Resolved] Upload error’ is closed to new replies.