Content-Security-Policy
-- I ended up copying header.conf
from the app directory down into my theme, and added the specific domains there, that auto gets loaded and overrides the app's versions. was easier than modifying the code base
@mbutel_twitter You can import data into GeoNames values from CSV (or whatever). Values in the form [id:<geonames id>] would be brought in a references to that ID. If you pass in the name of a place, it'll search on GeoNames and import whatever the first returned match is.
thanks!
@epongduhpple_twitter This only happens when uploading media? The most likely cause if the size limit for uploaded files being set too low in your PHP installation.
Hi, CA!
I've edited the php.ini file and set the max file size to 10GB. But I encountered this error message afterwards:
Fatal error: Out of memory (allocated 134479872) (tried to allocate 32768 bytes) in /opt/lampp/htdocs/ca/app/lib/Plugins/Media/GD.php on line 385.
What could be the problem? Thanks in advance!
@epongduhpple_twitter You should up memory_limit in php.ini to a larger value. 128m (the default) should be enough, but if you're uploading large images (looks like that's what you're doing) it won't be. Set it to 384m and see how that goes.
When I checked the memory_limit in php.ini, it's set to 512MB.
I'm running CA 1.7.8 and using direct object-location storage tracking.
I've tried a lot of things and can't get this to work. Ready to ask for help because I suspect the answer is simple and I just have not imagined it yet.
I have hierarchical storage locations—room:unit:shelf. I know how, in the storage location editor UI, to configure a bundle to display objects assigned (related) directly to that storage location. I want to create a bundle that will show all of the objects related to all of the children of a storage location. My "units" don't have any objects directly assigned, they are only assigned to shelves that are children of the that unit.
I've tried writing various display templates involving "relatedTo=", <unit></unit>,".hierarchy.", ".children." ".related." etc. and using these within the Storage Locations Related Objects Bundle Specifier. None of them results in bubbles of the children, just empty bubbles for objects directly related.
Can someone point me in the right direction. In short, when I'm looking at unit, I want to see all of the objects assigned to the shelves.
Thanks! -CM, Berea College, Kentucky
@collectiveaccess or anyone else. I can't believe I did not notice this before now. My CA installation, which I initially installed using the CDWA-Lite Profile, does not allow access to relationships types for ca_object_x_object_representation. This relationship does not appear in the relationship types configuration UI, nor in the dropdown to create relationship UIs. However, this page: https://docs.collectiveaccess.org/wiki/Relationships lists it as one of the available relationships. I can create relationships between an object and an object representation. However, once done, it appears with type NULL. So clearly the relationship exists, but I can't seem to give it a type or edit it.
Is this a flaw in my configuration or a feature of the data model?
If a flaw in my config, is there a way I can fix it?
ca_objects_x_object_representation is the one relationship that does not support relationship types It's the data model, not a problem with your configuration
@collectiveaccess I realize now also, I had adjusted for this by assigning types to object representations that describe their relationship to to the object, entity, place, etc. Is this best practice? Or is there a better practice?