Closed (won't fix)
Project:
Acidfree Albums
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 18:18 UTC
Updated:
1 Jan 2011 at 02:04 UTC
I have set the albums as not shared. I am getting the following error message when a user tries to add or edit an image:
warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/html/sites/all/modules/acidfree/acidfree.module on line 584.
How can I fix this? I have attached my acidfree.module file.
| Comment | File | Size | Author |
|---|---|---|---|
| acidfreemodule.zip | 27.86 KB | pschraier |
Comments
Comment #1
pschraier commentedI am still getting this error message when users try to load images. It doesn't show up when the administrator is adding images.
Does anyone have any suggestions?
My users don't think they can load images when they see this message.
Comment #2
pschraier commentedAdding a .htaccess file into the acidfree folder solved this problem.
All the file say is:
php_value session.cookie_domain MY.DOMAIN.COM
Comment #3
end user commentedHere's how I got rid of this error on my system.
Under adminster > categories > edit vocabulary (Acid Free Albums) Make sure Multiple select and Required have a check mark next to them. Once thats check and saved that message goes away. Have no idea why this happens. Although now users can select multiple categories to upload a pic into. This also fixes the mass import problems and deleting image problems.
I'm gonna reinstall acidfree right now and see if this happens if I don't edit the Acidfree main Vocbaulary.
Comment #4
end user commentedWell i just reinstalled Acid Free and the default set up for the Acidfree Vocab is
On my setup if I change any of these
Hierarchy:
Disabled
Single
Multiple (selected)
Allows a tree-like hierarchy between terms of this vocabulary.
Related terms (selected)
Allows related terms in this vocabulary.
Free tagging
Content is categorized by typing terms instead of choosing from a list.
Multiple select (selected)
Allows nodes to have more than one term from this vocabulary (always true for free tagging).
Required (selected)
If enabled, every node must have at least one term in this vocabulary.
Uncheck these and you'll get errors when uploading or editing images.
Comment #5
mwheinz commentedClosing. 2 years of inactivity.