Download & Extend

Error Message on acidfree album is shared

Project:Acidfree Albums
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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.

AttachmentSize
acidfreemodule.zip27.86 KB

Comments

#1

Priority:normal» critical

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

#2

Adding a .htaccess file into the acidfree folder solved this problem.

All the file say is:

php_value session.cookie_domain MY.DOMAIN.COM

#3

Here'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.

#4

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

#5

Status:active» closed (won't fix)

Closing. 2 years of inactivity.

nobody click here