Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Potsky

    (@potsky)

    Hello,

    absolutely no idea! Why is the PHP date function returns this date! Have you access to your MYSQL database to check dates in the PSK_S2MSFB_DB_DOWNLOAD_TABLE_NAME table?

    Thread Starter William Blondel

    (@wblondel)

    In the psk_s2msfb_downloads table, there is only this value under the created column :
    0000-00-00 00:00:00

    My host is OVH (perso2014) : PHP 7.0, MYSQL v.5.6

    Thread Starter William Blondel

    (@wblondel)

    I created a show_date.php file in which I put the following code :

    <?php
    echo date('m/d/Y g:ia');
    ?>

    This code returns 12/15/2016 10:38am so it’s working well.

    I think something is going wrong when the extension tries to save the date into the database.

    Plugin Author Potsky

    (@potsky)

    Ok. What is stored in the mySQL table in the created field ?

    Sorry, I did not see your previous post…

    • This reply was modified 7 years, 11 months ago by Potsky.
    Plugin Author Potsky

    (@potsky)

    Ok so this is the problem. The date is not stored in your MYSQL table. I suppose that you use the latest version of WP.

    Can you add some lines of code in plugin on your server to test?

    Thread Starter William Blondel

    (@wblondel)

    Hi!

    Yes I have the latest version of WP.

    Sure, I have access to the files.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stat date is always 01/01/1970 12:00:00’ is closed to new replies.