Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

file uploads problem

#34

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.

Reported by jjb · January 13th, 2009 @ 01:41 PM

State: open
Milestone: none
Assigned to: knewter (at gmail) knewter (at gmail)

Activity

  1. James Cook
    James Cook

    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.

    January 13th, 2009 @ 08:16 PM

  2. James Cook
    James Cook

    also jjb, create a "upload" folder under "public" in your rails root. Could be the issue.

    January 13th, 2009 @ 08:25 PM

  3. knewter (at gmail)
    knewter (at gmail)
    • 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?

    February 15th, 2009 @ 09:08 PM

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.