Tuesday, November 26, 2013

Re: Strange error within a controller action

I'm assuming that the URL that is being called is supposed to find a real file, provided by the filemanager.

What URL is actually being called by the browser?  My guess is, it looks something like admin/filemanager/dialog.php.

Examples in the documentation look like this:

<a href="js/tinymce/plugins/filemanager/dialog.php?type=0" class="btn iframe-btn" type="button">Open Filemanager</a>

So, perhaps the target URL can not be found, and the .htaccess mod_rewrite rules are forwarding the request to be handled by CakePHP.

Regards
Reuben Helms

On Wednesday, 27 November 2013 05:14:37 UTC+10, Pierre wrote:
Good evening

I am using responsiveFilemanager9 with cakePHP to manage the image. It's great tools and it work excepted with the TinyMCE.

From tinyMCE when I would like to to add a image, filemanager9 is opening and I got an error message as this

Missing Method in FilemanagerController
 
Error: The action admin_dialog.php is not defined in controller FilemanagerController
 
Error: Create FilemanagerController::admin_dialog.php() in file: app/Controller/FilemanagerController.php.
 
<?php
class FilemanagerController extends AppController {
 
 
    public function admin_dialog.php() {
 
    }
 
}
 
Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp
 
 
It's strange because it asks an action call

public function admin_dialog.php()  (with a .php)

I tryed to create taht function but of course it did not work

Do you have an idea, how I can solved that problem?

Cheers

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: