These are chat archives for collectiveaccess/support
Hi! In my Pawtuckt2 Application, in the ca_objects_default_html.php, I’d like to use a metadata element linked with a related occurrence in some custom PHP Code. I know that I can use
$t_object = $this->getVar('item'); declared in the PHP Part right on top (see https://github.com/collectiveaccess/pawtucket2/blob/8d3e7889181308142dd2f42700b9fc595262c07c/themes/default/views/Details/ca_objects_default_html.php#L29) in my PHP Code like
$str = $t_object->get('ca_objects.metadata-element-code');
How can I access the value of
ca_occurrences.related.wikidata in my custom PHP code? Thanks!
We are facing performance issues with Collective Access systems. We are using about 10 Collective Access systems; all of them are quite slow.
The slowness has increased to a point that we are now looking for a tangible solution to this problem. In this regard, we would like to get feedback from other users of Collective Access, whether their Collective Access systems are slow as well or we are the only one facing this problem.
All of our Collective Access systems show slowness in all kinds of operations. From login to search, from viewing a record in editor to saving a record.
Login to Collective Access sometimes takes several minutes, loading an object in object editor takes several seconds, etc. Larger exports of search results (let say pdf of 1500 objects) almost never succeed.
We use Collective Access on Centos 7 machine with MySQL database (installed on the same machine to reduce network overhead for database queries).
Number of records in our systems varies from system to system, for example, number of object type records range from 7000 to 50000.
Collective Access version that we use are: 1.4, 1.7.5 and 1.7.6. We are using Collective Access for a long time, in all versions that we have used until now slowness is a common factor.
If you are a Collective Access user please respond, as your response will help us understand whether this is a common problem among all users or not.
Thanks in advance for your response.