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

[Solved]Code error, im stupid, help?

 
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 -> General
View previous topic :: View next topic  
Author Message
piecez
Smarty n00b


Joined: 30 Nov 2015
Posts: 2

PostPosted: Mon Nov 30, 2015 3:02 am    Post subject: [Solved]Code error, im stupid, help? Reply with quote

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
View user's profile Send private message
danbru1211
Smarty Rookie


Joined: 15 Jul 2014
Posts: 9
Location: Austria, Graz

PostPosted: Mon Nov 30, 2015 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
piecez
Smarty n00b


Joined: 30 Nov 2015
Posts: 2

PostPosted: Tue Dec 01, 2015 3:27 am    Post subject: Reply with quote

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
View user's profile Send private message
danbru1211
Smarty Rookie


Joined: 15 Jul 2014
Posts: 9
Location: Austria, Graz

PostPosted: Tue Dec 01, 2015 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
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 -> General 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