failed to add to file set

Permalink
Hi,

I created some custom page type icons. Uploaded them and added them to a file group called "Page Type Icons". I save and everything looks fine. But nothing is added to the file group. I created other file groups and nothing will save to the file groups.

Any ideas?

thanks,
Anthony

apc123
 
mkly replied on at Permalink Reply
mkly
Hello,
Couple possible ideas.

1. Did you remember to click "Update" after checking the box for the file set. Sometimes when people first add them, they think(because it is a bit confusing) that that is the button to click, when in reality, they need to click the button at the bottom.

2. Try this as the "admin" user in case you have a permission settings issue going on.

Best Wishes,
Mike
apc123 replied on at Permalink Reply
apc123
Hi,

I clicked update, checked the box, made sure to wear rubber soled shoes, and logged in as admin. Still doesn't work.

-Anthony
mkly replied on at Permalink Reply
mkly
Indeed, I feel like you are doing that correctly as it isn't too complex. Which version of concrete5 is this? Is it possible you could do a test upgrade on a staged site to see if that fixes it? If you can try the latest and it still doesn't work, could you open a bug report at

http://www.concrete5.org/developers/bugs...

Most helpful part of that bug report would be your Environment Information from the site.

Best Wishes,
Mike
apc123 replied on at Permalink Reply
apc123
Thanks for the replies. This site is running 5.6.1.2 on AWS.
Unfortunately, the client does not have the resources for me to throw up another instance with the latest version.

For now I can manually make the change in the DB but was wondering if there is something I should be looking for that might cause this to happen.

-Anthony
mkly replied on at Permalink Reply
mkly
I understand with the additional instance. I can't remember any fixes for file sets in 5.6.2 anyway, so it's not likely it would be a fix anyway.

When you mention AWS, you aren't using one of the patches out there that stores files on S3? I have one(not public) that I play with. You can check their Environment Information, which list overrides for changes to stuff like
/libraries/file/importer.php
and a couple others.

Other things to help you troubleshoot this. The "Update" button you click to add the file calls a tools file
/concrete/tools/files/add_to.php
which checks one File Permission named "Access File Manager". Then it includes an element
/concrete/elements/files/add_to_sets.php
Which checks a couple permissions and some other things.

Don't know how much all of that will help, but might point you in the right direction.

Best Wishes,
Mike
mkly replied on at Permalink Reply
mkly
I will add, that if you are the admin user(meaning username "admin"), permission checks are essentially just skipped, so if something is still happening as admin its a safe bet it's not permissions related.

Best Wishes,
Mike