PHPLD3 bugs on added date for paid sites

Discussion in 'Directories' started by instyle, Dec 14, 2006.

  1. #1
    I have a strange problem with the phpld3. If people submit a free link or exchange link with me, then the add date is correct. But for paid link, paid date is correct, add date is empty!

    Does anyone have similar problem? Thanks a lot for your solution!
     
    instyle, Dec 14, 2006 IP
  2. instyle

    instyle Guest

    Messages:
    314
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If I open submit.php, I found that $pay_data does not have a add_date field. So this is quite common for everyone. Everyone see this?

    $pay_id = $db->GenID($tables['payment']['name'].'_SEQ');
    $pay_data['ID'] = $pay_id;
    $pay_data['LINK_ID'] = $data['ID'];
    $pay_data['IPADDRESS'] = get_client_ip();
    $pay_data['QUANTITY'] = $_REQUEST['quantity'];
    $pay_data['AMOUNT'] = $price[$data['LINK_TYPE']];
    $pay_data['TOTAL'] = (int)$pay_data['QUANTITY'] * (float)$pay_data['AMOUNT'];
    $pay_data['UM'] = PAY_UM;
    $pay_data['PAY_DATE'] = gmdate('Y-m-d H:i:s');
    $pay_data['CONFIRMED'] = -1;
     
    instyle, Dec 14, 2006 IP
  3. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #3
    All my paid submission got its date, did you lost something?
     
    Antonio, Dec 14, 2006 IP
  4. instyle

    instyle Guest

    Messages:
    314
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you post your submit.php? All of my paid submission do not have added date. They are set as default, 1969.
     
    instyle, Dec 14, 2006 IP
  5. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #5
    Download from phpld, I haven't done any change.
     
    Antonio, Dec 14, 2006 IP