Hello,
I installed a fresh scald galaxy 1.5, after update to drupal 7.23, the image pupload doesn't work anymore. I can drag&drop or add a file as usual, after I klick "Continue", i get these errors.
Error:
Notice: Undefined offset: 0 in scald_image_scald_add_form_fill() (line 54 of sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Notice: Undefined offset: 0 in scald_image_scald_add_form_fill() (line 54 of sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
The specified file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
Notice: Trying to get property of non-object in scald_image_scald_add_form_fill() (line 59 sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
Notice: Trying to get property of non-object in scald_image_scald_add_form_fill() (line 60 of sites/all/modules/scald/modules/providers/scald_image/scald_image.module).
when i directly add a Atom in Content/Atoms/+Add atom, it works! But when i add it direct in a Article, than it's broken.
The same thing is, when i install a fresh Drupal 7.23 and the scald module. Same errors.
It is in scald 1.1 and also in the actual 1.x-dev from 17.08.2013
Comments
Comment #1
nagy.balint commentedThis issue is related to the plupload module, as that module has issues currently with drupal 7.23.
There is a patch you can apply on plupload to fix the issue.
#2068203: plupload incompatibility with drupal version 7.23
Comment #2
gifad commentedI have also a PHP notice :
whenever there are multiple providers available for atom type;
This is perhaps related :
Looking at scald.pages.inc history :
suggest that this line 81 could be misplaced, and the form_state somewhat corrupted...
Edit : didn't see nagy's post, submitted while I was mining scald.git...
so it's a separate issue...
Comment #3
jcisio commentedI was marking this as duplicate of #2063161: Multi Upload with plupload broken when using Drupal 7.23. But in a second thought, plupload is only broken in CTools modal and there is change in AJAX form in Drupal 7.23 (#1575060: ajax_html_ids are broken for forms with file element (encoding=multipart/form-data) but I don't see how it is related), so it maybe is because of CTools.
Comment #4
robwj commentedFixed with Plupload Modul 7.x-1.3 https://drupal.org/project/plupload
Thx.
Rob
Comment #5
ccshannon commentedI'm on Plupload 1.7-dev and still seeing the error when using Plupload on modal.
Comment #6
nagy.balint commentedWe are using plupload version = "7.x-1.7" not the dev.
And it works fine for us.
Maybe its an issue in plupload dev, but then please switch to the stable version and try again.