Re: I'm LESS-confused !
| From: | Pablo Veliz | Date: | Tue, 28 Aug 2001 21:57:11 +0000 |
| Subject: | Re: I'm LESS-confused ! | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1397@lists.php.net to get a copy of this message | ||
After 2 days of debugging the Smarty-compiler code I found the error,
debugging in the Compiler :: _parse_attrs_
preg_match_all('/(?:"[^"\\\\]*(?:\\\\.[^"\\\\]*)*" |
\'[^\'\\\\]*(?:\\\\.[^\'\\\\]*)*\' |
(?>[^"\'=\s]+)
)+ |
[=]
/x', $tag_args, $match);
I note that in the other serve the parsing was
-- otherserver --
file="xeon.conf" section="page"
[file] [=] ["xeon.conf"] [section] [=] ["page"]
but in my serve was
-- myserver --
file=\"xeon.conf\" section=\"page\"
[file] [=] [\] [xeon.conf\] [section] [=] [\] [page\]
So I didn't think it was Smarty, I diff php.ini against the other server's php.ini
and found it:
**************************
< magic_quotes_runtime= Off ; magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.
---
> magic_quotes_runtime= On ; magic quotes for runtime-generated data, e.g. data from
> SQL, from exec(), etc.
-**************************
somehow (maybe linuxconf?) the php.ini got changed. I hope none of you get this error since is
awfull to have code that worked ok, but suddenly, without changing a bit, it doesn't work
anymore
--
Pablo Veliz