neveryonas Posted June 18, 2010 Share Posted June 18, 2010 After installing Whmsc, and logging into admin page, I am getting a blank page. I did change the name of my admin folder. Would that have something to do with it? Warning: Smarty error: unable to read resource: "v4/header.tpl" in /home/ab4958/public_html/clients/whmcs/includes/smarty/Smarty.class.php on line 1093 Warning: Smarty error: unable to read resource: "v4/homepage.tpl" in /home/ab4958/public_html/clients/whmcs/includes/smarty/Smarty.class.php on line 1093 Warning: Smarty error: unable to read resource: "v4/footer.tpl" in /home/ab4958/public_html/clients/whmcs/includes/smarty/Smarty.class.php on line 1093 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 21, 2010 WHMCS Support Manager Share Posted June 21, 2010 Did you add the name of your custom admin folder name to the configuration.php file? http://wiki.whmcs.com/Further_Security_Steps 0 Quote Link to comment Share on other sites More sharing options...
DCS-Online Posted June 22, 2010 Share Posted June 22, 2010 (edited) I have somewhat the same thing. I have moved the attachment, download and template_c dir. outside of the public folders. Now I get this message: Fatal error: Smarty error: the $compile_dir '/whmcs/templates_c/' does not exist, or is not a directory. in /var/www/clients/client1/web4/web/klanten/includes/smarty/Smarty.class.php on line 1093 It's complaining that the dir isn't there that's right I moved them.... <?php $license = "Owned-XXXXXXXXXXXXXXXXX"; $db_host = "localhost"; $db_username = "XXXXXXXXXX"; $db_password = "XXXXXXXXX"; $db_name = "XXXXXXXXX"; $cc_encryption_hash = "4pGv3XXYtmemm"; /* $templates_compiledir = "templates_c/";*/ $templates_compiledir = "/whmcs/templates_c/"; $attachments_dir = "/whmcs/attachments/"; $downloads_dir = "/whmcs/downloads/"; $display_errors = true; $customadminpath = "xxxxxxx"; If I put the dirs back to the public whmcs folder it's all working fine. TIA Appie Edited June 22, 2010 by DCS-Online 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 23, 2010 WHMCS Support Manager Share Posted June 23, 2010 You need to edit the following lines in your configuration.php file and ensure the path you have entered is correct: $templates_compiledir = "/whmcs/templates_c/"; $attachments_dir = "/whmcs/attachments/"; $downloads_dir = "/whmcs/downloads/"; 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.