Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    help question PHP Warning mktime() expects parameter 6 to be long

    Hi everyone,

    I'm just trying to help a client figure out why his Zen Cart /cache/myDEBUG-xxxxxxx.log files show this over and over:

    PHP Warning: mktime() expects parameter 6 to be long, string given in /home/****/public_html/cart/includes/functions/functions_general.php on line 1476
    I checked line 1476 in functions_general.php and it simply holds this:

    $date1_set = mktime(0,0,0, $m1, $d1, $y1);
    I've searched the ZC FAQ area as well as this forum and I can't seem to find any explanation or anyone with the same problem.

    Since I'm not the cart owner and I'm just trying to help, I don't have a ton of details but I do know the following information:

    ZC Version - 1.39d
    Environment - Redhat Enterprise Linux, Apache 2.2, PHP 5.13, mySQL 5.1.47

    The store has been live and handling transactions without issues for a long time.

    I'll try to get more details from him ASAP, but I was hoping that in the meantime perhaps someone here has already experienced this kind of issue and knows what needs to be changed.

    Thank you kindly for any help at all!
    Last edited by swguy; 2 Sep 2010 at 12:24 AM.

 

 

Similar Threads

  1. v153 PHP Warning: addslashes() expects parameter 1 to be string
    By BlackOrchidCouture in forum General Questions
    Replies: 2
    Last Post: 17 Sep 2014, 10:47 PM
  2. PHP Warning: addslashes() expects parameter 1 to be string, array given
    By schoolboy in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 10 May 2013, 02:19 PM
  3. Replies: 41
    Last Post: 19 Sep 2012, 04:04 AM
  4. PHP Warning: mktime() expects parameter 6 to be long
    By milkyway in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 29 Dec 2010, 03:19 PM
  5. Replies: 8
    Last Post: 6 Jan 2010, 02:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg