alexc Posted August 24, 2010 Share Posted August 24, 2010 I have WHMCS working properly. I moved the three folders to /home/username/ as suggested in the documentation for security, and put this into the configuration file. The problem is I then get blank pages. Putting the folders back solves the problem. Folders have 755 permissions (suEXEC). I spent hours on this last night. Any ideas where I'm going wrong? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 24, 2010 WHMCS Support Manager Share Posted August 24, 2010 It suggests that WHMCS can't find the templates_c directory at the new location. Please review: http://forum.whmcs.com/showthread.php?t=21317 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 24, 2010 Share Posted August 24, 2010 Make sure you're using absolute paths for the locations rather than a relative path. '/home/username/templates_c' rather than something like '../templates_c' Not 100% sure it matters, but I would check that first. 0 Quote Link to comment Share on other sites More sharing options...
alexc Posted August 28, 2010 Author Share Posted August 28, 2010 Thanks for the help. I am still having trouble though. Whenever I move the folders to /home/accountname/ and then add the locations in configuration.php I get 500 internal server errors. I have tried chown -R accountname.accountname /home/accountname/templates_c/ etc. but still no luck. I guess it's a permissions issue. I can't see any issues in the cPanel log. Folders are set to 755 and files within 644 (suEXEC). Any idea how to correct this? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted August 28, 2010 Share Posted August 28, 2010 Try deleting everything out of the templates_c directory. (You can safely do this, its just a cache for smarty templates.) 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.