Setting up Reminder plugin: Common issues
Posted: 31 Dec 2018, 04:32
I had just managed to install the Reminder plugin so I wanted to list down the challenges in case someone else faces similar problems.
Where to download the plugin: https://github.com/mantisbt-plugins/Reminder
Problem: One of the common problems is you can't see the plugin for installation under the Manage->Manage Plugins page. This because of incorrect path or folder name.
Solution
The plugin should be copied to /mantis/htdocs/plugin folder. The structure must be /mantis/htdocs/plugin/Reminder with the emphasis that the folder name should be Reminder instead of Reminder-master.
(reminder to chmod if you have issues copying)
After you have done this, the plugin should be visible in the Manage Plugin page.
Problem: Although the plugin is now visible, there is no button to install. Specifically, it is indicated as "outdated dependencies".
Solution
My workaround to this problem is to edit the Reminder.php file. Under the function Register, it is indicating a dependency for 1.3.0. If you are using a more updated version such as 2.x, this check will prevent installation from happening.
Replace 1.3.0 with the latest version such as 2.0.0 in the code. I do not know what will be the behavior and I am not the owner of this plugin. You undertake this at your own risk.
Where to download the plugin: https://github.com/mantisbt-plugins/Reminder
Problem: One of the common problems is you can't see the plugin for installation under the Manage->Manage Plugins page. This because of incorrect path or folder name.
Solution
The plugin should be copied to /mantis/htdocs/plugin folder. The structure must be /mantis/htdocs/plugin/Reminder with the emphasis that the folder name should be Reminder instead of Reminder-master.
(reminder to chmod if you have issues copying)
After you have done this, the plugin should be visible in the Manage Plugin page.
Problem: Although the plugin is now visible, there is no button to install. Specifically, it is indicated as "outdated dependencies".
Solution
My workaround to this problem is to edit the Reminder.php file. Under the function Register, it is indicating a dependency for 1.3.0. If you are using a more updated version such as 2.x, this check will prevent installation from happening.
Code: Select all
function register() {
$this->name = 'Reminder';
$this->description = lang_get( 'reminder_plugin_desc' );
$this->version = '2.0';
$this->requires = array('MantisCore' => '1.3.0',);
$this->author = 'Cas Nuy';
$this->contact = 'Cas-at-nuy.info';
$this->url = 'http://www.nuy.info';
$this->page = 'config';
}