This topic is locked

templates_c issues

12/9/2006 11:28:01 PM
PHPRunner General questions
T
TheSaint author

Ever since this new scheme, it causes havoc on production servers. web server folders are not expected to be writable by the web server. So often new projects fail on production. We have various workarounds to make templates_c writable, but I hope a future release will pregenerate whatever goes there. Makeing that directory writable by apache is cumbersome and we think opens up a potential security issue.

Alexey admin 12/11/2006

Hi,
I see what you saying.

We plan to decline the templates_c folder in the next version of PHPRunner.

bbarker 1/19/2008

Hi,

I see what you saying.

We plan to decline the templates_c folder in the next version of PHPRunner.


Was that done? I just installed tonight (One year after the above comment was posted) and the very first thing that I'm struggling with is a templates_c folder permissions error.
It took me 45 minutes to build a site (very impressive!!) but now I've spent over 2 hours trying to debug the login. I still have not successfully logged in yet.
So... question, "Was that done?" I installed Version 4.1.

bbarker 1/19/2008

FOR THE BENEFIT OF THE NEXT POOR SOLE WHO HAS A "templates_c" PERMISSIONS ERROR MESSAGE:
In Vista follow these steps:
OPEN EXPLORER

Go to "templates_c" directory

Right click directory name

Click on PROPERTIES

Click SECURITY
IN GROUP OR USER NAMES:

click in order to highlight "Users(<servername>\Users)"
IN PERMISSONS FOR USERS

click in column ALLOW, next to WRITE, So it adds a checkmark
Click OK

-----This should have stopped your errors now.-------