What steps will reproduce the problem? 1.Have configured configuration.php & index.html file 2.When running the web-site the comment tab is displayed 3.It is not possible to edit the comment field.
On further investigation it seems that none of the plug-ins actually work, have tried Archiver, LostPassword and FileViewerEditor. Using version 2.5.12 (latest).
Tried to investigate using Firebug, and it gives the error messages shown Modify.png file. Scripting complains "g is undefined" for comment plug-in and Network Error for archive - not too worried as probably access issue. But the biggest problem is that comment plug-in does not seem to work.
Saying that commenting "Dropboxplugin" in the index.html seems to take it out from the user as well. Any help would be appreciated. Already tried changing line 54 in PluginController.class.php to return isset($this->plugins[$id]); with no effect.
Best regards, Jukka
- index.html 2.59KB
- Mollify.png 68.32KB
Comment #1
Posted on Jul 11, 2014 by Swift DogYou 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"
)
)
)
);
Comment #2
Posted on Jul 14, 2014 by Happy DogKiitos 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:-
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
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
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
private function archiveManager() { return $this->env->plugins()->getPlugin("Archiver")->getArchiveManager(); } Any ideas? Index.html should be OK, and configuration.php.
- mollify2.png 21.09KB
Comment #3
Posted on Jul 15, 2014 by Happy DogMaybe something to do with the PluginController.class.php ? Maybe not recognizing the folder structure. Similarly cannot get notificator plug-in to activate.
Comment #4
Posted on Jul 15, 2014 by Swift DogIt'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.
Comment #5
Posted on Jul 17, 2014 by Happy DogI'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.
Comment #6
Posted on Jul 18, 2014 by Swift DogI 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)
Comment #7
Posted on Sep 4, 2014 by Swift DogClosing until further info
Status: Invalid
Labels:
Type-Defect
Priority-Medium