IRC log for #koha, 2016-03-28

All times shown according to UTC.

Time S Nick Message
02:54 irma joined #koha
03:04 Francesca joined #koha
03:17 Francesca joined #koha
03:33 Francesca_ joined #koha
03:41 Francesca__ joined #koha
04:12 mario joined #koha
04:37 Oak joined #koha
04:38 * Oak waves
05:01 magnuse joined #koha
05:34 mario joined #koha
06:17 Francesca joined #koha
06:23 SamEEE joined #koha
07:37 Francesca joined #koha
09:17 Francesca joined #koha
09:26 chrisvella joined #koha
11:49 meliss joined #koha
11:49 ericar joined #koha
12:17 kidclamp joined #koha
12:22 francharb Good morning #koha
12:24 kidclamp morning
12:37 nengard joined #koha
12:52 talljoy joined #koha
12:54 cma joined #koha
13:12 JoshB joined #koha
13:17 mario joined #koha
13:34 tcohen joined #koha
13:38 tcohen_ joined #koha
13:41 tcohen morning!
13:51 cait joined #koha
13:51 tcohen hi cait
13:52 cait hi tcohen :)
13:53 amyk joined #koha
13:55 tcohen everyone on easter holiday?
14:00 nengard I'm here :)
14:01 * cait is on easter holiday... but still here :)
14:02 nengard cait++
14:04 cait not sure if that's a ++ :)
14:06 JoshB joined #koha
14:28 tcohen @later tell mtompset i don't think we need shouldhide, at least not in that form. It should definitely call getmarcstructure instead, we are doing a huge effort to cache that to improve speed!
14:28 huginn tcohen: The operation succeeded.
14:42 tcohen Joubu: around?
15:01 cait tcohen++
15:01 tcohen ?
15:19 TGoat joined #koha
15:22 pianohacker joined #koha
15:26 tcohen hi nengard
15:27 nengard :)
15:46 meliss joined #koha
15:48 Dyrcona joined #koha
15:54 rocio joined #koha
16:42 mario joined #koha
17:11 pianohacker jajm: around?
17:16 cait joined #koha
17:33 kidclamp joined #koha
17:34 rocio joined #koha
17:36 cait @wunder Konstanz
17:36 huginn cait: The current temperature in Bodensee Konstanz City, Konstanz, Germany is 15.0°C (7:36 PM CEST on March 28, 2016). Conditions: Clear. Humidity: 21%. Dew Point: -7.0°C. Pressure: 29.71 in 1006 hPa (Steady).
17:37 druthb hi, cait. :)
17:37 cait hi druthb :)
17:37 nengard hey #koha did someone accidentally revert the ability to merge more than 2 records?
17:37 nengard I'm getting an error on master and 3.18.4 that say i can only merge 2
17:38 nengard but I know it worked cause I documented it
17:38 cait hm i think it works only form the list
17:38 cait let me find a bug i filed
17:39 nengard sorry 3.22.4
17:39 nengard not 18
17:39 nengard hehe
17:40 nengard https://bugs.koha-community.or[…]w_bug.cgi?id=8064
17:40 huginn Bug 8064: enhancement, P5 - low, ---, julian.maurice, Pushed to Master , Merge several biblio records
17:40 nengard I wonder if https://bugs.koha-community.or[…]_bug.cgi?id=15358 broke it for cataloging
17:40 huginn Bug 15358: blocker, P1 - high, ---, julian.maurice, Pushed to Stable , does not populate values to merge
17:40 cait bug 15682
17:40 huginn Bug[…]_bug.cgi?id=15682 normal, P5 - low, ---, gmcharlt, NEW , Merging records from cataloguing search only allows to merge 2 records
17:41 pianohacker hey, there's already a bug, woo
17:41 nengard poo
17:41 cait i think we never changed catalgouing
17:41 cait it's a javascript error
17:41 cait we pushed merge several and at a similar time the option to merge from cataloguing
17:41 pianohacker yeah
17:41 cait that's my theory
17:41 nengard k - so pianohacker it can be done, just not from cataloging for now
17:42 cait try from lists - that worked when we tested
17:42 nengard cool
17:42 cait and catalouging might not be super hard to fix
17:42 nengard kidclamp wrote it in the first place
17:42 nengard bet he can fix it :) hehe
17:44 kidclamp I didn't do it, I just signed off on it
17:45 kidclamp (which I suopposed does bear some responsibility, but I pass the buck to QA :-) )
17:45 * cait passes it to pianohacker for fixing :P
17:46 kidclamp oh wait, from cataloging search, I added the button and limited it to 2 because several wasnt' available
17:46 cait hah!
17:46 nengard told you it was you kidclamp not that you broke it, but that you wrote the original and when the feature was upgraded your page was ignored
17:46 nengard :) hehe
17:47 pianohacker it looks like placing multiple holds from a list was broken by bug 14544, is there an existing bug?
17:47 huginn Bug[…]_bug.cgi?id=14544 enhancement, P5 - low, ---, jonathan.druart, Pushed to Master , Move the list related code to Koha::Virtualshelves
17:47 cait oh
17:48 cait hm we tested in 3.22 when going through the release notes... but an eraly one
17:48 cait worked then
17:48 mario joined #koha
17:48 cait hm seems ok for me on master
17:48 cait what's not working for you pianohacker?
17:49 mtompset joined #koha
17:49 pianohacker *blink* that should be impossible.
17:49 mtompset Greetings, #koha.
17:49 pianohacker cait: clarification, sorry, this is on the OPAC
17:49 cait pianohacker: um
17:50 cait i misread
17:50 cait i was reading merge, you said placing holds
17:50 cait when did we move from merging to placing holds? :)
17:50 mtompset tcohen: I'm working on the C4::Biblio::GetMarcStructure rework of ShouldHideMARC.
17:50 mtompset The problem I am having is caching.
17:50 mtompset I am really, really hating caching right now. I want to turn it off for my testing.
17:50 mtompset Suggestions?
17:50 wahanui Suggestions are still there
17:50 pianohacker cait: just a couple minutes ago :)
17:51 cait pianohacker: ok, that's broken for me too Can't call method "field" on an undefined value at /home/katrin/kohaclone/C4/ line 1492.
17:51 pianohacker yup
17:51 pianohacker look at the URL, it's borkes
17:51 mtompset when I get those sorts of errors, I regenerate the schema.
17:51 cait so now we all agree... i can step out and make tea :)
17:51 cait pianohacker: ionumbers... yeah
17:51 pianohacker cait: real quick
17:51 cait hm?
17:52 pianohacker you said merging multiple bibs from cataloging search works for you on master?
17:52 cait no from lists
17:52 pianohacker ohhhhh kk
17:52 pianohacker all right
17:52 cait i filed the bug for it not working from cataloguing
17:52 cait :)
17:53 cait i imagine, if you are lucky... you just need to get rid of the javascript blocking selecting more than 2... but probably it needs a bit more
17:53 pianohacker cait: tea is confirmed for liftoff
17:53 cait thx
17:53 pianohacker I think that may actually be all there is to it
17:53 pianohacker kidclamp: any thoughts?
17:55 kidclamp pianohacker, iirc it is just a javascript limiter, should be easy to remove.  Give me a bug number and I will investigate
17:55 nengard bug 16151 reported
17:55 huginn Bug[…]_bug.cgi?id=16151 major, P5 - low, ---, koha-bugs, NEW , can't place holds from lists
17:55 pianohacker kidclamp: bug 15682
17:55 huginn Bug[…]_bug.cgi?id=15682 normal, P5 - low, ---, gmcharlt, NEW , Merging records from cataloguing search only allows to merge 2 records
17:56 kidclamp bug taken
18:13 cait :)
18:18 * cait is trying to make sense of bug 8995
18:18 huginn Bug[…]w_bug.cgi?id=8995 enhancement, P5 - low, ---, julian.maurice, Signed Off , Show OpenURL links in OPAC search results
18:20 mtompset ugly big.
18:21 cait sitting for long too
18:23 tcohen mtompset: just comment the code that handles canching on C4::Biblio::GetMarcStructure
18:24 mtompset Are you saying my commenting the flush all stuff will make it work?!
18:24 tcohen ??
18:24 * tcohen re-reads the code
18:25 pastebot "tcohen" at pasted "like this" (27 lines) at
18:26 mtompset Yes, but that isn't a solution that can get pushed.
18:27 tcohen why the * would you disable caching THAT for production?
18:27 mtompset the tests are failing now.
18:28 mtompset because the hidden value is not getting updated properly somewhere, somehow.
18:28 tcohen that doesn't mean we need to disable caching
18:28 tcohen that means we need to tweak the tests so they flush the cache
18:28 mtompset They did.
18:28 mtompset And it was working before I tried to use the routine you said.
18:29 tcohen can you paste what you're doing to flush the cache?
18:29 mtompset my $cache = ....; $cache->flush_all();
18:30 tcohen file?
18:30 wahanui file is probably saved in the koha server itself
18:30 mtompset t/db_dependent/Filter....
18:32 mtompset Though, on a side note, thanks for making me look at the test file again... found a tweak I missed.
18:33 tcohen mtompset: i was looking at my work on the XML side of this
18:33 tcohen and realized you are missing an important piece
18:33 tcohen authorized values
18:34 tcohen there should be an option to make the filter replace values for descriptions on the same traversal
18:34 mtompset that's not part of the scope.
18:34 tcohen we will end up doing it
18:35 mtompset Baby steps.
18:35 tcohen can be done later
18:35 mtompset Agreed.
18:35 mtompset And will likely be desired too.
18:35 tcohen my $cache = Koha::Cache->get_instance(); $cache->flush_all(); ?
18:36 tcohen so you mean you found a bug on Koha::Cache?
18:42 mtompset Either that or my code is wrong... I'm still trying to debug.
18:43 mtompset I'm assuming my code is wrong for the moment.
18:43 NateC joined #koha
18:50 mtompset Hmmm... maybe found my bug... just have to think a little more....
19:24 cait so quiet
19:30 rangi morning
19:34 cait morning rangi
19:34 geek_cl joined #koha
19:35 geek_cl Hi guys o/
19:36 geek_cl anyone can confirm if Breeding syntax , the mysql $query is right ?
19:36 cait @later tell jajm can you please take a look at the comments on bug 8995?
19:36 huginn cait: The operation succeeded.
19:36 kathryn joined #koha
19:38 geek_cl that WHERE is empty
19:38 geek_cl on
19:39 eythian I've always wondered why there's an entire module to support Marshall Breeding.
19:39 tcohen which one eythian ?
19:39 tcohen ah!
19:41 cait geek_cl: my guess would be that there is some += below somewhere?
19:41 geek_cl cait, in fact is a "$query .= "z3950random = ?";"
19:42 eythian rangi: ibeardslee:
19:42 cait ah .= sorry
19:42 cait i was thinking javascript
19:42 geek_cl but at my intranet-error.log there is a
19:45 rangi i feel like i saw this once before
19:45 rangi i dunno why i didnt sign up
19:45 * rangi fixes
19:46 rangi actually, no, ill drop some hints at home that it would be a good bday present
19:47 eythian  <-- see also
19:47 eythian heh, good idea
19:49 florent joined #koha
19:49 rangi oh and happy nz birthday eythian !
19:49 eythian Cheers 🙂
19:50 * cait waits for another hour
19:53 * tcohen waits 7 more hours, but cheers eythian!
19:53 eythian Thanks 🙂
19:53 wizzyrea \o/ happy birthday! Another trip around the sun!
19:54 wizzyrea Hurtling through space at 108,000 km/h!
19:54 eythian
19:55 wizzyrea I am glad you know of a birthday song that references a trip around the sun.
19:55 eythian Reminds me, I need to find where to get a cake tomorrow. Silly European customs.
19:55 eythian Of course I do 🙂
19:55 rangi you have to bring cake?
19:56 wizzyrea what you mean people aren't bringing you cake?
19:56 wizzyrea this seems backwards.
19:56 wizzyrea :)
19:58 cait not ssure it's a european thing
19:59 cait but we bring cake or something else at work too
19:59 cait eythian: if you drop by i have a cherry vanilla cake I could give you :)
19:59 eythian Well I'm in Europe, cait. So are you. Draw your own conclusions 🙂
19:59 eythian Tempting...
19:59 rangi hehe
20:00 cait well i am bringing cake without any reason tomorrow...
20:00 eythian Actually, I have a better idea. There's a place that makes these biscuits that are made of delicious.
20:00 wizzyrea nom.
20:01 eythian I can nip out and get a box or two and they'll be warm with molten chocolate inside.
20:02 cait ooh
20:03 florent rangi: good morning. Many thanks for the email reply, I am going through it right now.
20:03 cait hm ok
20:03 cait i need some git help
20:04 cait bug 10612
20:04 wahanui hmmm... bug 10612 is weird
20:04 huginn Bug[…]_bug.cgi?id=10612 enhancement, P5 - low, ---, nick, Signed Off , Add ability to delete patrons with batch patron deletion tool
20:04 cait first patch applies
20:04 cait second patch has a conflict in tools/
20:04 cait i fix the conflict
20:04 cait i git add it
20:04 cait i git am --continue
20:04 cait No changes - did you forget to use 'git add'?
20:04 cait If there is nothing left to stage, chances are that something else
20:04 cait already introduced the same changes; you might want to skip this patch.
20:04 rangi florent: excellent, it was pre coffee so i hope it makes sense
20:05 cait i don#t want to skip the patch, it touches other files too
20:05 cait and also does more changes that i think are not yet in master, so i am confused
20:05 rangi git diff --staged
20:05 rangi will show the changes it will commit
20:05 rangi if you continue
20:07 cait rangi: shows nothign?
20:07 wizzyrea doesn't that mean that the patch you are currently applying is a no-op once the conflict is resolved?
20:07 wizzyrea i.e. the result is as if the patch didn't do anything
20:07 cait it just seems unlikely looking at the patch
20:08 cait hm
20:08 cait maybe something went wrong with the patches there
20:08 kidclamp I am willing to believe I did something wonky, I kept getting conflicts but thought I had resolved them
20:08 tcohen later fellows
20:09 cait kidclamp: it sems like the first and the second patch are almost identical
20:09 wizzyrea no, it's not juust you
20:09 wizzyrea it does that to me as well
20:10 cait apart from cleanborrowers
20:10 florent rangi: :-) pre coffee, it made sense ... we'll see if it changes
20:10 eythian <-- 46 reviews, all 5. That's how good this place is.
20:11 rangi :) close to where you live eythian ?
20:11 wizzyrea Koekmakerij this word makes a remarkable amount of sense.
20:12 eythian 8 minutes by bike, but less from work.
20:12 rangi handy
20:12 wizzyrea oh cait
20:12 wizzyrea the 2nd patch is the same as the first one
20:12 wizzyrea I think
20:12 wizzyrea so on mine
20:13 eythian wizzyrea: you notice a lot of words like that. Then you think of words like "newspaper" and realise that it's everywhere.
20:13 kidclamp I missed obsoleting one
20:13 kidclamp cait wizzyrea
20:13 wizzyrea ah cool, the signed off one is the right one eh?
20:13 cait 65 in cleanborrowres for one, 69 for the other
20:14 cait kidclamp: can you fix it up please as it should be tested?
20:14 cait maybe just the line where the conflict was?
20:15 cait i will try again
20:15 kidclamp I think it's right now
20:16 cait ok, testing
20:23 cait kidclamp: i think it needs tests
20:23 nengard left #koha
20:24 kidclamp that is true cait - let me know if it passes otherwise and I can work on tests - want to make sure the functionality is complete and right first
20:25 cait otherwise i fixed a fa icon :)
20:25 cait i will attach a tiny follow up
20:25 cait i will do some more tests now with deleting
20:26 cdickinson joined #koha
20:27 rangi surely you know the functionality is right if it passes all the tests that test for that functionality :)
20:27 kidclamp well, functionality working doesn't necessarily mean functionality working in a manner that passes qa
20:28 kidclamp but you ain't wrong rangi
20:30 rangi i usually am so that's suprising :)
20:31 cait tests are looking good - this time it didn't delete my patron with checkouts ;)
20:31 cait much better than last time
20:33 kidclamp huzzah!
20:36 kidclamp thanks cait!
20:36 cait still FQA - but i am hopeful for this one
20:36 kidclamp I kinda want to get barton involved just so all four developers here have played with it
20:38 barton A flash of light, a cloud of dust ... and ... what was the question?
20:38 nengard joined #koha
20:39 kidclamp just attempting humor - unless you do want to write tests for bug 10612
20:39 huginn Bug[…]_bug.cgi?id=10612 enhancement, P5 - low, ---, nick, Failed QA , Add ability to delete patrons with batch patron deletion tool
20:39 barton ah, I see.
20:40 cait @later tell ashimema could you take another look at the openid patch maybe? can't test with my 'localhost' installation. :( bug 10988
20:40 huginn cait: The operation succeeded.
20:50 nengard joined #koha
21:01 nengard left #koha
21:12 cait @later tell ashimema would also be great if you could take a look at an LDAP patch - bug 11807
21:12 huginn cait: The operation succeeded.
21:20 pianohacker bug 11844
21:20 huginn Bug[…]_bug.cgi?id=11844 new feature, P5 - low, ---, julian.maurice, Signed Off , Additional fields for order lines
21:20 kathryn hey eythian Happy Birthday!!!!!! Hope you you make it at least a 2 day affair, given the timezones :)
21:21 eythian That's kathryn 🙂 only a day and a half, alas.
21:21 eythian Err
21:21 eythian Thanks kathryn
21:21 kathryn hehe, having a good night then? ;)
21:22 eythian On the couch watching some TV? Good enough 😉
21:23 cait eythian: are you going to go to bed before midnight?
21:23 eythian Not at this rate.
21:29 eythian[…]s/EuEuVV2o6tiOdMH <-- best lollies ever, BTW
21:37 wizzyrea gummy type things?
21:41 eythian Half gummy half licorice.
21:44 wizzyrea oooh
21:49 RB joined #koha
21:54 Francesca joined #koha
22:00 florent rangi: I have found tests for C4::Members but none for itself, is that expected?
22:00 cait eythian: happy european birthday :)
22:01 rangi yeah, it's one of the reasons having subroutines in a .pl not in a .pm is a bad idea, it's much harder to test
22:01 eythian Thanks cait 😀
22:03 florent rangi: Cool. I will focus on C4::Members first. Benchmark is semi-interesting, since my local DB is very light, most of the time is spend on addMembers and Eksblowfish.
22:04 florent rangi: I strongly suspect the members lookup would be much worst if there were a big pile of them alread.
22:05 rangi *nod*
22:06 rangi florent: you should meet cait (she is the Koha QA Manager)
22:06 * cait waves
22:06 cait hi florent
22:06 florent hi cait
22:07 cait what are you working on florent?
22:07 florent Looking at import borrowers performance
22:07 cait nice!
22:08 wizzyrea a while back I saw a sample data generator
22:08 florent Hopefully nicer once I have done something useful ;-)
22:08 wizzyrea I wish I could remember where I saw that...
22:08 cait let's hope :)
22:08 cait and hoping it doesn's care you away
22:10 florent I don't scare easy.
22:10 cait that's good :)
22:19 * Francesca waves
22:20 Francesca hi wizzyrea cait florent
22:21 aleisha happy birthday eythian !!!!!!!!!!!!
22:21 eythian Cheers aleisha 🙂
22:21 pianohacker confetti
22:21 wahanui o/ '`'`'`'`'`'`'`'`
22:22 Francesca happy birthday eythian!
22:22 eythian and Francesca 😉
22:22 Francesca :)
22:23 Francesca @wunder christchurch, new zealand
22:23 huginn Francesca: The current temperature in Christchurch, New Zealand is 15.0°C (11:00 AM NZDT on March 29, 2016). Conditions: Clear. Humidity: 63%. Dew Point: 8.0°C. Pressure: 30.01 in 1016 hPa (Steady).
22:23 Francesca it feels colder than that
22:23 cait @wunder Konstanz
22:23 huginn cait: The current temperature in Friedrichshafen, Germany is 12.0°C (11:50 PM CEST on March 28, 2016). Conditions: Mostly Cloudy. Humidity: 47%. Dew Point: 1.0°C. Pressure: 29.77 in 1008 hPa (Steady).
22:23 eythian @wunder ams
22:23 JoshB joined #koha
22:23 huginn eythian: The current temperature in Schiphol, Badhoevedorp, Netherlands is 7.8°C (12:21 AM CEST on March 29, 2016). Conditions: Partly Cloudy. Humidity: 82%. Dew Point: 5.0°C. Windchill: 5.0°C. Pressure: 29.44 in 997 hPa (Rising).
22:23 cait oh, much colder
22:24 eythian It got to 14 here the other day.
22:25 Francesca nice
22:26 Francesca thats about the average christchurch has been hitting while I've been down here
22:26 Francesca I'm visiting my granny
22:26 cait apparently it was 15 today
22:26 Francesca ohh nice
22:26 cait you can actually feel spring now
22:26 cait also 11 hours to nz now since sunday - summer time
22:26 Francesca spring is good
22:26 Francesca cool not sure when daylight savings kicks in here
22:26 cait soon going to be 10 - then I won't be around as much for you
22:27 Francesca I'll just have to stay up later or something
22:27 Francesca not that thats gonna be happening during uni
22:28 cait timezones... confusing :)
22:28 cait ok, time to sleep
22:28 cait night all
22:28 wahanui goodnight cait. You'll be back.
22:28 Francesca night cait
22:28 cait left #koha
22:35 chrisvella joined #koha
22:35 irma joined #koha
22:42 talljoy joined #koha
22:55 geek_cl hi, anyone can confirm this output please : file /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/opac.css
22:55 geek_cl i have this output: opac.css: UTF-8 Unicode text, with very long lines, with no line terminators
22:57 rangi yes
22:58 rangi it's minimised
22:58 rangi https://wiki.koha-community.or[…]p_OPAC_LESS_files
22:58 rangi you don't ever edit that file
22:58 rangi you edit the file(s) that generate it
23:01 geek_cl ranfi: yes, i add my own file.css (usm.css: ASCII text) at  OpacAdditionalStylesheet . but opac is = File does not exist: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/file.css/
23:01 wahanui Hmm.  No matches for that, geek_cl.
23:01 geek_cl rangi:
23:02 geek_cl in fact is like he is asking for a DIR
23:02 rangi did you put a trailing slash when you put the url in?
23:02 geek_cl nope
23:02 geek_cl just, file.uss
23:03 geek_cl i have:  OpacAdditionalStylesheet = /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/file.css
23:03 rangi ahh
23:03 rangi that wont work
23:03 rangi nter just a filename, a full local path or a complete URL starting with http:// (if the file lives on a remote server). Please note that if you just enter a filename, the file should be in the css subdirectory for each active theme and language within the Koha templates directory. A full local path is expected to start from your HTTP document root.
23:04 geek_cl also i try, OpacAdditionalStylesheet = file.css
23:04 geek_cl now is in , OpacAdditionalStylesheet = file.css
23:05 geek_cl but the error still persist
23:05 rangi try it from your document root
23:05 rangi or with the url
23:06 rangi eg /opac-tmpl/bootstrap/css/file.css
23:06 rangi or https://sitename/opac-tmpl/bootstrap/css/file.css
23:08 geek_cl if i go to  https://sitename/opac-tmpl/bootstrap/css/file.css , appears a 404 error
23:08 geek_cl yes, the owner and permissions are ok
23:09 geek_cl if i go to :  https://sitename/opac-tmpl/bootstrap/css/opac.css, opac.css is showed
23:09 geek_cl rangi, (sorry with my english)
23:10 rangi if you just go to those url in your browser one works ond one doesnt?
23:11 geek_cl rangi, yes!
23:11 rangi you have an apache set up issue then, if the files are next to each other and the server is only sending one
23:11 rangi so only related to koha, in that koha uses apache
23:11 rangi are you sure that is the right directory?
23:12 rangi what does the document root say in the apache config?
23:12 geek_cl rangi,
23:12 mtompset YES!
23:13 mtompset @later tell tcohen I found the logic problem. It was my code. :)
23:13 huginn mtompset: The operation succeeded.
23:13 rangi what does the apcache config say? because the only thing i can think of, is it isnt actually pointing to that dir, if it is .. well then I have no idea, but its definitely an apache config issue, because when you hit a static page liek that, its not even touching koha
23:14 wizzyrea the log might have useful info as well
23:14 geek_cl rangi, my apache conf is like this:
23:15 geek_cl wizzyrea, at log only say File does not exist: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/file.css/
23:15 wizzyrea have you got any redirects anywhere that have a / where there shouldn't be one?
23:16 rangi geek_cl: and all of the other files in that directory are accessible?
23:16 geek_cl wizzyrea, that can be a explanation
23:16 geek_cl rangi, yes.
23:16 rangi yeah looks like something weird in your config, maybe a rediect, or a rewrite
23:16 rangi like wizzyrea said
23:17 wizzyrea ^
23:17 geek_cl wizzyrea, rangi, i will search that typo, thanks for helping me guys
23:17 wizzyrea no worries, good luck :)
23:18 geek_cl rangi, just for confirm, which path need to be defined in DocumentRoot ?
23:19 geek_cl apache-shared-opac.conf:DocumentRoot i see
23:19 geek_cl :D
23:19 geek_cl found!
23:19 geek_cl ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac/"
23:19 geek_cl now is in : ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac"
23:20 geek_cl double-thanks rangi , wizzyrea
23:20 wizzyrea hm
23:20 wizzyrea that's standard koha, if it was that everyone would see this problem
23:21 geek_cl so , the first one must be set ?
23:21 rangi yeah dont change that
23:21 geek_cl this is good: ScriptAlias /cgi-bin/koha/ "/usr/share/koha/opac/cgi-bin/opac/"
23:21 geek_cl ok
23:22 * rangi goes for lunch
23:23 geek_cl so,
23:23 geek_cl good lunch ;)
23:23 wizzyrea yeah that's fine you don't need anything in there
23:24 geek_cl wizzyrea, my apache conf is like this:
23:24 geek_cl so i don't know where else is DocumentRoot is defined
23:25 wizzyrea depending on what all sites you've got running, this might help: sudo grep -rni "DocumentRoot" /etc/*
23:26 wizzyrea (you'll get some false positives but it will show you everywhere that could possibly be defining a DocumentRoot
23:26 geek_cl wizzyrea, only in apache-shared-intranet.conf and apache-shared-opac.conf
23:26 wizzyrea you're probably only interested in the ones that are in /etc/apache2/sites-available and /etc/koha/
23:26 wahanui Hmm.  No matches for that, wizzyrea.
23:26 geek_cl ah, and the apache default of course
23:27 wizzyrea you don't have one in koha-httpd.conf
23:28 wizzyrea ?
23:28 wizzyrea though again, if that's wrong it'd be wrong for everyone
23:28 geek_cl wizzyrea, that is good logic
23:29 geek_cl and with /etc/apache2/sites-available and /etc/koha/, same results
23:29 wizzyrea are you redirecting http -> https?
23:29 geek_cl nope, i not use https in this server/instance
23:30 wizzyrea https://sitename/opac-tmpl/bootstrap/css/opac.css< but you said this link works?
23:30 geek_cl at browser http://sitename/opac-tmpl/bootstrap/css/opac.css works
23:31 wizzyrea http://sitename/opac-tmpl/bootstrap/css/file.css doesn't?
23:31 wizzyrea it's cool if it was just a typo, that happens :)
23:31 geek_cl wizzyrea, exactky
23:32 geek_cl exactly
23:32 geek_cl i search with grep -Ri file.css /usr/share/koha/* , nothing
23:32 geek_cl grep -Ri file.css /etc/koha/* , nothing
23:33 wizzyrea is the file there?
23:33 geek_cl and those files are in:
23:33 wizzyrea is this a gitified install? like a devbox?
23:33 wizzyrea (configs don't indicate that it is)
23:33 geek_cl is not gitified
23:34 wizzyrea well grep would look inside the files, not for the files
23:34 geek_cl yes, just searching if in the code appears file.css
23:34 wizzyrea no, that won't turn up
23:35 wizzyrea unless you've hardcoded it someplace
23:35 geek_cl the file.css is in /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/file.css
23:36 geek_cl so, the same path, owner/permissions are the same
23:36 geek_cl the only thing is the filetype
23:36 geek_cl but  OpacAdditionalStylesheet  will search for file.css
23:37 geek_cl so.. i following my tail like a dog
23:37 wizzyrea have you put the actual URL to the css file into the syspref?
23:37 wizzyrea I kind of recall there's something weird about that syspref, I always use URLs
23:37 geek_cl wizzyrea, syspref is Windows?
23:37 geek_cl oh no
23:37 wizzyrea right yes, that's in the interface
23:37 geek_cl you mean admin
23:37 wizzyrea the koha interfae
23:37 wizzyrea yep
23:38 geek_cl no at  OpacAdditionalStylesheet = file.css
23:38 geek_cl i try this:
23:38 wizzyrea yeah, try putting in the url that doesn't work, just on a lark.
23:38 geek_cl OpacAdditionalStylesheet = file.css
23:38 geek_cl OpacAdditionalStylesheet =  /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/file.css
23:38 geek_cl and
23:38 wizzyrea http://sitename/opac-tmpl/bootstrap/css/file.css < put this in there
23:38 geek_cl OpacAdditionalStylesheet =  http://sitename/opac-tmpl/bootstrap/css/file.css
23:38 wizzyrea hm and none of those work?
23:39 geek_cl none
23:39 wizzyrea and the 404 in the log is the same for all of them?
23:39 geek_cl sir yes sir
23:39 geek_cl weird is the expression ?
23:39 wizzyrea :) it's not normal, no
23:40 geek_cl Woof woof
23:40 BobB joined #koha
23:41 wizzyrea what we usually do, for files like this
23:42 wizzyrea is chuck something like Alias customcss/ "/var/www/customcss/"
23:42 wizzyrea then we can do http://sitename/customcss/custom.css
23:42 wizzyrea and use that url
23:42 wizzyrea idk if that will help you it's something to try I guess.
23:42 geek_cl wizzyrea, is an idea ;)
23:43 NateC joined #koha
23:44 geek_cl i put in OpacAdditionalStylesheet =  http://sitename/file.css
23:44 geek_cl so the file.css is in /usr/share/koha/opac/htdocs
23:45 geek_cl wizzyrea, that fix the problem.
23:45 wizzyrea oh yay!
23:46 geek_cl but is really weird the "normal" procedure
23:46 wizzyrea yeah something isn't right there
23:46 geek_cl wizzyrea, yes yay! ;)
23:46 geek_cl wizzyrea, but very probably its me :P
23:46 geek_cl idk
23:46 wizzyrea neither
23:49 geek_cl now i will fight with performance, apache response at 10/13 secs
23:51 geek_cl '336312' items, '47817' borrowers
23:53 geek_cl wizzyrea, mostly consume 100% CPU
23:57 geek_cl wizzyrea, which is the most consumer of resource in your enviroments?
23:57 wizzyrea pass, we don't have those kind of problems
23:58 wizzyrea sorry :(
23:58 geek_cl wizzyrea, yes, just for the experience

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary