• Resolved theexecutiveeditor

    (@theexecutiveeditor)


    I set up WebLibrarian on an offline test site a while ago and all worked fine.
    Installed on the live system and have a problem with checking out.
    All appears to function correctly until you click on the ‘checkout item’ button. The screen goes blank and nothing else happens. When I refresh the page I get the ‘Circulation Desk’ page back but the book has not been checked out.

    When I went back to my offline version it wanted to upgrade WordPress. After it had done this I was getting the same behaviour on that version too. I can’t remember what the previous version was but both are now running 4.9.8 with WebLibrarian downloaded/updated 2 days ago.

    So both systems, on Chrome and Firefox are showing the same issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter theexecutiveeditor

    (@theexecutiveeditor)

    Ahhh. Version updating seems to be a red herring. The real bulk imported list had blank circulation types and I generated these later in circulation types, but each item still had a blank unless edited individually only then did it assumed the first one by default. This caused the unfriendly blank page, an error message would have been nicer.

    So how to edit or remove a circulation type name? The only option appears to be changing the duration. I now have a set of unusable types as I misapprehended their use.

    Plugin Author Robert Heller

    (@robertpheller)

    You will have to directly hack the database or else delete everything and reload correctly. The type field is important for checkout and hold: it contains the loan and hold period. The *typical* use is to limit DVDs to a 1 week loan period as opposed to books having a 3 week loan period, since one can watch a movie in one evening, but reading a book (eg “War and Peace”) will take alot longer.

    I thought that it should have generated an error when uploading with bad type field values. Something I need to look into sometime.

    Thread Starter theexecutiveeditor

    (@theexecutiveeditor)

    When you say ‘delete everything’ do you mean the whole collection, or remove the plug in or something in between? I tried deleting the collection but the circulation types remained.

    Plugin Author Robert Heller

    (@robertpheller)

    I meant clearing out the collection. To clear out the types you will need to directly access the MySQL database. You will need to have a set of types defined before reloading the collection, and the collection needs to have the proper types referenced in order for the hold and checkout periods to work properly. The types provide the loan period, for example “book” might have a 3 week (21 day) loan period and “dvd” might have a 1 week (7 day) loan period.

    Thread Starter theexecutiveeditor

    (@theexecutiveeditor)

    OK thanks for clarifying.
    Actually I have found that if a bulk imported list contains a type not previously defined, that type is automatically created when an item of that type is first checked out, which is kind of useful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem checking out after recent update’ is closed to new replies.