Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Error talking to server
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Error talking to server | 353 Views |
-
Error talking to server

26 March 2008 at 7:06am
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;
}}?>
| 353 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: xterso, joelg, _Vince
Welcome to our latest member: AlfonsoGrondo

