ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Channel Date Defaulting to 1970

May 15, 2012 4:08am

Subscribe [1]
  • #1 / May 15, 2012 4:08am

    neale

    1 posts

    I have recently move a site across servers,
    everything has gone well except for the channel entry date is defaulting to 1970-01-01 12:00 AM

    I can change this and it updates however it is a bit of a pain that it’s not today’s date by default.

    I am also getting this PHP error :

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined variable: field_date
    Filename: date/ft.date.php
    Line Number: 82

    I have checked the logs and the server time is correct so am at a bit of a loss, has anyone got any ideas?

  • #2 / May 15, 2012 5:07am

    Bhashkar Yadav

    727 posts

    Hi Neale,

    It doesn’t seem that there is any variable named with field_date into date field file date/ft.date.php.

    Could you please check once by replacing this file from fresh EE.


    Best Regards,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases