PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.smarty.general > unable to read source
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
unable to read source

Réponse
 
LinkBack Outils de la discussion
Vieux 22/11/2006, 05h02   #1
frank_coleman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut unable to read source


I get the the following error:

Warning: Smarty error: unable to read resource: "store/index.tpl" in /usr/share/php/smarty/libs/Smarty.class.php on line 1095


I really don't know what to do anymore since the variable for the template dir is set correctly, is readable and the template exists.

--Frank




_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com

  Réponse avec citation
Vieux 22/11/2006, 09h43   #2
Peggy Schatz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] unable to read source

Hi Frank,

did you check the forum? I believe this topic is covered there abundantly.

http://www.phpinsider.com/smarty-for...d218364e9de98a

cheers,
Peggy


frank_coleman schrieb:
> I get the the following error:
>
> Warning: Smarty error: unable to read resource: "store/index.tpl" in /usr/share/php/smarty/libs/Smarty.class.php on line 1095
>
>
> I really don't know what to do anymore since the variable for the template dir is set correctly, is readable and the template exists.
>
> --Frank
>
>
>
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way your home on the Web - http://www.myway.com
>

  Réponse avec citation
Vieux 22/11/2006, 10h12   #3
messju mohr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] unable to read source

do you use an absolute path in $smarty->-template_dir?
if not, do you have "." in your include_path?

On Tue, Nov 21, 2006 at 11:02:58PM -0500, frank_coleman wrote:
>
> I get the the following error:
>
> Warning: Smarty error: unable to read resource: "store/index.tpl" in /usr/share/php/smarty/libs/Smarty.class.php on line 1095
>
>
> I really don't know what to do anymore since the variable for the template dir is set correctly, is readable and the template exists.
>
> --Frank
>
>
>
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way your home on the Web - http://www.myway.com
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h33.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08096 seconds with 11 queries