bonjour,
voila j'ai mis un exemple pour tester le champ de type blob je vois bien le boutton parcourir mais dans insertion il ne connait pas le champ l'erreur est :
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in C:\wamp\bin\php\php5.2.6\PEAR\symfony\util\sfParameterHolder.class.php on line 53
et le champ image et de type blob dans la BD :voici widget :
1 2 3 4 5 6 7 8
| public function configure()
{
$this->setWidgets(array(
'image' => new sfWidgetFormInputFile(),
));
} |
Partager