-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't send images to server #10
Comments
Hey Emily,
I have not used this extension in over 3 years. It used to work like a
charm but some of the components (such as ckeditor) might have changed
their interfaces and thus rendered the extension incompatible. The fix is
probably trivial once the API change has been found. Unfortunately I won't
be able to help you there.
Hopefully someone will be able to help,
Good luck
On Sat, Mar 25, 2017 at 11:26 PM Emily Warman <[email protected]> wrote:
Hey Michael,
I can't upload images to the server using CKEditor. I've tried two ways.
The first way is Image Properties>Image Info>Browse Server. When I click
the Upload button, the file appears but the progress wheel spins
indefinitely. When I exit and browse again, the file doesn't appear.
[image: screen shot 2017-03-25 at 11 12 33 pm]
<https://cloud.githubusercontent.com/assets/9858370/24328164/b64e382c-11b0-11e7-96bd-2a55121a2609.png>
The second way is Image Properties>Upload. When I upload a file and click
"Send it to the Server", I see the error below:
[image: screen shot 2017-03-25 at 11 12 52 pm]
<https://cloud.githubusercontent.com/assets/9858370/24328163/b42b1998-11b0-11e7-8304-e57165a134df.png>
Here's a copy of my rails server output when I try to upload an image:
Started POST "/ckeditor/pictures?CKEditor=post_content&CKEditorFuncNum=1&langCode=en"
for ::1 at 2017-03-25 23:12:49 -0400
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"upload"=>#<ActionDispatch::Http::UploadedFile:0x007fe4c18e4150
@tempfile=#<Tempfile:/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/RackMultipart20170325-30154-1ec3e17.JPG>,
@original_filename="IMG_4014.JPG", @content_type="image/jpeg",
@headers="Content-Disposition: form-data; name=\"upload\";
filename=\"IMG_4014.JPG\"\r\nContent-Type: image/jpeg\r\n">,
"ckCsrfToken"=>"c4ce897nWt04M9etRC8nEtDTdYYhwhbx35TU9R3C",
"CKEditor"=>"post_content", "CKEditorFuncNum"=>"1", "langCode"=>"en"}
Monologue::User Load (0.3ms) SELECT "monologue_users".* FROM
"monologue_users" WHERE "monologue_users"."id" = $1 LIMIT $2 [["id",
1], ["LIMIT", 1]]
Command :: identify -format '%wx%h,%[exif:orientation]'
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
2>/dev/null
Command :: identify -format %m
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
Command :: convert
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
-auto-orient -resize "800>"
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade20170325-30154-1hrktrb'
Command :: file -b --mime
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade20170325-30154-1hrktrb'
Command :: identify -format '%wx%h,%[exif:orientation]'
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
2>/dev/null
Command :: identify -format %m
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
Command :: convert
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade.JPG[0]'
-auto-orient -resize "118x" -crop "118x100+0+28" +repage
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade20170325-30154-1cvyvn'
Command :: file -b --mime
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-n8ade20170325-30154-1cvyvn'
(0.2ms) BEGIN
Command :: file -b --mime
'/var/folders/lq/xp1mhyxx2fsgxflzhkvjhnx0fzpr6k/T/665e16de948b4482d60a7fc13b64221b20170325-30154-14gp149.JPG'
(0.2ms) ROLLBACK
DEPRECATION WARNING: `render :text` is deprecated because it does not
actually render a `text/plain` response. Switch to `render plain:
'plain text'` to render as `text/plain`, `render html:
'<strong>HTML</strong>'` to render as `text/html`, or `render body:
'raw'` to match the deprecated behavior and render with the default
Content-Type, which is `text/html`. (called from call at
/Users/ewarman/.rvm/gems/ruby-2.3.0@global/gems/rack-2.0.1/lib/rack/etag.rb:25)
Rendering text template
Rendered text template (0.0ms)
Completed 200 OK in 459ms (Views: 0.7ms | ActiveRecord: 0.7ms)
Any thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA_jVdFbc3NvmlHSYMVO3DJNG3KqsUdxks5rpdrUgaJpZM4MpTXY>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Michael,
I can't upload images to the server using CKEditor. I've tried two ways. The first way is Image Properties>Image Info>Browse Server. When I click the Upload button, the file appears but the progress wheel spins indefinitely. When I exit and browse again, the file doesn't appear. Here's a screenshot of the upload window:
The second way is Image Properties>Upload. When I upload a file and click "Send it to the Server", I see the error below:
Here's a copy of my rails server output when I try to upload an image:
Any thoughts?
The text was updated successfully, but these errors were encountered: