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

Update my Smarty

 
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
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Thu Sep 06, 2018 8:05 pm    Post subject: Update my Smarty Reply with quote

Hi

This is my first post, I'm really new using smarty actually I started to used here in my job, one of the problem that we have is that we have the Smarty-3.1.21-dev version, how can we update to the last one?

thank you for your help Smile
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Thu Sep 06, 2018 8:36 pm    Post subject: Reply with quote

Code:
composer update smarty/smarty

It's that simple, yes.
Back to top
View user's profile Send private message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Thu Sep 06, 2018 8:44 pm    Post subject: Reply with quote

Hi, thank you for your answer

Actually I´m working locally, in a wamp server in localhost, later we have to update the server version, how can I do that?

Thank you
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Thu Sep 06, 2018 9:00 pm    Post subject: Reply with quote

How's that related?
If you are trying to say that you are not using Composer, then it's time to start using it.
Back to top
View user's profile Send private message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Thu Sep 06, 2018 10:05 pm    Post subject: Reply with quote

hi AnrDaemon

I know... but it don´t depend on me Smile

Let me ask you something...

Can I download the last version of Smarty and copy out site in smarty folder ?

Is that possible?

thank you
Back to top
View user's profile Send private message
bsmither
Smarty Elite


Joined: 20 Dec 2011
Posts: 322
Location: West Coast

PostPosted: Thu Sep 06, 2018 11:42 pm    Post subject: Reply with quote

It is possible.
https://github.com/smarty-php/smarty/releases/tag/v3.1.32

Just to CYA, rename the project's current Smarty folder to something else.

Unzip. There is a shortcut file in the /libs/ folder that should be deleted. FTP the contents of the /libs/ folder to (what was) the project's Smarty folder.

Delete any cached templates.

Test.

(There would be more to do if working in a dev environment using current best practices.)
Back to top
View user's profile Send private message
Jamarchi
Smarty Rookie


Joined: 06 Sep 2018
Posts: 11

PostPosted: Fri Sep 07, 2018 1:42 pm    Post subject: Reply with quote

Hi bsmither

Thank you for your answer...

Perfect... sound good to me... I´m going to do what you suggested

I will let you know any problem

Thanks
Back to top
View user's profile Send private message
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