Help, I can't upload image.

Post Reply
skyw18
Jr. Bludit
Posts: 4
Joined: Wed Jul 22, 2020 6:24 pm

I have download the latest bludit v3.13.0 and setup follow the Installation guide.

It works well, I can edit and post articles, but when I try to upload a image, It has something wrong.

First I click the image button at right top corner , then press the browse button to choose a image at the modal windows, that's ok for now.

When I pick the image and click "open", the blue progress bar will come increase to 100% but nothing happend, the modal window freezing....no image upload.



My system is CentOS 7.6.1810 , php 7.3.20 and Apache 2.4.43 on a Http website.

Wait for your help, thanks!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

What format has the image? What size?

Have you installed Bludit using FTP?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
skyw18
Jr. Bludit
Posts: 4
Joined: Wed Jul 22, 2020 6:24 pm

Edi wrote: Wed Jul 22, 2020 6:54 pm What format has the image? What size?

Have you installed Bludit using FTP?
I tried every format -- jpg, png, gif -- less than 2m.

I installed Bludit from my Centos server, wget bludit-3-13-0.zip and unzip it, mv the folder to html directory, chmod -R 777 bl-content and so on.
skyw18
Jr. Bludit
Posts: 4
Joined: Wed Jul 22, 2020 6:24 pm

Edi wrote: Wed Jul 22, 2020 6:54 pm What format has the image? What size?

Have you installed Bludit using FTP?
Serveral day ago I had installed WordPress into another folder on my server, I can upload image on it.

When I try to upload image on bludit via firefox , the error log is:
500 Internal Server Error
the request header is(x.x.x.x is my ip):
Accept
*/*
Accept-Encoding
gzip, deflate
Accept-Language
zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Connection
keep-alive
Content-Length
23692
Content-Type
multipart/form-data; boundary=---------------------------41351997433673241042564550592
Cookie
BLUDITREMEMBERUSERNAME=admin; BLUDITREMEMBERTOKEN=dcc6de32a8cfc92edff45270b8e5ef87; BLUDIT-KEY=13qucgq9jtn729jjk9025o596a
Host
x.x.x.x
Origin
http://x.x.x.x
Referer
http://x.x.x.x/bludit/admin/edit-conten ... wn-content
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
X-Requested-With
XMLHttpRequest
the response header is:
Cache-Control
no-store, no-cache, must-revalidate
Connection
close
Content-Length
0
Content-Type
application/json
Date
Thu, 23 Jul 2020 07:58:36 GMT
Expires
Thu, 19 Nov 1981 08:52:00 GMT
Pragma
no-cache
Server
Apache/2.4.43 (Unix) PHP/7.3.20
X-Powered-By
PHP/7.3.20

When I try upload image on Wordpress, it's reply is :
201 Created
and the request header is:
Accept
application/json, */*;q=0.1
Accept-Encoding
gzip, deflate
Accept-Language
zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Connection
keep-alive
Content-Length
30697
Content-Type
multipart/form-data; boundary=---------------------------17129707603876271043528911846
Cookie
wordpress_logged_in_3a817397f095dfa5032bdf3864e08e=root%7C1596597831%7CS0OuzLfTVJFth5bofGhka4IIHUHWVTZqx3SCzNxa9i%77d7c30089ab2934320a345b70b9d2b256bcc0d01a491a95a979f3e097d3d794; wp-settings-time-1=1595490180; wordpress_test_cookie=WP+Cookie+check; BLUDIT-KEY=13qucgq9jtn739jj9025o596a
Host
x.x.x.x
Origin
http://x.x.x.x
Referer
http://x.x.x.x/blog/wp-admin/post.php?p ... ction=edit
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
X-WP-Nonce
394aa1aac2
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Is there an entry in the error log of the server?

Can you please try Bludit v. 3.12.0:

https://github.com/bludit/bludit/releases/tag/3.12.0
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
skyw18
Jr. Bludit
Posts: 4
Joined: Wed Jul 22, 2020 6:24 pm

Edi wrote: Thu Jul 23, 2020 11:40 am Is there an entry in the error log of the server?

Can you please try Bludit v. 3.12.0:

https://github.com/bludit/bludit/releases/tag/3.12.0
I installed bludit 3.12.0, It works!

I can upload image now.

Thank you a lot! :D
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Seems to be a bug in Bludit v.3.13.0. :(
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply