Re: I'm confused ! (more updates)
| From: | Pablo Veliz | Date: | Mon, 27 Aug 2001 20:21:21 +0000 |
| Subject: | Re: I'm confused ! (more updates) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1395@lists.php.net to get a copy of this message | ||
On Mon, 27 Aug 2001 12:12:10 -0400
Pablo Veliz <pablo@serinbol.com> wrote:
It's geting weird! I know why the previous examples worked, it was compiled. So I delete the
compiled files and tried again with the same error.
I tried 5 diferent possibilities with the examples thinking that meybe is som issue with the
permisions, but no, none worked out!
I tried the same files in another machine with Mandrake 8.0, same apache version and same php
version, same file disposition and worked ok!
I think that the error is in the parsing stuff, so maybe is some lib that I change or some config,
any clues? I'm desperate... It used to work yesterday!
--
Pablo Veliz
PD: this is the detailed test I mage:
using Mandrake 8.0 + php-4.0.4pl1-6mdk + apache-1.3.19-3mdk + kdebase-2.2-1mdk
---------- /etc/php.ini -------------
:
include_path = /usr/lib/php:.
:
--------------------------------
cd /tmp
tar zxvf Smarty-1.4.4.tar.gz
cd Smarty-1.4.4/
cp Config_File.class.php /usr/lib/php
cp overlib.js /usr/lib/php
cp Smarty.addons.php /usr/lib/php
cp Smarty.class.php /usr/lib/php
cp Smarty_Compiler.class.php /usr/lib/php
mkdir /var/www/html/test1
cp index.php /var/www/html/test1
cp -R configs /var/www/html/test1/
cp -R templates /var/www/html/test1/
cp -R templates_c /var/www/html/test1/
cd /var/www/html
cp -R test1 test2
cp -R test1 test3
cp -R test1 test4
cp -R test1 test5
chown -R apache:apache test1/templates_c
chmod 700 test1/templates_c
chmod 777 test2/templates_c
chmod 777 test4/templates_c
chmod 764 test4/templates/*
chmod 764 test4/configs/*
chmod 764 test4/index.php
chown -R apache:apache test5/templates_c
chmod 700 test5/templates_c
chmod 764 test5/templates/*
chmod 764 test5/configs/*
chmod 764 test5/index.php
/etc/init.d/httpd stop
/etc/init.d/httpd start
--- testing with mozilla 0.9.3 ---
http://localhost/test1/
Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in
Smarty_Compiler.class.php on line 925
http://localhost/test2/
Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in
Smarty_Compiler.class.php on line 925
http://localhost/test3/
Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in
Smarty_Compiler.class.php on line 925
http://localhost/test4/
Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in
Smarty_Compiler.class.php on line 925
http://localhost/test5/
Fatal error: Smarty: [in index.tpl line 1]: syntax error: invalid attribute name - '\' in
Smarty_Compiler.class.php on line 925