Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Stefan
    @stefankeidel
    Can't do much with a local file path on your computer unfortunately :-)
    ericwm
    @eriwm
    Sorry my mistake - I think this is a similar problem to the one where I did not have a collectiveaccess/workspace directory. It seems as though I also need to create an /image directory as well. I will try this and get back to you.
    ericwm
    @eriwm
    Ok There was no images folder in media/collectiveaccess/. I created one and set permissions but trying to upload now gives an error saying permission for /tilepics are not correct so I will add this folder and see what happens (uploading a jpeg)
    Ok adding /tilepics has solved the problem .
    Stefan
    @stefankeidel
    Hmm, the installer should have created all of those subdirectories when you set up the system
    ericwm
    @eriwm
    Maybe I got something wrong on this side, like using old setup.php or conf files. If it's ok by you just leave it until you release 1.7 meanwhile if I have any further similar problems I'll do a complete clean reinstall.
    Kehan Harman
    @kehh
    @eriwm The directories that should exist in that directory are listed in app/conf/media_volumes.conf, and these should all get created by the installer. If you moved your media directory then possibly these did not move with it?
    @stefankeidel I was afraid you'd say that ;)
    ericwm
    @eriwm
    Hello, This is just an observation. I have just deleted my providence-develop directory and unzipped a new version. Edited a new setup.php and logged in from my browser. Got the usual error messages re permissions etc.. Looked in the media directory and the only files there were - readme and htaccess files. I created /collectiveaccess and then workspace, images and tilepics, set permissions and everything worked ok. Am i doing something wrong that prevents these folders being written to the media directory?
    CollectiveAccess
    @collectiveaccess
    The installer should create them on installation.
    Oops, I'm repeating everyone else :-)
    The odd thing is that the installer should refuse to install if it can't write to the media directory. Is the media directory mounted in some semi-odd way?
    ericwm
    @eriwm
    Such as?
    CollectiveAccess
    @collectiveaccess
    NFS?
    Is it just a plain old directory? If so, what are the permissions?
    ericwm
    @eriwm
    not that I am aware of I am using Ubuntu server
    CollectiveAccess
    @collectiveaccess
    Which version?
    ericwm
    @eriwm
    permissions are 777 vers 14.04.1
    CollectiveAccess
    @collectiveaccess
    ok, then that's just odd. When you install those media subdirectories (images, workspace, tilepics, etc.) are consistently never created?
    ericwm
    @eriwm
    no - maybe I should try setting the permission on the media directory immediately after I unzip 1.7
    CollectiveAccess
    @collectiveaccess
    As long as you do it before you install it should work
    you're running develop code? Or the 1.6.1 release?
    ericwm
    @eriwm
    Ok I will give it a try. I did another unzip and set the media directory permission to root before logging in from browser. Same result no subdirectories in media.
    yes using develop code
    Stefan
    @stefankeidel
    You are running the installer after you unzip, right? Or are you just plugging in an existing database? The installer can't create anything if you don't run it, obviously
    ericwm
    @eriwm
    That's probably where I have gone wrong - will dump everything again and start from scratch.
    CollectiveAccess
    @collectiveaccess
    ah...
    good call Stefan. Didn't think of that one :-)
    ericwm
    @eriwm
    Hi all, Don't want to waste too much more of your time but can I use a saved profile from my 1.6.1 install in a 1.7 new install if so where do I put the file ? .I have tried putting it profiles/xml as collectiveaccess.xml but cannot access it from the install menu.
    Stefan
    @stefankeidel
    That's the right location ... the name of the profile in the dropdown might be different though. It's taken from the <profileName/> element in the XML file
    To be clear, you're talking about <ca_root>/install/profiles/xml/, yes?
    Oh, and to answer the question: Yes, you should be able to use a profile export. Might have to tweak a few lines because we got rid of a couple of bundle but it should mostly work
    ericwm
    @eriwm
    Thank you I will try it.
    ericwm
    @eriwm
    Tried it and got this error - There were errors parsing the profile(s): Profile validation failed. Your profile doesn't conform to the required XML schema.
    Stefan
    @stefankeidel
    Well there probably is a very small (and fixable) schema error in the exported profile. Try running it through a XML validator like xmllint yourself to find out where it is
    Usually it's idnos/codes that are being cut off by the profile exporter causing violations of some of the uniqueness contraints we impose on profiles (e.g. a placement code has to be unique within a screen)
    ericwm
    @eriwm
    xmllint did the trick after running this on my xml file and then copying into the xml folder my file appeared in the drop down list and installation completed with only one error namely invalid type for ui code bundle_mapping_editor_ui
    Stefan
    @stefankeidel
    That's an editor for the very old and never finished importer. You can just delete that entire <userInterface> block
    ericwm
    @eriwm
    Ok 1.7 up and running with all correct media directories. My mistake from the beginning with the install not running. Thank you all for your time and patience. Eric
    Stefan
    @stefankeidel
    @eriwm Just to be clear: There is no v1.7 yet. You grabbed a random snapshot of our development code, which changes multiple times a day!
    ericwm
    @eriwm
    Understood, just wanted to get hold of the restrict bundle display by type so as to avoid having to create 30 separate screens for my model. I will update providence-develop once you release the next version.
    Stefan
    @stefankeidel
    Ah, yes. That makes sense. Let us know if you happen to find anything odd.
    mrjayviper
    @mrjayviper
    @keff thanks a lot (re: summary displays)
    mrjayviper
    @mrjayviper
    if I delete a metadata element (e.g. a text element) or a sub-element (e.g. list/date/etc) within a container, does this delete the table field too? I created an a container with a text sub-element but I don't know where it is in the DB. thanks
    Stefan
    @stefankeidel
    They're just rows in ca_metadata_elements, referenced by ca_attributes and ca_attribute_values. If you delete an element, all values are deleted too.
    sterlingjenson
    @sterlingjenson
    About a month ago, I mentioned the possibility of putting together a guide on how to create containers via the UI. I finally found sometime to go over and review my original directions to get them to a point where I feel like I can share them. Where should I email the documentation and images?
    Stefan
    @stefankeidel
    sterlingjenson
    @sterlingjenson
    Sent. Hopefully, someone will find it helpful.
    ericwm
    @eriwm
    Back again,
    ericwm
    @eriwm
    Back again, providence-develop, as per my earlier post I am now able to upload mapping templates but when I click on the Import Icon I get the following error message - [1605] File type is not supported (File->divineFile() [/var/www/providence-develop/app/lib/core/BaseModel.php:5675] [/var/www/providence-develop/app/lib/core/BaseModel.php:2457] [/var/www/providence-develop/app/lib/core/BaseModelWithAttributes.php:470] [/var/www/providence-develop/app/lib/ca/BundlableLabelableBaseModelWithAttributes.php:244] [/var/www/providence-develop/app/models/ca_data_importers.php:1013] [/var/www/providence-develop/app/controllers/batch/MetadataImportController.php:121] [/var/www/providence-develop/app/lib/core/Controller/RequestDispatcher.php:273] [/var/www/providence-develop/app/lib/core/Controller/AppController.php:112] [/var/www/providence-develop/index.php:114] Templates are the same I used in 1.6 i.e xlxs and the spreadsheet is file to import is on .ods format. The error message appears before I have chosen the file to upload. The mapping templates appear in media/collectiveaccess/workspace. Any advice would be appreciated.