Scenario:
"I have Nucleus 3.2x installed and just tried to install the plugin "NP_PluginName". The following error could be found in the actionlog:
Plugin NP_PluginName was not loaded (does not support SqlTablePrefix)
What does this mean? How can I get my plugin to work?
Original forum thread:
http://forum.nucleuscms.org/viewtopic.php?t=11374
Solution (thanks, admun!):
This error occurs when you are trying to install a plugin that was written prior to Nucleus 3.2x. Nucleus 3.2x versions feature a new function called tableprefix.
To fix this, open up your NP_PluginName.php file and find this line:
class NP_PluginName extends NucleusPlugin {
function supportsFeature($what) {
switch($what) {
case 'SqlTablePrefix':
return 1;
default:
return 0;
}
}
![]()
Total votes: 7 - Rating: 8.14