These are chat archives for collectiveaccess/support

24th
May 2016
mrjayviper
@mrjayviper
May 24 2016 00:05

@stefan

  1. I am not sure if LDAP is an issue since I am logging in using LDAP. In fact, my CA acct --was not-- created manually. It was created when I logged in the first time using my LDAP account. And ever since, I am logging in using my LDAP username/password.
  2. I tried the ^ca_entities.preferred_labels.displayname%restrictToRelationshipTypes=artist --and-- the nested example. still getting non-artists.
  3. I'll look into it.

Thanks very much for the help! :)

mrjayviper
@mrjayviper
May 24 2016 05:31
This message was deleted
@stefankeidel
  1. I got my time out working for increasing the max_execution_time setting in php.ini
  2. got my custom ID working as well using the link you provided
    Thanks a lot! :)
mrjayviper
@mrjayviper
May 24 2016 05:53
hi again. Is it possible to disable the clicking of "Procedure" and completely remove "Reference" that's under the "New" menu?
http://i.imgur.com/wnKJRKn.jpg
I had a look under list/vocabolaries. As a test, I disabled "Procedure" under "occurrence types" list but I can still click on "Procedure". Thanks
mrjayviper
@mrjayviper
May 24 2016 07:03
This message was deleted
Stefan
@stefankeidel
May 24 2016 08:52
@mrjayviper Can you make a separate forum thread for your display template problem? It's getting kind of hard to keep track of all the info here.
For procedure and reference, you'll have to keep in mind that the menu bar is being cached. You may have to log out and back in for any changes to take effect.
You may also want to look into the ca_occurrences_dont_show_in_new_menu setting in app.conf if you only want to hide these types from tne "New" menu (so they can still be created from other places, like QuickAdd or direct links)
PMassoels
@PMassoels
May 24 2016 11:56
Hi there
I try to deploy CA on the server but the menu appears to have disappeared
and i get an access denied for every route
logged in as administrator
any idea what the problem could be?
Stefan
@stefankeidel
May 24 2016 12:33
Not without looking at the server. Sounds like you're possibly missing some files?
PMassoels
@PMassoels
May 24 2016 12:52
All files should be in place
One link is available , if i click it i get a restricted access warning
Stefan
@stefankeidel
May 24 2016 12:54
hard to say what's going on without more info
PMassoels
@PMassoels
May 24 2016 13:02
There are no errors in the error log, if the code wasn't complete it should give me an error somewhere
Stefan
@stefankeidel
May 24 2016 13:10
Where did you grab the code?
PMassoels
@PMassoels
May 24 2016 14:21
github
There are no errors, i only have the admin account in place
But i cant access any page
Errors occurred when trying to access /index.php/system/Preferences/EditUIPrefs:
Access denied
And the links are not visible
Stefan
@stefankeidel
May 24 2016 14:22
Hmm, do you have a local access_restrictions.conf?
PMassoels
@PMassoels
May 24 2016 14:22
no
this line is in app.conf -> allow_fetching_of_media_from_remote_urls = 1
and i copied the navigation.conf
but no changes are made there so far
Stefan
@stefankeidel
May 24 2016 14:23
Try deleting that copy, clear the cache and log in again
PMassoels
@PMassoels
May 24 2016 14:24
that was the first thing i did
Stefan
@stefankeidel
May 24 2016 14:24
This is master-fix?
Did you rename the role code for the admin role in your profile by any chance?
Maybe your admin account wasn't assigned any role
PMassoels
@PMassoels
May 24 2016 14:25
No, sorry
Also checked that
Stefan
@stefankeidel
May 24 2016 14:26
You're using local plugins, right? Try moving those out of the way
PMassoels
@PMassoels
May 24 2016 14:45
the problem was that on deploy user_id 2 was given tot the administrator
changing that made it work
is there a check on user_id somewhere in the code?
Stefan
@stefankeidel
May 24 2016 14:52
There is an option in app.conf that gives user id 1 full admin privileges no matter what
So your admin user didn't have admin privs after all?
PMassoels
@PMassoels
May 24 2016 14:52
On deploy it gave user_id=2 in stead of 1
Stefan
@stefankeidel
May 24 2016 14:52
That shouldn't matter if the right roles are assigned
and one of the roles has full admin access
PMassoels
@PMassoels
May 24 2016 14:53
Their are never any roles assigned on deploy :.
Stefan
@stefankeidel
May 24 2016 14:53
?
PMassoels
@PMassoels
May 24 2016 14:53
every time a do a fresh install of a profile the roles database is empty
Stefan
@stefankeidel
May 24 2016 14:54
You can set roles, groups and logins in profiles
and add an admin account like this:
    <login user_name="administrator" password="dublincore" fname="CollectiveAccess" 
           lname="Administrator" email="info@collectiveaccess.org">
      <role code="admin"/>
      <group code="admin"/>
    </login>
base.xml defines a few roles and groups
PMassoels
@PMassoels
May 24 2016 14:56
aight, thnx :)