Help ! Smarty won't compile anymore !
| From: | Alain Fontaine | Date: | Tue, 24 Apr 2001 09:49:40 +0000 |
| Subject: | Help ! Smarty won't compile anymore ! | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-575@lists.php.net to get a copy of this message | ||
Hi !
I have this pice of code
<-- snip -->
$Smarty->Assign("CorpsDeMetiers",$arrCorpsDeMetiers);
$Smarty->Assign("CompanyName",$User->m_CompanyName);
$Smarty->Assign("arrAnnonces",$arrAnnonceIDs);
$Smarty->Assign("Date",$arrDates);
$Smarty->Assign("MaitreOuvrage",$arrMaitresOuvrages);
$Smarty->Assign("Objet",$arrObjets);
$Smarty->Display("notifMailSummary.tpl");
<-- snip -->
That used to work very well, with the same template. Now all of a sudden
(well, at least for no reason known or obvious to me), the template isn't
compiled anymore. I suspect that there is some error happening during
compilation that doesn't get reported, or something along those lines. This
is what I get in my browser:
<-- snip -->
Warning: Failed opening
'C:\inetpub\wwwroot\ICP1sp\templates_c/notifMailSummary.tpl.php' for
inclusion
(include_path='.\;c:\php-latest\pear\;c:\inetpub\wwwroot\assurances\;') in
Smarty.class.php on line 369
<-- snip -->
Using Smarty 1.3.1pl1. It DID work before, that's what so strange about it.
And I really don't know what I could have done just before it stopped
working. Doh.
Any ideas ? Thanks !
------
Alain Fontaine
Analyst-Programmer
NVision s.à.r.l.