Re: Portal system based on Smarty Templates
| From: | LIMBOURG Arnaud | Date: | Wed, 12 Sep 2001 08:11:07 +0000 |
| Subject: | Re: Portal system based on Smarty Templates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-1469@lists.php.net to get a copy of this message | ||
Ah, so i'd say it is a design flaw ! If there are no news you should display
a "Sorry there are no news" message.
But seeing the error i'd say it's a bug. "not valid result resource" sounds
a like a bug ;)
Arnaud,
Its probably not a bug, its beacuse there are no news yet, the system looks
for
a news entry and don't find any.
Luc
En réponse à LIMBOURG Arnaud <arnaud.limbourg@cegetel.fr>:
> 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/