Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty not running

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
michelefaccini
Smarty n00b


Joined: 15 Jan 2019
Posts: 3
Location: Italy

PostPosted: Tue Jan 15, 2019 9:59 am    Post subject: Smarty not running Reply with quote

Hi all,I've upgraded my server from php 5.6.36 to php 7 and smarty from @version 3.1.27 to @version 3.1.34-dev.
Actually I have Smarty not running.
What do I have to check ?
Any answer/help is appreciated.Thanks
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1530

PostPosted: Tue Jan 15, 2019 6:39 pm    Post subject: Reply with quote

Please don't install development versions, unless you are Smarty developer or investigating a problem in Smarty.
Back to top
View user's profile Send private message
michelefaccini
Smarty n00b


Joined: 15 Jan 2019
Posts: 3
Location: Italy

PostPosted: Wed Jan 16, 2019 6:58 am    Post subject: Reply with quote

I now downloaded the correct version...not the dev one.
I forgot to mention that my webserver is now nginx...
My template variables are assigned correctly ( checked that with the debug console ).The codes between {} in the tpl files that contain smarty constants are not compiled :

Code:
<link href="{$smarty.const._URL}/templates/default/style{$ext1}.css" rel="stylesheet" type="text/css" />


{$ext1} is compiled correctly but not my {$smarty.const._URL}

Code:
define('_URL', 'http://my external ip address:8183/sito2/my computer');

Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 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