Jump to content

Admin is blank page


neveryonas

Recommended Posts

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

Link to comment
Share on other sites

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 by DCS-Online
Link to comment
Share on other sites

  • WHMCS Support Manager

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/";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated