Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Smarty and Confixx

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
zanabuna
Smarty Rookie


Joined: 04 Aug 2005
Posts: 8

PostPosted: Tue Oct 11, 2005 9:54 am    Post subject: Smarty and Confixx Reply with quote

I'm having problems with smarty and confixx (like cpanel).

I'm getting something like this:
Fatal error: Smarty error: [in /srv/www/htdocs/web54/html/templates/homepage.tpl line 24]: syntax error: invalid attribute name: 'templates/header_left_home.tpl\' (Smarty_Compiler.class.php, line 1531) in /srv/www/htdocs/web54/html/libs/Smarty.class.php on line 1088

The problem is that it works on other hosting solutions ()

24'th line: {include file="header_left.tpl"}

I REPEAT - IT WORKS ON OTHER HOSTING SOLUTIONS ? ANYBODY HAD SIMILAR PROBLEMS ?
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Tue Oct 11, 2005 10:56 am    Post subject: Reply with quote

no need for repetition and no need for shouting. we aren't dumb here and we aren't deaf.

learn about php's magic_quotes_runtime and turn it off.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zanabuna
Smarty Rookie


Joined: 04 Aug 2005
Posts: 8

PostPosted: Tue Oct 11, 2005 12:19 pm    Post subject: muhahha Reply with quote

Hey - don't bother me with stupid solutions !
We aren't all idiots here. Laughing


Solved it... It had nothing to do with magic_quotes_runtime !
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Tue Oct 11, 2005 12:59 pm    Post subject: Re: muhahha Reply with quote

zanabuna wrote:
We aren't all idiots here. Laughing

more or less.


Quote:
Solved it... It had nothing to do with magic_quotes_runtime!

feel free to enlighten us idiots, in case someone else encounters the same problem.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zanabuna
Smarty Rookie


Joined: 04 Aug 2005
Posts: 8

PostPosted: Wed Oct 12, 2005 8:02 am    Post subject: yeah yeah Reply with quote

Hey - no harm intended....
Don't take it so personal....

Changed a directory's permissions using CONFIXX's admin panel...
It didn't work.... (very funny).
No write rights were set for the templates_c directory....

Used chmod instead .... and surprise .. it did the trick.
Back to top
View user's profile Send private message
saerdna
Smarty Rookie


Joined: 12 Dec 2004
Posts: 20
Location: Linköping, Sweden

PostPosted: Sat Oct 15, 2005 10:52 pm    Post subject: Reply with quote

http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5617
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP