Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: lhtek on August 08, 2012, 05:24:59 PM

Title: rcube error in copymessage plugin
Post by: lhtek on August 08, 2012, 05:24:59 PM
Is anyone else having an issue with copymessage?

I'm getting this in my error log:
PHP Fatal error:  Class 'rcube' not found in /var/www/html/webmail2/plugins/copymessage/copymessage.php on line 21

My versions:
RoundCube 0.7.2
copymessage: 1.3

contextmenu IS installed and working as is markasjunk2 so the developers other stuff works fine.

Just downloaded it off the site so I'm thinking it's the newest version available.

Title: Re: rcube error in copymessage plugin
Post by: alec on August 09, 2012, 02:22:06 AM
Quote from: lhtek on August 08, 2012, 05:24:59 PM
I'm getting this in my error log:
PHP Fatal error:  Class 'rcube' not found in /var/www/html/webmail2/plugins/copymessage/copymessage.php on line 21
This version of the plugin is for never version (0.9-git) of Roundcube.
Title: Re: rcube error in copymessage plugin
Post by: lhtek on August 10, 2012, 05:02:32 PM
Is that the 0.8.0 version? or a newer version?
Title: Re: rcube error in copymessage plugin
Post by: lhtek on August 10, 2012, 06:34:07 PM
OK - So I updated to 0.8.0 and I still get the same error. Is there a cache or something that needs to be cleared?
Title: Re: rcube error in copymessage plugin
Post by: SKaero on August 10, 2012, 06:44:55 PM
0.9-git is the development version newer than RoundCube 0.8 you need to get the plugin version that works with RoundCube 0.8.
Title: Re: rcube error in copymessage plugin
Post by: JohnDoh on August 11, 2012, 06:23:09 AM
@lhtek: did you read the insturctions on the website? you need to download the code from the rc-0.8 branch (https://github.com/JohnDoh/Roundcube-Plugin-Copy-Message/tree/rc-0.8) or the file tagged as 0.8.0 (https://github.com/JohnDoh/Roundcube-Plugin-Copy-Message/tags) to get a version that works with rc-0.8.0.
Title: Re: rcube error in copymessage plugin
Post by: lhtek on August 13, 2012, 04:24:14 PM
Yes - I finally saw the light and downloaded the correct version. Thanks!

BTW - you write great plugins!