jpkelly Posted September 3, 2010 Share Posted September 3, 2010 If I try to move the templates_c directory I get a blank screen. Even if i just change the name of "templates_c" to "templates_cx" and change the line in configuration.php to: $templates_compiledir = "templates_cx/"; I get a blank admin page. Any Ideas? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted September 3, 2010 Share Posted September 3, 2010 Did you clear out the contents of the directory? Are you sure the web server has permission to write to it? 0 Quote Link to comment Share on other sites More sharing options...
jpkelly Posted September 3, 2010 Author Share Posted September 3, 2010 Did you clear out the contents of the directory? Are you sure the web server has permission to write to it? I tried clearing the templates_cx directory and I still get a blank page. The templates_cx directory has 777 permissions. It is located in the same directory as templates_c. So i have templates_c and templates_cx directories side by side with the same permissions. When I enter in configuration.php: $templates_compiledir = "templates_c/"; it works. When I enter in configuration.php: $templates_compiledir = "templates_cx/"; it does not work. I also tried putting the templates_c dir in a dir called test (sub dir of whmcs root) and changing the configuration.php line to $templates_compiledir = "test/templates_c/"; and I still get a blank page. I tried emptying browser's cache and two different browsers (FF and Safari) with the same results. 0 Quote Link to comment Share on other sites More sharing options...
jpkelly Posted September 3, 2010 Author Share Posted September 3, 2010 Turning display_errors = On in php.ini and adding $display_errors = true; to configuration.php still gives a blank page. 0 Quote Link to comment Share on other sites More sharing options...
thernes Posted September 6, 2010 Share Posted September 6, 2010 As far as I know, the name of the folder needs to be templates_c If you move it ourside your www-directory, as is the suggested thing to do, you just add the complete path in your config-file; $templates_compiledir = "/home/account/templates_c/"; 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.