|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Jul 30, 2010 8:21 pm Post subject: unrecognized plugin error |
|
|
You could have your plugins_dir setting incorrect, but most likely you are not calling the constructor correctly when extending the class:
Code: | class mySmarty extends Smarty {
function __constructor {
parent::__constructor();
// local settings go here
}
} |
Be sure you use the PHP 5 style constructors, and not PHP 4 style, which used the name of the class as the constructor. |
|
Back to top |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|