Hi,
I've taken over an existing site running adva_cms 0.2.4. I'm running into a bug with uploading files through the FCKEditor. Here's the error I'm receiving:
Processing StaticController#dispatch (for 127.0.0.1 at 2012-04-18 12:22:44) [POST]
Parameters: {"NewFile"=>#<File:/var/folders/4k/qh2vcsnd77n8skp7kppk5_yh0000gn/T/RackMultipart20120418-84192-a92x1p-0>, "path"=>["javascripts", "adva_fckeditor", "fckeditor", "editor", "filemanager", "connectors", "php", "upload.php"]}
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
haml (2.2.24) lib/sass/plugin/rails.rb:20:in `process_without_compass'
compass (0.8.17) lib/compass/app_integration/rails/action_controller.rb:7:in `process'
thin (1.3.1) lib/thin/connection.rb:80:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in `catch'
thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
thin (1.3.1) lib/thin/connection.rb:53:in `process'
thin (1.3.1) lib/thin/connection.rb:38:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.3.1) lib/thin/backends/base.rb:61:in `start'
thin (1.3.1) lib/thin/server.rb:159:in `start'
Rendered rescues/_trace (180.8ms)
Rendered rescues/_request_and_response (2.9ms)
Rendering rescues/layout (unprocessable_entity)
In order to reproduce this, I:
1. Go to a page on the website using adva-cms as an administrator
2. Edit the page by clicking on the "Edit" icon
3. Selecting a link in the edit page of the admin section
4. Click on the "Upload" tab in the dialog box that pops up
5. Click the "Choose Upload" button and select a file
6. Click on "Send it to the server"
The progress bar shows up and that error above appears in the log files.
I'm running Rails 2.3.4 (yes, an upgrade is underway) and Ruby 1.8.7. What could be the source of this error? Thanks,