Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Error using resource.db.php

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
ltiefland
Smarty Rookie


Joined: 19 Jul 2005
Posts: 6
Location: Marl

PostPosted: Mon Nov 16, 2009 8:52 am    Post subject: Error using resource.db.php Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
ltiefland
Smarty Rookie


Joined: 19 Jul 2005
Posts: 6
Location: Marl

PostPosted: Mon Nov 16, 2009 1:16 pm    Post subject: Reply with quote

Hi all,

problem solved! After replacing "$smarty" with "$this" everything is fine again.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP