Closed (fixed)
Project:
Node Gallery
Version:
6.x-2.0-alpha11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2009 at 19:55 UTC
Updated:
15 May 2010 at 17:31 UTC
I have followed the tutorial to make a shared image gallery. Everything seems to work fine, except that a warning message appear after an authenticated user press save after uploading a picture. The picture is stored as it should and it looks just fine. The warning message is: "warning: Invalid argument supplied for foreach() in ../includes/form.inc on line 1428." where ../ is my drupal root. Any idea what this could mean? I don't get the warning if I upload as superadministrator.
Comments
Comment #1
kmontyCan you take a screenshot of the form you are trying to submit? Do images exist in the gallery already? Is it a new gallery?
Comment #2
Toxid commentedThis is the form: http://i50.tinypic.com/71it1d.jpg
The description field is a cck text.
This is the error: http://i45.tinypic.com/dow5nb.jpg
As you can see the image I uploaded through the form appears on the lower line to the right.
I also wonder why authenticated user can't chose gallery through the dropdown. It's empty
Comment #3
dbeall commentedIf your not using image descriptions, you can use content_access for this type of gallery which will allow uploads, but not editing. Content_access will also allow choosing the gallery, if it is set that way.
The shared gallery setup was to allow image editing, image additions and image descriptions, but not allow changing the gallery title or gallery description by authenticated users.
Comment #4
dddave commentedSmells like dead...