Roundcube Community Forum

 

rcube error in copymessage plugin

Started by lhtek, August 08, 2012, 05:24:59 PM

Previous topic - Next topic

lhtek

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.


alec

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.

lhtek

Is that the 0.8.0 version? or a newer version?

lhtek

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?

SKaero

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.

JohnDoh

@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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

lhtek

Yes - I finally saw the light and downloaded the correct version. Thanks!

BTW - you write great plugins!