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

Does not work with php output buffering function

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


Joined: 06 Sep 2012
Posts: 1

PostPosted: Thu Sep 06, 2012 8:02 am    Post subject: Does not work with php output buffering function Reply with quote

At start I was using smarty 3.1.8 which was working, when I change to use the latest version the php output buffering function does not work.

I was trying to use the ob_start, ob_get_contents to output many pages with one smarty template, it did work well with 3.1.8 while I change to 3.1.11 it doesn't work. There was no error message shown but just did not have the template on the page.
Back to top
View user's profile Send private message
bimal
Smarty Elite


Joined: 19 Apr 2007
Posts: 423

PostPosted: Thu Sep 06, 2012 7:57 pm    Post subject: Check your error logs Reply with quote

Have you checked your php's own error log?
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: Sun Sep 09, 2012 10:21 pm    Post subject: Reply with quote

How exactly did you use ob_start, ob_get_contents
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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