bollocks Posted August 26, 2015 Share Posted August 26, 2015 (edited) I just installed WHMCS v6.x on our testserver. We just had a new site built and it seems we can start all over now. I get plenty of the smarty errors despite having checked the 'allow smarty tags' in the configuration. Smarty Error: Unable to load template file 'mysite.nl/includes/alert.tpl' in '/var/www/vhosts/mysite.nl/httpdocs/whmcs/modules/servers/cpanel/templates/overview.tpl' and Smarty Error: Syntax error in template "/var/www/vhosts/mysite.nl/httpdocs/clients/templates/mytemplate/domainchecker.tpl" on line 111 "{foreach from=$tldpricelist item=tldpricelist}" item variable 'tldpricelist' may not be the same variable as at 'from' And then it turns out in the client area when I select 'domains' to get an overview of the registered domain for the particular client I get this jewel: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead' in /var/www/vhosts/mysite.nl/httpdocs/whmcs/includes/classes/WHMCS/Domains.php:0 Stack trace: #0 /var/www/vhosts/mysite.nl/httpdocs/whmcs/includes/classes/WHMCS/Domains.php(0): DateTime->__construct() #1 /var/www/vhosts/mysite.nl/httpdocs/whmcs/clientarea.php(0): WHMCS\Domains::getRenewableDomains() #2 {main} Next exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setti in /var/www/vhosts/mysite.nl/httpdocs/whmcs/includes/classes/WHMCS/Terminus.php on line 0 Also upon checking for an available domain you can select other domains and add them to your order. Once you found the tiny shoppingcart on top of the screen you are immediatly in the last step of the process. No suggestion to add hosting. So do I have to hire someone for a lot of money to fix our entire website/orderingsystem/clientarea because of a single update? If anyone have suggestions how to solve any of the individual problems or a all-in-one solution I would be very gratefull. Thanks. Edited August 26, 2015 by Infopro Catchy Title Modified 0 Quote Link to comment Share on other sites More sharing options...
matts Posted August 26, 2015 Share Posted August 26, 2015 Hi Bollocks ;-) We recently updated to v6.02 and getting some smarty errors too although most functionality is ok other than checkout, which is pretty key when you think about it. It does beg the question for us punters of WHMCS do we upgrade in a Dev environment first. We backed up the whole WHMCS folder on the webserver so roll back is possible did you do this ? Anyway as to who pays for fixing your errors its a good question. The support tickets I logged yesterday other than auto replies I am still waiting, so does this make us pay the $30 priority fee ??? Hope you find a solution I will keep my eye out for you 0 Quote Link to comment Share on other sites More sharing options...
bollocks Posted August 26, 2015 Author Share Posted August 26, 2015 Hi Matts, We upgraded on a dev system first. I'm mostly puzzled by the timezone error that we're supposed to fix in Terminus.php. This seems not a file that is ment for editing... 0 Quote Link to comment Share on other sites More sharing options...
bollocks Posted August 26, 2015 Author Share Posted August 26, 2015 Okay, we solved the timezone thing. In Plesk in PHP settings you can enter it in the custom field and that solves it. The domainchecker.tpl smarty error is also fixed by editing this file. No fix found yet for Smarty Error: Unable to load template file 'mysite.nl/includes/alert.tpl' in '/var/www/vhosts/mysite.nl/httpdocs/whmcs/modules/servers/cpanel/templates/overview.tpl' The file alert.tpl does not exist. Isn't this "servers/Cpanel/" a standard WHMCS module? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 26, 2015 Share Posted August 26, 2015 with regards to the timezone error, take a look at the thread below... http://forum.whmcs.com/showthread.php?102887-My-Domains-Issue&p=426610#post426610 if you can't set the timezone in PHP, you can also add it to the configuration.php file. as to the other issues, my first thought would be to upload all files (apart from install) again to ensure all the files are present. if the new design was based on "Five", then it should work in v6, but difficult to say for certain without seeing it. not that it matters now, but I personally would have delayed any new site design until v6 was released for the reason that you're finding out - the versions are different. - - - Updated - - - The file alert.tpl does not exist.Isn't this "servers/Cpanel/" a standard WHMCS module? it's in the includes directory of the "Six" theme - if you're using a custom based on Six, you might need to copy it across. 0 Quote Link to comment Share on other sites More sharing options...
bollocks Posted August 26, 2015 Author Share Posted August 26, 2015 it's in the includes directory of the "Six" theme - if you're using a custom based on Six, you might need to copy it across. Thanks brian, another problem tackled 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.