Closed GoogleCodeExporter closed 9 years ago
You have defined plugin configuration (and other settings) under db array, it
should be in top level.
$CONFIGURATION = array(
"db" => array(
"type" => "mysql",
...
),
"enable_mail_notification" => TRUE,
"mail_notification_from" => "webmaster@syxthsense.com",
"plugins" => array(
"Comment" => array(),
"Archiver" => array(
"compressor" => "ziparchive"
)
)
)
);
Original comment by samuli.j...@gmail.com
on 11 Jul 2014 at 2:07
Kiitos Samuli! Now the next problem, when I get the Comment plug-in activated
and then get Mollify - Request Failed - response. Looking at the firebug it
indicates the following:-
------------
<br />
Fatal error: Call to a member function getHandler() on a non-object in
E:\webroot\support\mollify\backend\plugin\Comment\CommentServices.class.php on
line 60<br />
------------
This is the last line on the class file as follows:-
return $this->env->plugins()->getPlugin("Comment")->getHandler();
I actually get similar error when I try to use Compressed Archive
---
<br />
Fatal error: Call to a member function getArchiveManager() on a non-object in
E:\webroot\support\mollify\backend\plugin\Archiver\ArchiverServices.class.php
on line 150<br />
----
private function archiveManager() {
return $this->env->plugins()->getPlugin("Archiver")->getArchiveManager();
}
Any ideas? Index.html should be OK, and configuration.php.
Original comment by syxthsen...@gmail.com
on 14 Jul 2014 at 10:38
Attachments:
Maybe something to do with the PluginController.class.php ? Maybe not
recognizing the folder structure. Similarly cannot get notificator plug-in to
activate.
Original comment by syxthsen...@gmail.com
on 15 Jul 2014 at 12:20
It's a bit weird problem.
It would seem like the plugin is not registered (as the error is "Call to a
member function getHandler() on a non-object" -> getPlugin must return NULL
etc). But since it is the CommentServices class that gets this error, it
actually must be registered (it is the plugin setup function that registers the
service instance, and plugin setup gets called only when plugin is registered).
Haven't heard from or seen this before, would require me getting this error in
my development environment so I could debug it, but unfortunately I don't.
Original comment by samuli.j...@gmail.com
on 15 Jul 2014 at 1:27
I'll set up the Mollify on an other development PC to see if the error repeats
(it does on this development PC - Windows - and on CentOS live data server).
I'll let you know if I figure something out.
Original comment by syxthsen...@gmail.com
on 17 Jul 2014 at 5:34
I have a windows dev server, Mac dev server and a linux dev server, none of
these have this problem. Also no other user have reported this, so can't
imagine how you could have the same problem on several platforms. Are you sure
you have "clean" installation?
If you can get me access to a test server where this occurs, I could take a
look (FTP/SSH so I can modify files, and of course HTTP)
Original comment by samuli.j...@gmail.com
on 18 Jul 2014 at 6:39
Closing until further info
Original comment by samuli.j...@gmail.com
on 4 Sep 2014 at 10:53
Original issue reported on code.google.com by
syxthsen...@gmail.com
on 11 Jul 2014 at 11:47Attachments: