file uploads problem
Reported by jjb | 2009-01-13 13:41:35 UTC
using file upload feature in the cms fckeditor/editor/filemanager/browser/default/browser.html?Connector=/fckeditor/command
trying up upload file get an error box:
Error on file upload Error number:110
The system does create folders OK.
Comments and changes to this ticket
-

James Cook 2009-01-13 20:16:22 UTC
I'm able to duplicate this bug. For one, line 211 in the fckeditor_controller calls "request.relative_url_root". This method is gone/deprecated. We should use ActionController::Base.relative_url_root.
With that tweaked, I still get an error in the current_directory_path method. Dir.mkdir(...) fails. Says /public/uploads/Images doesn't exist, which is true. Changing that line to use FileUtils.mkdir_p doesn't help, as I then receive an unpleasant error about duping FixNum.
-

James Cook 2009-01-13 20:25:43 UTC
also jjb, create a "upload" folder under "public" in your rails root. Could be the issue.
-

knewter (at gmail) 2009-02-15 21:08:30 UTC
- State changed from new to open
- Assigned user set to knewter (at gmail)
I'm still not able to duplicate this bug. The fckeditor plugin has been updated recently, and no longer has the request.relative_url_root call at least. Can you still recreate this James?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Project for ansuz: Open source Rails-based content management that works.