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).

Comments

Manu13’s picture

create 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

Bèrto ëd Sèra’s picture

Call to undefined function file_directory_path() here, too. Subscribing

julien’s picture

StatusFileSize
new1.7 KB

Here is a patch for fix this error.

julien’s picture

StatusFileSize
new2.85 KB

Another patch for this error.

julien’s picture

StatusFileSize
new3.05 KB

Use of a different file directory method.

SeeSchloss’s picture

Assigned: Unassigned » SeeSchloss
Status: Active » Fixed

file_directory_path() issues are fixed now, in git and in the next release which will be 1.1, soon.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.