Re: Invalid Attribute Error

From: Date: Thu, 10 Jan 2002 14:57:57 +0000
Subject: Re: Invalid Attribute Error
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2509@lists.php.net to get a copy of this message
On Mon, 7 Jan 2002 16:06:30 +0100 Bertrand DUNOGIER <bdunogier@wanadoo.fr> wrote: > Hi, > > I sometimes get that error when i load a page on, my site: > > Fatal error: Smarty: [in fr/admin/edit/episodes.tpl line 1]: > syntax error: invalid attribute name - 'fr/interface/header.tpl\' > in /home/user/b/d/u/bdunogier/www/includes/smarty/Smarty_Compiler.class.php on line 1182 > > is anyone able to tell me where it comes from ? > check the php.ini for the specific line that enables auto quotes "automagically" especially in runtime, set it to off: ; Magic quotes magic_quotes_gpc = On ; magic quotes for incoming GET/POST/Cookie data magic_quotes_runtime = Off ; magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_sybase = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \ -- Pablo Veliz

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