1

Topic: unable to install imagemanager plugin

Hello all,

I'm trying to get this to work, but have encountered some difficulties.  When the image manager plugin is loaded, the files are first passed through a framework that changes the working directory.  I was having trouble with requires, and changing the working directory didn't seem to work, so I modified all the require_once calls to use __DIR__ . '/' ..., and this seemed to work.  But, it seems like something still isn't getting done right.  I'm getting the following error:

Fatal error: Call to a member function handleError() on a non-object in /var/www/my-app/admin/webroot/tiny_mce/plugins/imagemanager/classes/Utils/Error.php on line 210

The object this is called on is supposed to be an instance of Moxiecode_Error and is declared in a global scope in several files.

2

Re: unable to install imagemanager plugin

Hmm, weird. What framework is it, something custom? Also why does the files need to be passed though it is it to get the sessions from that framework if so it might be possible to just include that logic in config.php or similar.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: unable to install imagemanager plugin

I'm not really concerned about the session, the editor cannot be instantiated without having previously been authenticated any way.  Anything that is in the project's folder is automatically parsed through the framework (it is custom).

4

Re: unable to install imagemanager plugin

I'm going to create a path exception in the .htaccess that will just ignore folders prefaced with __, stick the editor in __tinyMCE, and hopefully this'll work out-of-the-box then.

5

Re: unable to install imagemanager plugin

You could try or add a htaccess file to the root of the imagemanager directory to disable stuff.

Best regards,
Spocke - Main developer of TinyMCE