News and Announcements => General Discussion => Topic started by: buffe on November 26, 2009, 06:39:09 AM
Title: Need help to track error
Post by: buffe on November 26, 2009, 06:39:09 AM
Hi, I'm developing a plugin for roundcube to have blacklist in my university project. While doing I found an error and I can not figure out what causes it. The error log says: PHP Error: Error loading template for blacklist in /var/www/html/roundcubemail/program/include/rcube_template.php on line 372 (GET /roundcubemail/?_task=settings)
Can anyone give me a hint where i might went wrong. Here is the code I've written as blacklist.php,
class blacklist extends rcube_plugin { public $task = 'settings';
function init(){ $this->add_texts('localization/', true); $this->include_script('blacklist.js');
Title: Need help to track error
Post by: buffe on November 26, 2009, 11:32:27 PM
Thanks rosali,
I think that is the problem as I don't have any blacklist.html. so i changed it as
$rcmail->output->send("plugin");
then the error didn't occur but the preferences tabs also disappears. Can I just add the tab to view without adding a blacklist.html? Where should I change in my blacklist.php