Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Blank Dashboard in WHMCS admin

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Ricky4001
Smarty n00b


Joined: 13 Feb 2018
Posts: 1

PostPosted: Tue Feb 13, 2018 8:24 am    Post subject: Blank Dashboard in WHMCS admin Reply with quote

Hi guys, I'm getting a blank dashboard on the admin home page in WHMCS and after logging errors I only get "Smarty Error: Data missing", with no error number or anything else to indicate the problem. I've done a full clean install of WHMCS and imported the existing database back in but the problem remains, so it's not missing any files as such.

Any ideas how I can obtain further info to hopefully gain more clues of the origin of the problem?

Thanks
Back to top
View user's profile Send private message
bsmither
Smarty Pro


Joined: 20 Dec 2011
Posts: 171
Location: West Coast

PostPosted: Wed Feb 14, 2018 2:44 am    Post subject: Reply with quote

I would conclude this is an error generated by WHMCS and not by Smarty itself.

A Smarty error may look like:
Exception: lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:6 - Syntax error in template "file:content.tpl" on line 6 "{/if}" unknown tag "ifclose"

I mean, a Smarty error looks like a typical error message with line numbers and an explanation of what is wrong.

What you have may be a message logged from the catch block of a try/catch construct, and the code is missing something to give to Smarty or getting something from Smarty.

Is WHMCS written in PHP? If so, and if you can install the XDEBUG extension for PHP, you may be able to capture the backtrace.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP