|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
saggammahesh Smarty n00b
Joined: 31 Mar 2014 Posts: 2
|
Posted: Mon Mar 31, 2014 11:45 am Post subject: Any PHP extensions needs to be enabled for smarty? |
|
|
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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Mar 31, 2014 6:22 pm Post subject: |
|
|
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 |
|
saggammahesh Smarty n00b
Joined: 31 Mar 2014 Posts: 2
|
Posted: Sat Apr 05, 2014 5:03 am Post subject: |
|
|
Thank you. Issue solved. Looks like smarty is expecting 777 permissions. Previously i have given 775 permissions. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Apr 05, 2014 11:06 am Post subject: |
|
|
It's not Smarty. The Internet serve like Apache must have write permissions to the folders.... |
|
Back to top |
|
|
|
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
|