#34 open
jjb

file uploads problem

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

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

    James Cook January 13th, 2009 @ 08:16 PM

    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

    James Cook January 13th, 2009 @ 08:25 PM

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

  • knewter (at gmail)

    knewter (at gmail) February 15th, 2009 @ 09:08 PM

    • 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.

New-ticket Create new ticket

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.

People watching this ticket

Tags

Pages