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

Smarty 3 Beta 2 Released

 
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 -> Smarty 3
View previous topic :: View next topic  
Author Message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Wed Nov 11, 2009 10:28 pm    Post subject: Smarty 3 Beta 2 Released Reply with quote

The second beta of Smarty 3 has been released! Please join the developer mailing list and see the Smarty 3 section of the forums and give us feedback!

http://www.smarty.net/
Back to top
View user's profile Send private message Visit poster's website
Setor
Smarty Rookie


Joined: 12 Nov 2009
Posts: 5

PostPosted: Thu Nov 12, 2009 3:11 pm    Post subject: Reply with quote

Please remove php close tag or new lines/spaces from smarty source code

Code:

?>
//... some spaces


after including smarty header() not working "Cannot send headers; headers already sent in .... Smarty.php"

Thanx.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Nov 12, 2009 5:50 pm    Post subject: Reply with quote

Which file has trailing spaces?
Back to top
View user's profile Send private message Visit poster's website
Setor
Smarty Rookie


Joined: 12 Nov 2009
Posts: 5

PostPosted: Thu Nov 12, 2009 5:54 pm    Post subject: Reply with quote

All files!
Back to top
View user's profile Send private message
sadness203
Smarty Rookie


Joined: 12 Nov 2009
Posts: 11

PostPosted: Thu Nov 12, 2009 7:14 pm    Post subject: Reply with quote

Setor wrote:
Please remove php close tag or new lines/spaces from smarty source code

Code:

?>
//... some spaces


after including smarty header() not working "Cannot send headers; headers already sent in .... Smarty.php"

Thanx.


Don't know for you, but I don't have this problem.

-----

Here's the changelog for the lazy one out there ! Smile (Between beta 1 and beta 2)

Code:

11/12/2009
- fixed variable filenames in {include_php} and {insert}

11/11/2009
- fixed {foreachelse}, {forelse}, {sectionelse} compiled code at nocache variables
- removed checking for reserved variables
- changed debugging handling

11/10/2009
- fixed preg_qoute on delimiters

11/09/2009
- lexer/parser bugfix
- new SMARTY_SPL_AUTOLOAD constant to control the autoloader option
- bugfix for {function} block tags in included templates

11/08/2009
- fixed alphanumeric array index
- bugfix on complex double quoted strings

11/05/2009
- config_load method can now be called on data and template objects

11/04/2009
- added typecasting support for template variables
- bugfix on complex indexed special Smarty variables

11/03/2009
- fixed parser error on objects with special smarty vars
- fixed file dependency for {incude} inside {block} tag
- fixed not compiling on non existing compiled templates when compile_check = false
- renamed function names of autoloaded Smarty methods to Smarty_Method_....
- new security_class property (default is Smarty_Security)

11/02/2009
- added neq,lte,gte,mod as aliases to if conditions
- throw exception on illegal Smarty() constructor calls
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Nov 12, 2009 9:33 pm    Post subject: Reply with quote

Setor wrote:
All files!


There should be no trailing chars in the distribution files.
Back to top
View user's profile Send private message Visit poster's website
Setor
Smarty Rookie


Joined: 12 Nov 2009
Posts: 5

PostPosted: Fri Nov 13, 2009 9:20 am    Post subject: Reply with quote

Oops, sorry. FTP server on upload added trailing spaces to all smarty files Sad
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 -> 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