Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    CollectiveAccess
    @collectiveaccess
    @babslgam Can you be more specific about what you're trying to do, and with which service?
    naeemmuhammad
    @naeemmuhammad
    @collectiveaccess thanks for the help, it is working fine now. Setting HTTP_X_REQUESTED_WITH header or passing 'download' query string parameter are indeed solutions for the problem i had.
    Jesse
    @blackadder78
    Is there a command line argument for rebuilding hierarchical indices? I'm looking in CLIUtils, but I'm not finding anything.
    Sophie
    @pinkfishies
    @blackadder78 Have you tried rebuild-search-index ? http://docs.collectiveaccess.org/wiki/CaUtils
    CollectiveAccess
    @collectiveaccess
    There is no cliutils command for rebuilding hier indices
    We'll need to add it :-)
    I just created an issue for it
    moronic
    @moronic
    I'm trying to change the value of a set using the set() function, and it seems to change, but does not change in the database. Any idea what is going on?
    CollectiveAccess
    @collectiveaccess
    @moronic Are you loading an existing record? If so then be sure to set the access mode to ACCESS_WRITE
    and then call update() to save
    Eg.
    $obj->set("field", "value");
    $obj->setMode(ACCESS_WRITE);
    $obj->update();
    moronic
    @moronic
    Thank you very much. I just knew I had missed something obvious.
    moronic
    @moronic
    Hehe, I was going to ask about why I couldn't get a method to work. Then I discovered I was using dot notation instead of arrow... I chose my nym with care.
    ericwm
    @eriwm
    Hi All, been away for 6 weeks and now trying to catch up with any new developments in 1.7. Did a git pull this morning and tried viewing an uploaded PDF document. I still have the same problem, which is that the viewer shows on the left hand side thumbnails of all the pages in the document but I cannot get them to open in the main screen. This still has a small rotating block in the middle. Is there possibly something wrong on my side or are you still working on this. Thanks .
    moronic
    @moronic
    When finding sets I get this:
    "PHP Warning: Missing argument 1 for BaseModel::find(), called in /providence/app/lib/core/BaseModel.php on line 10399 and defined in /providence/app/lib/core/BaseModel.php on line 10386"
    Can't seem to figure out what I'm doing wrong with the call.
    Kehan Harman
    @kehh

    @blackadder78

    Is there a command line argument for rebuilding hierarchical indices? I'm looking in CLIUtils, but I'm not finding anything.

    I had to do this last week and here's a gist that does it. Place in the root of your CA install and run using php

    mstrnad
    @mstrnad
    Hi, can I disable the zip-packaging of the downloaded media somewhere? This wasn't happening in previous versions I believe. Thanks
    CollectiveAccess
    @collectiveaccess
    It should only zip when there are multiple files being downloaded, but there are issues with some versions where even a single file ends up zipped. This is definitely fixed in develop
    mstrnad
    @mstrnad
    @collectiveaccess Thanks. We are at 1.6.1, Schema revision 126, Release type GIT. So what you are saying is to reinstall with the latest GIT clone? If there was a way to disable it altogether just in config, I wouldn't mind (no scenario for us when multiple files are downloaded via the providence interface).
    CollectiveAccess
    @collectiveaccess
    No, you don't have to do that.
    I'll push a 1.6.2 release this week
    Kehan Harman
    @kehh
    :+1:
    CollectiveAccess
    @collectiveaccess
    @mstrnad The zip fix is now in the master-fix branch, which is the basis of 1.6.1; I expect to roll up a 1.6.2 branch tomorrow
    ericwm
    @eriwm
    Screenshot from 2016-09-07 16-31-32.jpg
    ericwm
    @eriwm
    Hi, Further to my earlier query regarding progress with 1.7 develop I obviously made an error with my version update. I have since corrected this and see that there is now a new version of the document viewer. I do however seem to have the same problem in that when I try to view a pdf document I cannot get the selected page to show in the main screen. I have attached a screen shot for info. Any advice would be appreciated thanks.
    Sophie
    @pinkfishies
    @eriwm We are actively testing the new viewer - when did you last update version 1.7?
    ericwm
    @eriwm
    @pinkfishies 5 September. I also noted that if I select (in media preferences) browser's (I am using Firefox) built in viewer 1.7 seems to default to its own viewer.
    Jeroen
    @teranex
    Hi. I'm hosting a Collective Access instance, but I'm running in some serious trouble with high load on the server. This seems to be related to image processing. I already changed to queue processing, and setup the cron job to process the queue, but it seems that this causes the server to get a very high load. Initially I was using ImageMagick but due to some colorprofile problems I switched to GD. Is there a possibility to completely disable the tilepic generation, and just view the original image instead?
    CollectiveAccess
    @collectiveaccess
    Yeah, you can do that by modifying media_processing.conf to omit the tile pics versions
    and then edit media_display.conf to use versions other than tilepic for display
    Jeroen
    @teranex
    @collectiveaccess ok, i'll give that a try, thx
    CollectiveAccess
    @collectiveaccess
    You might also want to try install GraphicsMagick + PHP gmagick
    it's much much faster than anything else
    Jeroen
    @teranex
    aha, that is also interesting , thx!
    CollectiveAccess
    @collectiveaccess
    good luck
    Jeroen
    @teranex
    thx :)
    CollectiveAccess
    @collectiveaccess
    @eriwm If your system predates the new viewer you'll need to reprocess your media to generate zoomable versions of each page
    ericwm
    @eriwm
    @collectiveaccess . Thanks for the feedback. I was uploading my media via "add media representation" in an editor screen I named "Object Description" This screen is one of four others under my "Add New Object" . Since my latest update I can no longer access the "Object Description" screen. When I click on this I get a blank screen with Save, Cancel and Delete in the top left hand corner. Now I cannot delete or upload new media via this UI anymore. any suggestions.
    stacia9904
    @stacia9904_twitter
    Our CA site is slow and crashy, and we're getting the following message: [Fri Sep 09 11:06:45.947020 2016] [:error] [pid 5132:tid 880] [client 188.143.232.13:48991] PHP Fatal error: Maximum execution time of 120 seconds exceeded in D:\Apache24\htdocs\app\lib\core\Db\mysql.php on line 298, referer: http://libraryarchives.arlingtonva.us/index.php/Search/advanced/objects Any ideas?
    Also The line 298 mentioned is this: if (!($r_res = mysql_query($vs_sql, $this->opr_db))) {
    CollectiveAccess
    @collectiveaccess
    sounds like a database query is hanging
    I'd look at the MySQL log and process list
    stacia9904
    @stacia9904_twitter
    Hmm, nothing suspicious except perhaps: 2016-09-09 10:39:28 15504 [Note] InnoDB: The log sequence numbers 46823166251 and 46823166251 in ibdata files do not match the log sequence number 46824519938 in the ib_logfiles!
    2016-09-09 10:39:28 15504 [Note] InnoDB: Database was not shutdown normally!
    2016-09-09 10:39:28 15504 [Note] InnoDB: Starting crash recovery.
    CollectiveAccess
    @collectiveaccess
    do show processlist
    are there processes hanging?