timcoweb Posted July 5, 2009 Share Posted July 5, 2009 After installing the WHMCS, I am receiving a white blank page. I put the "$display_errors = true;" in my configuration file and then ran the admin login again and received the following error message - Fatal error: Template error: the $compile_dir '/home/gcbilling_folder/templates_c/' does not exist, or is not a directory. in /home/gcwebpro/public_html/gcbilling/includes/smarty/Smarty.class.php on line 1095 I have moved the attachments, documents and templates_c folders into another folder after changing the permissions and added the extra lines of code into my configuration file. 0 Quote Link to comment Share on other sites More sharing options...
Stream101 Posted July 5, 2009 Share Posted July 5, 2009 You will need to double check that the templates_c directory is CHMODDED to 777 0 Quote Link to comment Share on other sites More sharing options...
timcoweb Posted July 6, 2009 Author Share Posted July 6, 2009 all folders were CHMOD to 777 0 Quote Link to comment Share on other sites More sharing options...
timcoweb Posted July 6, 2009 Author Share Posted July 6, 2009 I used the security measures at "http://wiki.whmcs.com/Furthur_Security_Steps" and created a new "gcbilling_folder" folder under my /public_html/ directory (same as my whmcs or gcbilling after changing it) and placed the three folders (attachment, documents and templates_c) in that new folder and the folders CHMOD to 777 and also set the "gcbilling_folder" folder to CHMOD 777 also 0 Quote Link to comment Share on other sites More sharing options...
bear Posted July 6, 2009 Share Posted July 6, 2009 I used the security measures at "http://wiki.whmcs.com/Furthur_Security_Steps" and created a new "gcbilling_folder" folder under my /public_html/ directory (same as my whmcs or gcbilling after changing it) and placed the three folders (attachment, documents and templates_c) in that new folder and the folders CHMOD to 777 and also set the "gcbilling_folder" folder to CHMOD 777 also This is not a good idea. Those writable folders need to be out of publicly accessible areas or the odds of getting compromised increase dramatically. /home/username/public_html They should be in username, not public_html 0 Quote Link to comment Share on other sites More sharing options...
timcoweb Posted July 6, 2009 Author Share Posted July 6, 2009 ok, but this is not causing my white blank page problem...correct? 0 Quote Link to comment Share on other sites More sharing options...
Chance Posted July 6, 2009 Share Posted July 6, 2009 (edited) Did you go into configuration.php file (located in the root of whmcs install) and specify where the admin, compiled templates, and attachment directories are located? $templates_compiledir = "/home/whmcs/templates_c/"; $attachments_dir = "/home/whmcs/attachments/"; $downloads_dir = "/home/whmcs/downloads/"; The above are the samples provided by WHMCS documentation. As you already know, you have to edit them to your specific folder path. Based on the error message you included above, it looks as though your whmcs install is looking for those folders in a location that the whmcs scripts may not have access to, since you have listed: $compile_dir '/home/gcbilling_folder/templates_c/' and your whmcs install is located at: /home/gcwebpro/public_html/gcbilling/ Make sure the secured directories are accessible to your whmcs install. Let me know if that helps.... Edited July 6, 2009 by Chance 0 Quote Link to comment Share on other sites More sharing options...
timcoweb Posted July 6, 2009 Author Share Posted July 6, 2009 Yes I did add the code to my configuration file as directed by the install video and as shown above in the last reply... 0 Quote Link to comment Share on other sites More sharing options...
bear Posted July 6, 2009 Share Posted July 6, 2009 I doubt it's causing it. Look at the error for a clue: Fatal error: Template error: the $compile_dir '/home/gcbilling_folder/templates_c/' does not exist, or is not a directory. in /home/gcwebpro/public_html/gcbilling/includes/smarty/Smarty.class.php on line 1095You have the path set to one thing, and the second line shows the right path, presumably. Set the path to /home/gcwebpro/gcbilling_folder and make certain that's where it exists. 0 Quote Link to comment Share on other sites More sharing options...
Chance Posted July 6, 2009 Share Posted July 6, 2009 That's exactly what I was saying as well because it looked to me to be two different folder paths. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted July 6, 2009 Share Posted July 6, 2009 Sorry, Chance...I was still writing that while you'd posted. Basically the same info. Bad path to folder. 0 Quote Link to comment Share on other sites More sharing options...
Chance Posted July 6, 2009 Share Posted July 6, 2009 No harm. Glad I was on the right track. 0 Quote Link to comment Share on other sites More sharing options...
Jake09 Posted July 6, 2009 Share Posted July 6, 2009 timcoweb, I believe your problem may be this: You have renamed the wrong folder. You renamed the "whmcs" folder instead of the "admin" folder. Give it a try. 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.