Migration, problem with Smarty

Having trouble installing serendipity?
Post Reply
CadEx
Regular
Posts: 12
Joined: Fri Oct 26, 2007 9:57 pm

Migration, problem with Smarty

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Migration, problem with Smarty

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
CadEx
Regular
Posts: 12
Joined: Fri Oct 26, 2007 9:57 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply