Code Comments
Programming Forum and web based access to our favorite programming groups.The error is correct, it couldn't load the plugin file. If the insert function doesn't exist then the plugin is attempted. If that doesn't work it errors out. On Wed, 2004-03-10 at 15:48, Jeff Orrok wrote: > Hi, > > When smarty can't find an insert function, it compains about plugins inste ad. > > Fatal error: Smarty error: [in customer/main/buy_now.tpl line 17]: 1;plugin] could not load plugin file 'insert.customer_options.php' (Smarty.c lass.php, line 2543) in /var/www/html/xcart/Smarty-2.5.0/Smarty.class.php on line 2652 > > Shouldn't it say something like > > could not find function insert_customer_options > > Regards, > > Jeff
Post Follow-up to this messageRight now smarty stops processing if it hits a non existent function. Can someone point me where in the code this can be changed and just have it ignore a regular function or insert function if it can't find it and continue with the rest of the template. ----- Original Message ----- From: "Monte Ohrt" <monte@ispi.net> To: "Jeff Orrok" <jeff@rt.com> Cc: "Smarty General" <smarty-general@lists.php.net> Sent: Wednesday, March 10, 2004 5:00 PM Subject: Re: [SMARTY] misleading error > The error is correct, it couldn't load the plugin file. If the insert > function doesn't exist then the plugin is attempted. If that doesn't > work it errors out. > > On Wed, 2004-03-10 at 15:48, Jeff Orrok wrote: instead. [plugin] could not load plugin file 'insert.customer_options.php' (Smarty.class.php, line 2543) in /var/www/html/xcart/Smarty-2.5.0/Smarty.class.php on line 2652 > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.