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

3.1.30 503 with nocache=true

 
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 -> Bugs
View previous topic :: View next topic  
Author Message
adn
Smarty Regular


Joined: 31 May 2011
Posts: 91

PostPosted: Sat Sep 03, 2016 10:54 am    Post subject: 3.1.30 503 with nocache=true Reply with quote

Hello,

I switched from 3.1.28 to 3.1.30 and I got a regression using plugins as

Quote:
{plugin nocache=true}


No trace in log but a 503

I solved this pb by doing

Code:
{plugin nocache}


Thanks
_________________
http://www.letsGarden.info
Back to top
View user's profile Send private message Visit poster's website
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Mon Sep 05, 2016 7:58 pm    Post subject: Reply with quote

That "nocache=true" was never in the documentation, did it?
Someone was making bad templates for you. You were right to fix it that way.
Back to top
View user's profile Send private message
adn
Smarty Regular


Joined: 31 May 2011
Posts: 91

PostPosted: Tue Sep 06, 2016 6:35 am    Post subject: Reply with quote

I saw that in differents places that's why I used it sometime

You can see that here in the doc
http://www.smarty.net/docs/en/language.syntax.attributes.tpl

Quote:
{include file="header.tpl" nocache} // is equivalent to nocache=true


or here in the forum
http://www.smarty.net/forums/viewtopic.php?p=65927
or here in the doc

etc...
_________________
http://www.letsGarden.info
Back to top
View user's profile Send private message Visit poster's website
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Sep 06, 2016 5:10 pm    Post subject: Reply with quote

Interesting. I didn't notice that bit. That makes it indeed a bug. Can you file an issue on github for it?
Back to top
View user's profile Send private message
adn
Smarty Regular


Joined: 31 May 2011
Posts: 91

PostPosted: Tue Sep 06, 2016 5:29 pm    Post subject: Reply with quote

OK done, thanks
_________________
http://www.letsGarden.info
Back to top
View user's profile Send private message Visit poster's website
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Thu Sep 15, 2016 3:21 am    Post subject: Reply with quote

This has been fixed in the master branch
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 -> Bugs 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