Hi all !!
I just installed the Ebay listing mod to my store. Everything seems to be working great except for I get this error at the top:
Warning: mktime() expects parameter 2 to be long, string given in /home/jbminima/public_html/includes/modules/current_auctions_module.php on line 116
Warning: mktime() expects parameter 4 to be long, string given in /home/jbminima/public_html/includes/modules/current_auctions_module.php on line 116
And here is what in the php script for that line:
// mktime is the marked time, and time() is the current time.
$target = mktime($hour,$minute,$second,$month,$day,$year);
$diff = $target - time();
$days = ($diff - ($diff % 86400)) / 86400;
$diff = $diff - ($days * 86400);
$hours = ($diff - ($diff % 3600)) / 3600;
$diff = $diff - ($hours * 3600);
$minutes = ($diff - ($diff % 60)) / 60;
$diff = $diff - ($minutes * 60);
$seconds = ($diff - ($diff % 1)) / 1;
I cant figure it out at all. I checked the time zone and its correct.
Anyone else had this problem? Please help...lol