SMARTY - DISPLAYING NOTHING FROM THE DATABASE !
Posted on 2007-10-02
I have used smarty both on LINUX hosting and my own WINDOWS PC.
There is no problems with that.
But I have problems when I use it on WINDOWS hosting.
I have no idea how to fixed it, I search on google, and has browse
this forum with no luck.
Here is my situation :
1. I think I set all permision to templates_c and cache correctly
2. When page is display, I can see that SMARTY is able to write to
my templates_c directory,
but SMARTY can't read or write to those files.
I got warning PERMISION DENIED, and
nothing is display - just a blank page.
3. Also I notice that on my templates_c folder, besides
%%1A^1AB^1AB9BADF%%XXXXX.html.php file also
and SMARTY keep adding new XXXX.tmp file everytime display function is called.
Since I am only user, and has no capability to change the server environtment, what else can I do to make it works?
Thanks in advance for your kind help.
The database connection is ok. When I print array values it prints correctly.