Jump to content

White blank page


timcoweb

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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 1095
You 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.

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