SindreM Posted September 9, 2008 Share Posted September 9, 2008 I have changed the time zone of my WHMCS installation by inserting the following line in configuration.php: date_default_timezone_set('Europe/Oslo'); It works fine, but now the cron's give an error: PHP Fatal error: Call to undefined function: date_default_timezone_set() in /home/www/%domain%/configuration.php on line 9 Both PHP 4 and 5 is running on the server. Could it be that the cron is executed with PHP 4 for some reason? 0 Quote Link to comment Share on other sites More sharing options...
SindreM Posted September 9, 2008 Author Share Posted September 9, 2008 Please ignore this post. I found a way to solve it. 0 Quote Link to comment Share on other sites More sharing options...
JaiboGeek Posted September 17, 2008 Share Posted September 17, 2008 Please ignore this post. I found a way to solve it. SindreM can you explain how do you make it work? 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.