Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: vivacomputers on May 13, 2013, 05:23:02 AM

Title: Plugins are not activated
Post by: vivacomputers on May 13, 2013, 05:23:02 AM
Hello, I followed the instructions and uploaded the plugins from the repository in the plugins folder. Then made this:

// ----------------------------------
// PLUGINS
// ----------------------------------

// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('movespam', 'markasjunk', 'antiBruteForce', 'custom_logo', 'newmail_notifier');

But still nothing works what I want to activate. Am I doing something wrong? Can somebody give some advice?

Thanks!
Title: Re: Plugins are not activated
Post by: SKaero on May 13, 2013, 11:17:59 AM
Most plugins also need to be configured, have you setup there config files? Are there any errors in the RoundCube error log?
Title: Re: Plugins are not activated
Post by: vivacomputers on May 13, 2013, 03:34:08 PM
There are no logs in the error file and I can't find anything to config in the plugin folder. It doesn't make any difference which plugin I turn on it doesn't work.
Title: Re: Plugins are not activated
Post by: SKaero on May 13, 2013, 03:34:56 PM
Is the RoundCube error log wirable?
Title: Re: Plugins are not activated
Post by: vivacomputers on May 14, 2013, 04:56:09 AM
It has rights 755
Title: Re: Plugins are not activated
Post by: SKaero on May 14, 2013, 12:22:56 PM
If you login incorrect a entry should be written to the error log <rc root>/logs/errors is that happening?
Title: Re: Plugins are not activated
Post by: vivacomputers on May 14, 2013, 12:35:41 PM
Yes that happens because I logged in 3 times wrongly hehehe.
Title: Re: Plugins are not activated
Post by: SKaero on May 14, 2013, 01:00:34 PM
Well then the plugins aren't be registered at all or at least there not throwing any errors.
Title: Re: Plugins are not activated
Post by: vivacomputers on May 14, 2013, 02:03:20 PM
Part 1 of your sentence is not good news and part 2 is good that there are no errors  ;) only what can I do make the plugins work?
Title: Re: Plugins are not activated
Post by: ABerglund on May 14, 2013, 02:54:07 PM
I'm guessing the plugin folders are not installed in the plugins directory properly.
Title: Re: Plugins are not activated
Post by: vivacomputers on May 14, 2013, 03:31:15 PM
I followed the instruction and it was only extracting the folders in the plugin folder. There is not much I can do wrong there I think.....
Title: Re: Plugins are not activated
Post by: ABerglund on May 14, 2013, 04:59:48 PM
What are the permissions of the plugin folders and files? Are they readable by the user that the webserver runs as?
Title: Re: Plugins are not activated
Post by: vivacomputers on May 15, 2013, 03:39:31 AM
They have rights 755
Title: Re: Plugins are not activated
Post by: ABerglund on May 15, 2013, 11:44:39 AM
There's something basic wrong here. It really is as simple as it seems, normally.

Please navigate to one of the plugin folders. Maybe 'markasjunk' since I am familiar with that one. From inside that directory, do a pwd and 'ls -l' and post the results here.
Title: Re: Plugins are not activated
Post by: twisterbr on May 15, 2013, 12:47:33 PM
Try setting 'allow from all' to the  plugin dir on your vhost config (or htaccess)

<Directory "/var/www/roundcube/plugins">
Allow from all
</Directory>
Title: Re: Plugins are not activated
Post by: vivacomputers on May 15, 2013, 02:04:28 PM
Quote from: ABerglund on May 15, 2013, 11:44:39 AM
There's something basic wrong here. It really is as simple as it seems, normally.

Please navigate to one of the plugin folders. Maybe 'markasjunk' since I am familiar with that one. From inside that directory, do a pwd and 'ls -l' and post the results here.

Euuhh....I want to do that and I something of of things but can you explain how to do this or what this is?  :o
Title: Re: Plugins are not activated
Post by: ABerglund on May 15, 2013, 03:05:05 PM
Quote from: vivacomputers on May 15, 2013, 02:04:28 PM
Quote from: ABerglund on May 15, 2013, 11:44:39 AM
There's something basic wrong here. It really is as simple as it seems, normally.

Please navigate to one of the plugin folders. Maybe 'markasjunk' since I am familiar with that one. From inside that directory, do a pwd and 'ls -l' and post the results here.

Euuhh....I want to do that and I something of of things but can you explain how to do this or what this is?  :o
Sorry, from your description of the permissions as "755" I got the impression that you might be running Roundcube on Linux, and were familiar with basic Linux command line operations.

Let's backup then. What are you running RC on, Linux, Windows or ?? I'm now assuming you aren't comfortable or experienced working in the command line?
Title: Re: Plugins are not activated
Post by: vivacomputers on May 15, 2013, 03:21:23 PM
 8) ::) ;) It's ok..I am not familiar with Linux commands no, sorry. I can learn if you can explain me what I have to do. The script is installed through a software script on my hosting. I didn't have to do anything about that it is totally automatic. It is working on a Linux server that I know.
Title: Re: Plugins are not activated
Post by: ABerglund on May 20, 2013, 04:18:04 PM
OK, do you have shell access to the hosted server? If so, login to it, and cd to the roundcubemail/plugins folder.

Once there, key in pwd and hit Enter. Copy the results to a text file somewhere on your computer.

Then key in ls -l and hit Enter. Copy that result also.

Then post both results here.