plugins dont work

62 views
Skip to first unread message

overs...@googlemail.com

unread,
Feb 9, 2015, 5:41:40 AM2/9/15
to moll...@googlegroups.com
hi search and tryed almost everything.

cant get any plugin run. for example FileViewerEditor

here is my configuration

<?php
    $CONFIGURATION = array(
        "db" => array(
            "type" => "mysql",
            "user" => "xyz",
            "password" => "xyz",
            "host" => "localhost",
            "database" => "mollify",
            "table_prefix" => "mollify_",
            "charset" => "utf8"
        )
    );
    $PLUGINS = array(
        "FileViewerEditor" => array(
            "viewers" => array(
            "Image" => array("gif", "png", "jpg"),
            "TextFile" => array("txt", "php", "html"),
            "Zoho" => array("docx", "xls", "xlsx", "ppt", "pptx", "pps", "odt", "ods", "odp", "sxw", "sxc", "sxi", "wpd", "rtf", "txt", "html", "csv", "tsv"),
            "Google" => array("pdf", "tiff", "doc"),
            ),
            "previewers" => array(
                "Image" => array("gif", "png", "jpg"),
            ),
            "editors" => array(
                "TextFile" => array("txt"),
            ),
        )
    );
?>


if i run updater:

No update is required.

can som1 help me pls?


johndo...@gmail.com

unread,
Feb 9, 2015, 6:48:40 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
It should look like this:

$CONFIGURATION = array(
   ...
    ),
    "plugins" => array(
 );

https://code.google.com/p/mollify/wiki/FileViewerEditorPlugin

overs...@googlemail.com

unread,
Feb 9, 2015, 7:32:06 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com, johndo...@gmail.com
not really!!!

Samuli Järvelä

unread,
Feb 9, 2015, 8:42:58 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com, johndo...@gmail.com
Well, couple of things.

FileViewerEditor needs a plugin for both, client and backend, as instructed in wiki page (updated it just recently).

The syntax in backend goes like this:

<?php
$CONFIGURATION = array(
    ...
    "plugins" => array( ... )
);
?>

So "plugins" is item in first level, and under it there are all plugins listed, like this:

<?php
$CONFIGURATION = array(
    ...
    "plugins" => array(
        "FileViewerEditor" => array(),
        "SomeOtherPlugin" => array(),
        "ThirdPlugin" => array(),
        ...
    )
);
?>

Then the viewers, editors etc, they are configuration under this plugin:

    "plugins" => array(
        "FileViewerEditor" => array(
            "viewers" => array(
                ...
            ),
            "previewers" => array(
                ...
            ),
            "editors" => array(
                ...
            )
        )
    )

And so on. It's important to keep it indented, otherwise it's difficult to keep track of the level where configuration goes.

overs...@googlemail.com

unread,
Feb 9, 2015, 8:56:52 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
sorry i thougt all plugins are installed already and i only have to activate them in my configuration.php like i posted in firts post.
where i can download the plugins?
and is the configuration.php not the only file i have to edit?

thx


Am Montag, 9. Februar 2015 11:41:40 UTC+1 schrieb overs...@googlemail.com:

Samuli Järvelä

unread,
Feb 9, 2015, 9:05:44 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
Yes, this plugin is in the package, and only needs to be registered.

Backend configuration goes into "configuration.php" and client configuration into "index.html".

overs...@googlemail.com

unread,
Feb 9, 2015, 9:13:10 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
where in the wiki i can see what to enter in index.html to activate each plugin?
and if i enter the code like in the wiki in the configuration.php i always get a white site by updating??

i think im really to stupid fpr this?!?!?

johndo...@gmail.com

unread,
Feb 9, 2015, 9:38:38 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
Client-Config should be already in the index.html, for backend-config do the syntax like Samuli said..

I edited your config for you following the syntax. Try this:


<?php
    $CONFIGURATION = array(
        "db" => array(
            "type" => "mysql",
            "user" => "xyz",
            "password" => "xyz",
            "host" => "localhost",
            "database" => "mollify",
            "table_prefix" => "mollify_",
            "charset" => "utf8"
        ),
        "plugins" => array(

            "FileViewerEditor" => array(
                    "viewers" => array(
                        "Image" => array("gif", "png", "jpg"),
                        "TextFile" => array("txt", "php", "html"),
                        "Zoho" => array("docx", "xls", "xlsx", "ppt", "pptx", "pps", "odt", "ods", "odp", "sxw", "sxc", "sxi", "wpd", "rtf", "txt", "html", "csv", "tsv"),
                        "Google" => array("pdf", "tiff", "doc")
                    ),
                    "previewers" => array(
                            "Image" => array("gif", "png", "jpg")
                    ),
                    "editors" => array(
                        "TextFile" => array("txt")
                    )
            )
        )
    );
