Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    PMassoels
    @PMassoels
    any idea what the problem could be?
    Stefan
    @stefankeidel
    Not without looking at the server. Sounds like you're possibly missing some files?
    PMassoels
    @PMassoels
    All files should be in place
    One link is available , if i click it i get a restricted access warning
    Stefan
    @stefankeidel
    hard to say what's going on without more info
    PMassoels
    @PMassoels
    There are no errors in the error log, if the code wasn't complete it should give me an error somewhere
    Stefan
    @stefankeidel
    Where did you grab the code?
    PMassoels
    @PMassoels
    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
    Hmm, do you have a local access_restrictions.conf?
    PMassoels
    @PMassoels
    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
    Try deleting that copy, clear the cache and log in again
    PMassoels
    @PMassoels
    that was the first thing i did
    Stefan
    @stefankeidel
    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
    No, sorry
    Also checked that
    Stefan
    @stefankeidel
    You're using local plugins, right? Try moving those out of the way
    PMassoels
    @PMassoels
    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
    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
    On deploy it gave user_id=2 in stead of 1
    Stefan
    @stefankeidel
    That shouldn't matter if the right roles are assigned
    and one of the roles has full admin access
    PMassoels
    @PMassoels
    Their are never any roles assigned on deploy :.
    Stefan
    @stefankeidel
    ?
    PMassoels
    @PMassoels
    every time a do a fresh install of a profile the roles database is empty
    Stefan
    @stefankeidel
    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
    aight, thnx :)
    mrjayviper
    @mrjayviper
    Hi all. I'm trying to delete an element within a container. this element has had data imported into it. When trying to delete the element, I am getting this message "Can't delete item because it has sub-records".
    mrjayviper
    @mrjayviper
    please ignore the thing above (can't delete issue). I thought I didn't submit it. my mistake. sorry!
    GautierMichelin
    @gautiermichelin
    Hello Stefan and others
    just to have a small confirmation, I think I met a bug lately : I have a container materiaux_tech_c ; containing 2 more containers : materiaux_c and techniques_c. Both the last ones have one list field inside : materiaux and techniques.
    Normally I should do a $vt_object->get("materiaux_tech_c") to get the values in the display format defined in the metadata. I'd like to have only the value for "materiaux". I've tried a get with "ca_objects.materiaux_tech_c.materiaux" but the answer is blank (and I'm sure I have a value).
    Stefan
    @stefankeidel
    That should work -- if all the codes are correct. What kind of field is it and what version are you running?
    GautierMichelin
    @gautiermichelin
    if I do $mycaobject->get("ca_objects.materiaux_tech_c"); I get the correct values (for example 10367:11243) ; if I do $mycaobject->get("ca_objects.materiaux_tech_c.materiaux") I have nothing
    this is latest master-fix