centurion-project / Centurion

Centurion is an open-source CMS delivered as a flexible PHP5 Content Management Framework
http://www.centurion-project.org
197 stars 51 forks source link

404 on MultiFile upload #25

Open aurmil opened 12 years ago

aurmil commented 12 years ago

I inserted a MultiFile element in a form when uploading a file, I get "Upload Error: 404" in SWFUpload init params, there is: upload_url: "/media/upload", but /media/upload does not route to /media/upload/upload, it tries to access /media/upload/index route is defined in \library\Centurion\Contrib\media\configs\module.ini I do not see the trick...

aurmil commented 12 years ago

leaving the following line in routes.ini:

``ìni resources.router.routes.default.type = "Centurion_Controller_Router_Route_Module"


leads to:

Exception Zend_Controller_Action_Exception Action "index" does not exist and was not trapped in __call() sent in .../library/Zend/Controller/Action.php at line 485 

removing this line: it's ok

edit: of course, many things are broken, doing it :p