|
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 |
piecez Smarty n00b
Joined: 30 Nov 2015 Posts: 2
|
Posted: Mon Nov 30, 2015 3:02 am Post subject: [Solved]Code error, im stupid, help? |
|
|
So the issue is, i made a theme for FusionCMS, and when we attempted to activate the theme when loading the page we get this error
Now, I do not program, and im utterly confused right now.
here's line 62 of the code for template.tpl
If someone could potentially help that would be great.
thank you in advance
~Piecez
Last edited by piecez on Tue Dec 01, 2015 3:27 am; edited 1 time in total |
|
Back to top |
|
danbru1211 Smarty Rookie
Joined: 15 Jul 2014 Posts: 9 Location: Austria, Graz
|
Posted: Mon Nov 30, 2015 9:37 am Post subject: |
|
|
Are you sure a variable exists with a space? I am talking about {$Dark Portal}
Maybe you remove the space or the whole tag at all? |
|
Back to top |
|
piecez Smarty n00b
Joined: 30 Nov 2015 Posts: 2
|
Posted: Tue Dec 01, 2015 3:27 am Post subject: |
|
|
danbru1211 wrote: | Are you sure a variable exists with a space? I am talking about {$Dark Portal}
Maybe you remove the space or the whole tag at all? |
I did that and that fixed it, thank you xD
as i stated, i have NO idea what any of this means and im running this by using guides and other bits of info, though that space was the only thing stopping it from working, works flawless now.
Tyvm <3 |
|
Back to top |
|
danbru1211 Smarty Rookie
Joined: 15 Jul 2014 Posts: 9 Location: Austria, Graz
|
Posted: Tue Dec 01, 2015 9:24 am Post subject: |
|
|
Please learn about smarty! It's such a great tool.
Every {$something} is like <?php echo $something; ?>
If you or the software you are using does not assing $something to something, this will result in an error.
Additionally you had a space in your variable name (Dart Portal). I think it is not allowed. |
|
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
|