On 10/08/2015 06:51 PM, Robin Sheat wrote:
However, I'm still having the original problem of the people on the circulation desk being logged out when trying to check an item out. The item is checked out! How do they connect to the Koha server? Is there a proxy in the middle
Bob Ewart schreef op do 08-10-2015 om 15:59 [-0400]: that could be causing issues, or some reason for them to be changing IP address? Can you watch the session cookies in the browser, is something deleting them? What (if anything) do the Koha error logs say? I wonder if turning on debug would help, too. It might, though it'll cause your error logs to have a lot of noise.
What browser are you using, and does a different browser help?
(You can turn on debug by adding SetEnv DEBUG "1" to the appropriate virtualhost section in your apache config.)
The Windows 7 workstation at the library is connected to the server on a local area network. My test system is running directly on the server. No proxies are involved. We've tried both Firefox and Chromium with no difference. I wrote a little program to add comments to the koha-error_log file to show what was going on. Then wrote another little program to neaten up the logs. Most of the leading information which takes up most of a line is pretty much duplicated in each entry. I eliminated that and just put the minutes:seconds from the start of the test before the rest of the line. (If I never see another CGI::param called in list context... error, I'll be real happy.) I'm running with Koha 3.18.10 software. The two runs are: 1. New database -- drop database koha, create database koha, run the web installer with all optional data added, added Joe Volunteer 7472 with checkout permissions and myself as 2002 super Librarian and finally imported 3 books to work with 2. My database -- drop database koha, create database koha, source koha.sql (a mysqldump from the library); I put 5 files on my webserver: 1. Test with new database <http://bobsown.net/images/koha-log-std> 2. Test with my database <http://bobsown.net/images/koha-log-error> 3. Unedited log of new database <http://bobsown.net/images/koha-log-std-full> 4. Unedited log of my database <http://bobsown.net/images/koha-log-error-full> 5. Permissions shown in both <http://bobsown.net/images/permissions.txt> As you can see from the logs, there are a couple of xsub entries in the new database run that are not in my run before the volunteer sees the main page. Then I go to patron 2002 for checkout and that looks the same Then I give it a barcode to check out. This is where things go really wrong. With my database it does a Checking Auth in circulation.pl and eventually logs the volunteer out. When I immediately log him back in it never goes to the main page. It goes to the checkout page and appears to go through the same steps as the checkout with the new database. The book is checked out. When I try to show the checkouts, it says "Loading -- you may continue scanning" and does nothing after that. The permissions are different in the two cases. I'm not sure why, but my database was originally created way back around 3.00 and errors may have crept in in the updates. On 10/12/2015 03:01 PM, Katrin Fischer wrote:
Hi Marc,
we could check for the existence of the mandatory data maybe, but some of it might be unselected on purpose by some. For the permission definitions, maybe we could move them out of the database altogether? You won't ever want to change them and they are not translatable currently, although there is a patch waiting to change that:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632
Katrin That patch may solve my problem
-- Bob Ewart