Re: Portal system based on Smarty Templates

From: Date: Thu, 13 Sep 2001 07:53:30 +0000
Subject: Re: Portal system based on Smarty Templates
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1474@lists.php.net to get a copy of this message
Well, if I were you i would just an PEAR_ERROR_CALLBACK to a function of your which dies showing the error. You don't have to rewrite your code and it's really useful. I suggest to re-check your sql string. It happen to me very often in postgresql using PEAR-DB and since I not check for errors (lazy of me) Y get the same mesage: "is not a valid ..... result" All the times the error wa is in my sql string, there were sql errors or variable name errors. On Wed, 12 Sep 2001 09:28:40 +0200 LIMBOURG Arnaud <arnaud.limbourg@cegetel.fr> wrote: > Ine the source there is that line at the very top of the page > > <br> > <b>Warning</b>: Supplied argument is not a valid MySQL result resource in > <b>comm.dbConnection.php</b> on line <b>65</b><br> > <!-- Smarty 1.3.2 2001-09-12 02:23:16 --> > > Seems like soemthing went wrong ;) --- You are currently subscribed to smarty as: arnaud.limbourg@cegetel.fr To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/

« previous php.smarty.general (#1474) next »