Bonjour,

Je n’arrive pas à insérer mes dates dans la base, après l’utilisation JQuery :
Voici mes codes :

BaseForm :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$this->setWidgets(array('debut'        => new sfWidgetFormDate(),
      'fin'          => new sfWidgetFormDate()
    ));
 
    $this->setValidators(array(
…..     
      'debut'        => new sfValidatorDate(),
      'fin'          => new sfValidatorDate()
….
    ));
 
Config :
 
public function configure()
  {
  	$dateWidget = new sfWidgetFormInputText();
$this->widgetSchema['debut'] = new sfWidgetFormJQueryDate(array('image'=>'/legacy/images/icon_cal.jpg', 
‘date_widget’=> $dateWidget));
 
	$this->widgetSchema['fin'] = new sfWidgetFormJQueryDate(array('image'=>'/legacy/images/icon_cal.jpg', 
‘date_widget’=> $dateWidget));
  }
Et voici l’erreur :
500 | Internal Server Error | Swift_TransportException
Est-ce que quelqu’un pourrai m’aidé stp ?
Merci par avance.