Search found 3 matches

by red-jocker
Tue Dec 08, 2009 6:08 pm
Forum: Installation
Topic: After install, problem with smarty compiler
Replies: 4
Views: 3645

Re: After install, problem with smarty compiler

well... i re-install all (with serendipity 1.4.1 not modified) and always same error. When i clic for view my new weblog : no function and i see this error.

and the file "template-c" has just one file "empty"

My php is 5.2.11

Edit
AAh! i erase my complete database Mysql (all the name and recreate ...
by red-jocker
Mon Nov 30, 2009 4:33 pm
Forum: Installation
Topic: After install, problem with smarty compiler
Replies: 4
Views: 3645

Re: After install, problem with smarty compiler

php is ok for 4, 5, cgi, mysql etc... i already install a old version (1.3.1), it run perfectly.
But for the new pack 1.4.1... no work. and if i take a old file "smarty-compiler" (from 1.3.1), it works but no possibility to change the theme and this error become again.
by red-jocker
Mon Nov 30, 2009 2:53 pm
Forum: Installation
Topic: After install, problem with smarty compiler
Replies: 4
Views: 3645

After install, problem with smarty compiler

After the complete install, i've a page with this sentence :

Parse error: syntax error, unexpected T_VARIABLE in /home/[...]/bundled-libs/Smarty/libs/Smarty_Compiler.class.php on line 372

i go to this line :
$compiled_content="preg_replace("~(?<!')language\s*=\s*[\"\']?\s*php\s*[\"\']?~","

I ...