Page 1 of 1

Migration, problem with Smarty

Posted: Sat Nov 29, 2008 10:44 am
by CadEx
Hi, I have the same problem like this guy here:
http://board.s9y.org/viewtopic.php?p=72 ... 2af252563e

Mine:

Code: Select all

Keine Schreibrechte für Verzeichnis /dday/templates_c. Bitte korrigieren
Fatal error: Smarty error: [in file:entries.tpl line 2]: syntax error: unrecognized tag 'serendipity_hookPlugin' (Smarty_Compiler.class.php, line 590) in /www/htdocs/w00a8a5b/dday/bundled-libs/Smarty/libs/Smarty.class.php on line 1095
This means, the reason is not that the server crashed painfully.
Furhermore here is another case: http://www.ic2008.org.br/sustainability ... p?/archive

What I did:
1. Edited the SQL dump for correct paths.
2. Granted write access for templates_c.
3. Deleted content of templates_c.

Is the true reason for this known as of today?

Re: Migration, problem with Smarty

Posted: Sat Nov 29, 2008 2:19 pm
by garvinhicking
Hi!

So you no longer get the write error message after you fixed the permissions? Which error do you get now?

If s9y still complains about not being able to write to that directory, you must still fix that.

Regards,
Garvin

Posted: Tue Dec 09, 2008 7:26 pm
by CadEx
I did the mentioned steps before the error message.
There is full access (777) and there aren't even files in the folder templates_c.
Maybe the first error message is wrong.

Posted: Wed Dec 10, 2008 11:25 am
by garvinhicking
Hi!

No, PHP reports that the file is not writable to it. You must really check all paths leading to your webroot; if one of them does not have the "x" flag to allow PHP to go into that directory, it will fail. There's definitely a permission problem.

If you can give me FTP access to yuor machine, I can point those out to you.

Regards,
Garvin