Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

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:
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Monte Ohrt
03-19-04 06:29 PM


Re: [SMARTY] misleading error
Right 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
>

Report this thread to moderator Post Follow-up to this message
Old Post
zooming@gamebox.net
03-19-04 06:29 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Smarty Templates archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:13 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.