Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Ebay Listing


Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...