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

Any PHP extensions needs to be enabled for 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 -> Installation and Setup
View previous topic :: View next topic  
Author Message
saggammahesh
Smarty n00b


Joined: 31 Mar 2014
Posts: 2

PostPosted: Mon Mar 31, 2014 11:45 am    Post subject: Any PHP extensions needs to be enabled for smarty? Reply with quote

Hello,

Just i am testing demo code that comes along with smarty 2.6.26. i able to run successfully in my local environment. Same thing i installed in my server and a blank page is showing instead of proper output.

I guess my server is missing some smarty dependencies(PHP modules?). I have checked documentation, i am not able to find any dependencies. Guys if you know dependencies please help me.

Link: http://128.199.206.195/test/demo/
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Mon Mar 31, 2014 6:22 pm    Post subject: Reply with quote

There are no special requirements for PHP modules.

The most likely problem could be that you don't have the right permission for the Smarty folders. template_c and cache needs write permissions.

Check the PHP error log file for errors.

You could also add
ini_set("display_errors", "on");
error_reporting(E_ALL ^ E_NOTICE);
and see if this will provide more information.
Back to top
View user's profile Send private message
saggammahesh
Smarty n00b


Joined: 31 Mar 2014
Posts: 2

PostPosted: Sat Apr 05, 2014 5:03 am    Post subject: Reply with quote

Thank you. Issue solved. Looks like smarty is expecting 777 permissions. Previously i have given 775 permissions.
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sat Apr 05, 2014 11:06 am    Post subject: Reply with quote

It's not Smarty. The Internet serve like Apache must have write permissions to the folders....
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 -> Installation and Setup 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