I have this message but nothing is empty when i submit
php 5.3
hoster : ovh
* Notice: Undefined property: stdClass::$galerie_api_key in galerie_flickr_node_insert() (line 152 of /xxx/sites/all/modules/galerie/galerie_flickr/galerie_flickr.module).
* Notice: Undefined property: stdClass::$galerie_nsid in galerie_flickr_node_insert() (line 153 of /xxx/sites/all/modules/galerie/galerie_flickr/galerie_flickr.module).
* Notice: Undefined property: stdClass::$galerie_tags in galerie_flickr_node_insert() (line 154 of /xxx/sites/all/modules/galerie/galerie_flickr/galerie_flickr.module).
* Notice: Undefined property: stdClass::$galerie_tags_operator in galerie_flickr_node_insert() (line 155 of /xxx/sites/all/modules/galerie/galerie_flickr/galerie_flickr.module).
* PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'api_key' cannot be null: INSERT INTO {galerie_flickr} (nid, api_key, nsid, tags, tags_operator) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3,
:db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => 17 [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => ) in galerie_flickr_node_insert() (line 157 of /xxx/sites/all/modules/galerie/galerie_flickr/galerie_flickr.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | file_directory_path_error.patch | 3.05 KB | julien |
| #4 | file_directory_path_error.patch | 2.85 KB | julien |
| #3 | file_directory_path_error.patch | 1.7 KB | julien |
Comments
Comment #1
Manu13 commentedcreate galery from a directory is not possible too
Une erreur HTTP AJAX s'est produite.
Code de statut HTTP : 200
Informations de débogage suivantes.
Chemin: /galerie/ajax/type_form
StatutTexte: OK
ReponseTexte: Fatal error: Call to undefined function file_directory_path() in /*/sites/all/modules/galerie/galerie_directory/galerie_directory.module on line 47
Comment #2
Bèrto ëd Sèra commentedCall to undefined function file_directory_path() here, too. Subscribing
Comment #3
julien commentedHere is a patch for fix this error.
Comment #4
julien commentedAnother patch for this error.
Comment #5
julien commentedUse of a different file directory method.
Comment #6
SeeSchloss commentedfile_directory_path() issues are fixed now, in git and in the next release which will be 1.1, soon.