ecohosting Posted November 17, 2008 Share Posted November 17, 2008 I have been getting the following error from the whmimport.php script since upgrading. Any issues here wwe sould be concerned about? Warning: date() expects parameter 2 to be long, string given in /home/ecocom/public_html/secure/admin/whmimport.php on line 0 0 Quote Link to comment Share on other sites More sharing options...
ecohosting Posted November 28, 2008 Author Share Posted November 28, 2008 Anything?? 0 Quote Link to comment Share on other sites More sharing options...
sburner Posted July 29, 2009 Share Posted July 29, 2009 I am getting the same error. I am on CentOS 64bit + cPanel and WHMCS Help would be appreciated. 0 Quote Link to comment Share on other sites More sharing options...
Lawrence Posted July 31, 2009 Share Posted July 31, 2009 It sounds like date() is being passed the timestamp and thinks it is a string. A fix is doing something like at this link: http://www.phpf1.com/tutorial/php-string-to-int.html I'm sure Matt and the guys will get it fixed. Technically, it is only a warning, so it probably still works properly in the end. PHP is just complaining because you have your error reporting set to display warnings by default. 0 Quote Link to comment Share on other sites More sharing options...
Firstly Posted April 7, 2010 Share Posted April 7, 2010 For soving your problem you may find information here: php tutorials. 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.