Jump to content

Smarty Errors?


homeearners

Recommended Posts

I followed the documentation to this part Blank Pages

 

Blank pages can be caused by errors in your customisations to modules or templates, missing files or if your server doesn't meet the minimum requirements for WHMCS. To see exactly what the issue is, you need to ensure display_errors are set to On in your servers php.ini file and the error_reporting level set to 6143. Then add the line $display_errors=true; to your WHMCS configuration.php file and revisit the page. An error message occuring will be shown if it's a PHP error. Once finished testing, remove the line again from the WHMCS config file.

 

and here are the errors I'm getting.

 

 

Warning: Smarty error: unable to read resource: "v4/header.tpl" in /home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

 

Warning: Smarty error: unable to read resource: "v4/homepage.tpl" in /home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

 

Warning: Smarty error: unable to read resource: "v4/footer.tpl" in /home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

 

Now I'm stuck. Filer permissions are set to 644 and folders are 755 as per server requirements on hostgator.

 

I need help getting this fixed please.

Link to comment
Share on other sites

The v4 directory is there. I changed the admin template to a different name as suggested in the docs.

the path above isn't going to the admin folder or the folder I renamed it to.. so how can it be there?

shouldn't it be in the includes folder? I'm a tad confused by this. I'm seeing that it can't be read in includes/smarty/smarty class.php

is there a space in the filename? would that do anything? I'm just trying to figure out why it's not working and I'm getting more and

more turned around. should v4 be in admin or includes? I changed the admin directory to "owner" and put the code in the config.php

file as it said to.

 

/home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

 

Warning: Smarty error: unable to read resource: "v4/homepage.tpl" in /home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

 

Warning: Smarty error: unable to read resource: "v4/footer.tpl" in /home/heartuvg/public_html/host/includes/smarty/Smarty.class.php on line 1093

Edited by homeearners
Link to comment
Share on other sites

found what it was. I had left out a directory in the path in configuration.php.

 

$templates_compiledir = "/home/heartuvg/public_html/host/templates_c/";

$attachments_dir = "/home/heartuvg/public_html/host/attachments/";

$downloads_dir = "/home/heartuvg/public_html/host/downloads/";

$customadminpath = "/home/heartuvg/public_html/host/owner";

$display_errors=true?>

 

left out the path to /host/

 

But still getting the errors. I can see the main site, but not the admin panel.

 

Still getting the smarty errors there. And the v4 folder is present in the "owner"

directory and I looked and the file is there too. So it must be something else.

 

Haven't heard the fat lady sing yet.

Edited by homeearners
Oops spoke too soon...not resolved yet.
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