Re: I'm confused !

From: Date: Mon, 27 Aug 2001 16:52:32 +0000
Subject: Re: I'm confused !
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1394@lists.php.net to get a copy of this message
On Mon, 27 Aug 2001 18:14:33 +0200 (MEST) Luc Saint-Elie <luc@saint-elie.com> wrote: > A simple (stupid) question : > Did you or someone else open the template file with a wysiwyg HTML editor ? > If the answer is YES you may want to have a look at it because some editors > (Its the case with Dreamweaver) mess up the headers whent opening a file > starting with the {conf.. } call. > NO, well I use Quanta to edit the templates but I have checked if there were something like this but no, there is no extrange chars. The error is even worst: I copy the full example that came with Smarty-1.4.4 to a dir (/var/www/html/prueba) and it worked ok I do the same steps but in a subdir of my project (/var/www/html/xeon/prueba), I set the permision, and all, but it doesn't work I get: Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in Smarty_Compiler.class.php on line 925 .. wait a minute .. I got to check permisions: drwxrwxr-x 2 pablo pablo 48 jul 16 17:54 cache/ drwxrwxr-x 2 pablo pablo 80 jul 16 17:53 configs/ -rw-rw-r-- 1 pablo pablo 909 jun 29 15:35 index.php drwxrwxr-x 2 pablo pablo 176 jul 16 17:53 templates/ drwxrwxrwx 2 pablo pablo 48 jul 16 17:54 templates_c/ .. maybe I have to change user drwxrwxr-x 2 pablo pablo 48 jul 16 17:54 cache/ drwxrwxr-x 2 pablo pablo 80 jul 16 17:53 configs/ -rw-rw-r-- 1 pablo pablo 909 jun 29 15:35 index.php drwxrwxr-x 2 pablo pablo 176 jul 16 17:53 templates/ drwxrwxrwx 2 apache apache 48 jul 16 17:54 templates_c/ .. nop I still get: Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in Smarty_Compiler.class.php on line 925 I will change index.tpl from: {config_load file=test.conf section=""} {include file=header.tpl title=foo} to: {config_load file=test.conf} {include file=header.tpl title=foo} nop, did'nt work I still got: Fatal error: Smarty: [in index.tpl line 12]: syntax error: expecting '=' after attribute name in Smarty_Compiler.class.php on line 925 What's wrong? Smarty works ok in another dir, but no in my dir! any more clues?

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