|
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 |
ltiefland Smarty Rookie
Joined: 19 Jul 2005 Posts: 6 Location: Marl
|
Posted: Mon Nov 16, 2009 8:52 am Post subject: Error using resource.db.php |
|
|
Hi All,
when using the above mentioned plugin I get a "Call to a member function register_resource() on a non-object in /usr/share/php/Smarty-3.0b3/libs/plugins/resource.db.php on line 12" error message. With Smarty 2.x it works fine. How do I have to call this method using Smarty 3.x? |
|
Back to top |
|
ltiefland Smarty Rookie
Joined: 19 Jul 2005 Posts: 6 Location: Marl
|
Posted: Mon Nov 16, 2009 1:16 pm Post subject: |
|
|
Hi all,
problem solved! After replacing "$smarty" with "$this" everything is fine again. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot 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
|