![Smarty Forum Index Smarty Forum Index](templates/smarty/images/phpbb2_logo.gif) |
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
zanabuna Smarty Rookie
Joined: 04 Aug 2005 Posts: 8
|
Posted: Tue Oct 11, 2005 9:54 am Post subject: Smarty and Confixx |
|
|
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 |
|
messju Administrator
![](images/avatars/12071285133e9f19a697762.png)
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Tue Oct 11, 2005 10:56 am Post subject: |
|
|
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 |
|
zanabuna Smarty Rookie
Joined: 04 Aug 2005 Posts: 8
|
Posted: Tue Oct 11, 2005 12:19 pm Post subject: muhahha |
|
|
Hey - don't bother me with stupid solutions !
We aren't all idiots here.
Solved it... It had nothing to do with magic_quotes_runtime ! |
|
Back to top |
|
messju Administrator
![](images/avatars/12071285133e9f19a697762.png)
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Tue Oct 11, 2005 12:59 pm Post subject: Re: muhahha |
|
|
zanabuna wrote: | We aren't all idiots here. |
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 |
|
zanabuna Smarty Rookie
Joined: 04 Aug 2005 Posts: 8
|
Posted: Wed Oct 12, 2005 8:02 am Post subject: yeah yeah |
|
|
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 |
|
saerdna Smarty Rookie
![](images/avatars/12452750114351887ed79dc.jpg)
Joined: 12 Dec 2004 Posts: 20 Location: Linköping, Sweden
|
|
Back to top |
|
|
|
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
|