Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Tim Schwartz
    @timatron_twitter
    hey @poplarmedia as per your modifications you made to index.php with the 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
    if anyone is interested, we setup a new npm build with hot reloading so that we can do frontend styles on the fly and see them in action. feel free to ping me
    CollectiveAccess
    @collectiveaccess
    @poplarmedia @timatron_twitter Modifying headers.conf is the best way to do it
    ericwm
    @eriwm
    @poplarmedia
    Hi, I am happy to share my mapping with you but not sure how I can post it on gitter - if you want you can email me at maws@cybersmart.co.za.
    Eric
    poplar media
    @poplarmedia
    @timatron_twitter @collectiveaccess thanks for that feedback!
    poplar media
    @poplarmedia
    @eriwm emailing--thank you! --Matt
    Matías Butelman
    @mbutel_twitter
    Hey. Does anybody know how am I supposed to use geonames? Does it import names I select and then users can choose from those? Can I import from CSV to a geonames element?
    poplar media
    @poplarmedia
    @collectiveaccess Is email configuration in Providence is no longer in setup.php as of r1.7.9 as it was in older 1.7.x releases. Is this now in a different file or do I need to add the details to setup.php?
    CollectiveAccess
    @collectiveaccess
    @poplarmedia Email setup is exactly the same. The constants for it are in commented line in the 1.7.9 setup.php.
    @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.
    poplar media
    @poplarmedia
    @collectiveaccess More specifically, take a look at lines 59-98 of 1.7.6: https://github.com/collectiveaccess/providence/blob/1.7.6/setup.php-dist
    vs. lines of 69-77 of 1.7.9: https://github.com/collectiveaccess/providence/blob/1.7.9/setup.php-dist
    Can I still use the code of 1.7.6 in 1.7.9? Should this be added back in 1.8 release? Was there a reason it was removed? Thanks!
    CollectiveAccess
    @collectiveaccess
    You can use that code in the current setup.php format
    The constants are still in the current setup.php-dist file, commented out with an explanation
    Nothing has changed functionally
    epong
    @epongduhpple_twitter
    Hi, everyone and @collectiveaccess! I am a newbie in CA and do not have a background in coding. I simply follow forums and threads like this in troubleshooting my CA installation. May I ask if you could help me with the error message "CSRF token is not valid"? I havent successfully uploaded any media file because of this error. Your help would be very much appreciated. Thanks!
    CollectiveAccess
    @collectiveaccess
    @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.
    You will need to raise the limit set by upload_max_filesize and post_max_size in your system's php.ini file to a value larger than the largest file you expect to upload
    Matías Butelman
    @mbutel_twitter

    @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!

    Lert Wasana
    @lertnice_twitter
    If I added some records into demo.collectiveaccess.org, would the web delete them automatically? Or I have to delete them manually.
    epong
    @epongduhpple_twitter

    @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!

    CollectiveAccess
    @collectiveaccess
    @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.
    @lertnice_twitter The demo is reloaded nightly. Anything you add will be gone by morning in New York.
    epong
    @epongduhpple_twitter

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

    epong
    @epongduhpple_twitter
    I still get the same error message
    CollectiveAccess
    @collectiveaccess
    Don't forget to restart the web server
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess Thanks!
    epong
    @epongduhpple_twitter
    Don't forget to restart the web server
    I did. But the problem now is that I cannot access my phpmyadmin. :( There is only blank page loading.
    Lert Wasana
    @lertnice_twitter
    What's the default search engine for providence1.7.9? Is it elasticsearch? The search result returns a weird screen when I search for a part of a title, but it works well if searching for the full title. The tested language is Thai.
    CollectiveAccess
    @collectiveaccess
    It's the built-in SQL search engine.
    cmberea
    @cmberea

    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

    maksim m
    @maxvandl
    Hi i face a problem indexing from web interface drop down on the middle
    i use installation in kubernetes
    and redis
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess Is the built-in SQL search engine the Zend Lucene search engine? Do you have any plan to review the searching module for non-English?
    CollectiveAccess
    @collectiveaccess
    It works for languages other than English. We have not tested extensively with non-Roman character sets.
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess FYI, it works well on Thai language (using utf8mb4_unicode_ci), but the problem is on the records retrieval.
    CollectiveAccess
    @collectiveaccess
    What's the problem?
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess I test on the demo web and the problem seems gone.... what is the CA version the demo web uses? Running on CentOS?
    @collectiveaccess With Windows and 1.7.9, I cannot search any record in Thai. No idea what causes the problem.
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess Could you check the demo web now? Firstly, in the basic search trying the keyword, "เอกสาร". Secondly, trying 'ปิด*'. You may see the problem I mentioned.
    cmberea
    @cmberea

    @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?

    CollectiveAccess
    @collectiveaccess
    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
    @lertnice_twitter Sorry I missed it
    Lert Wasana
    @lertnice_twitter
    @collectiveaccess You may add an object, id= whatever, title=' เอกสารการปิดหอจดหมายเหตุ' , then trying the basic search with 'เอกสาร' returns the record. But trying with 'ปิด*' returns none with a weird display.
    cmberea
    @cmberea

    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?

    Tac Tacelosky
    @tacman
    I seem to have lost the link to the discord channel, can someone please re-post it?
    CollectiveAccess
    @collectiveaccess
    @tacman It's a slack channel
    There's a link to it on this page: https://collectiveaccess.org/news/
    Tac Tacelosky
    @tacman
    ah, no wonder I couldn't find it on discord!