Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Error talking to server

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 761 Views
  • erwanpia
    Community Member
    63 Posts

    Error talking to server Link to this post

    Hi I get this error when trying to save a record using DateField or CalendarDateField on a CalendarDateField, any hint on debugging that stuff?

    class Event extends DataObject {

    static $db = array(
    'Lieu' => 'Text',
    'CodePostal' => 'Text',
    'DateDebut' => 'Date',
        'DateFin' => 'Date'
    static $has_one = array(
    'MyProject' => 'Project'
    function getCMSFields_forPopup() {
    $fields = new FieldSet();
    $fields->push( new TextField( 'Lieu' ) );
    $fields->push( new TextField( 'CodePostal' ) );
    $fields->push( new CalendarDateField( 'DateDebut' ) );
    $fields->push( new CalendarDateField( 'DateFin' ) );
    return $fields;


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.