?>

overs...@googlemail.com

unread,
Feb 9, 2015, 9:40:17 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
ok i ask this way

can someone give me the code what i have to insert in the
index.html & configuration.php
to activate all build-in plugins PLS??

thx alot

johndo...@gmail.com

unread,
Feb 9, 2015, 9:48:26 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
configuartion.php code like in my last post. thats all you need (delete zoho for a test, i think ist not build-in)

overs...@googlemail.com

unread,
Feb 9, 2015, 9:53:21 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com, johndo...@gmail.com
thx john.... ure config works but still says nothing to update when i go to the update page

but i mean all plugins
event logging
user registration
fileviewer
lostpassword
notificator
archiver
share
item collection
comments

what do i have to insert for all in index and configuration

thx

johndo...@gmail.com

unread,
Feb 9, 2015, 10:04:09 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com, johndo...@gmail.com
You don't need the update for all plugins.

Go through the wiki and activate one plugin after another. Do every step Samuli wrote and look if the plugin works. I can't give you the config for all plug-ins, you have to test them on your own:
https://code.google.com/p/mollify/w/list
Message has been deleted

overs...@googlemail.com

unread,
Feb 9, 2015, 10:31:16 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
ok i have succesful installed the notifier plugin
this way...



<?php
    $CONFIGURATION = array(
        "db" => array(
            "type" => "mysql",
            "user" => "xyz",
            "password" => "xyz",
            "host" => "localhost",
            "database" => "mollify",
            "table_prefix" => "mollify_",
            "charset" => "utf8"
        ),
        "plugins" => array(
            "Notificator" => array(
            "enable_mail_notification" => TRUE,
            "mail_notification_from" => "xyz@*********.com",
            ),

            "FileViewerEditor" => array(
                    "viewers" => array(
                        "Image" => array("gif", "png", "jpg"),
                        "TextFile" => array("txt", "php", "html"),
                        "Zoho" => array("docx", "xls", "xlsx", "ppt", "pptx", "pps", "odt", "ods", "odp", "sxw", "sxc", "sxi", "wpd", "rtf", "txt", "html", "csv", "tsv"),
                        "Google" => array("pdf", "tiff", "doc")
                    ),
                    "previewers" => array(
                            "Image" => array("gif", "png", "jpg")
                    ),
                    "editors" => array(

                        "TextFile" => array("txt")
                    )
            )
        )
    );
?>

it works fine but the mail i receive ist not the one i type in notification from???
its from Ad...@post.webmailer.de
can u help me out here?

johndo...@gmail.com

unread,
Feb 9, 2015, 10:34:59 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
Put the two additional configs outside the plugin-array, but inside the config-array. then go to update:


<?php
    $CONFIGURATION = array(
        "db" => array(
            "type" => "mysql",
            "user" => "xyz",
            "password" => "xyz",
            "host" => "localhost",
            "database" => "mollify",
            "table_prefix" => "mollify_",
            "charset" => "utf8"
        ),
        "plugins" => array(
        "Notificator" => array(),

            "FileViewerEditor" => array(
                    "viewers" => array(
                        "Image" => array("gif", "png", "jpg"),
                        "TextFile" => array("txt", "php", "html"),
                        "Zoho" => array("docx", "xls", "xlsx", "ppt", "pptx", "pps", "odt", "ods", "odp", "sxw", "sxc", "sxi", "wpd", "rtf", "txt", "html", "csv", "tsv"),
                        "Google" => array("pdf", "tiff", "doc")
                    ),
                    "previewers" => array(
                            "Image" => array("gif", "png", "jpg")
                    ),
                    "editors" => array(
                        "TextFile" => array("txt")
                    )
            )
        ),
       "enable_mail_notification" => TRUE,
       "mail_notification_from" => "ma...@xyz.de"
    );

overs...@googlemail.com

unread,
Feb 9, 2015, 11:08:29 AM2/9/15
to moll...@googlegroups.com, overs...@googlemail.com
thx...youre the man!


Am Montag, 9. Februar 2015 11:41:40 UTC+1 schrieb overs...@googlemail.com:
Reply all
Reply to author
Forward
0 new messages