WordPress.org

Ready to get started?Download WordPress

Forums

WebLibrarian
[resolved] Add Item to Collection Error (9 posts)

  1. taniav
    Member
    Posted 1 year ago #

    I am setting up new site using wordpress locally, and this is my first time use Web Librarian plugin.

    When I tried to add new item to collection, I got warning and fatal error as below:

    Warning: _() expects exactly 1 parameter, 2 given in D:\xampp\htdocs\[foldername]\wp-content\plugins\weblibrarian\includes\WEBLIB_Collection_Admin.php on line 652

    Fatal error: Call to undefined function nl_langinfo() in D:\xampp\htdocs\[foldername]\wp-content\plugins\weblibrarian\includes\WEBLIB_Patrons_Admin.php on line 416

    Why does it happen? and how to solve it?

    Also, I have a suggestion, how if you set the publish date to not having to have complete date as there are many books that only have publish year?

    http://wordpress.org/extend/plugins/weblibrarian/

  2. taniav
    Member
    Posted 1 year ago #

    maybe you need more info.
    I use:
    XAMPP 1.8.1
    MySQL 5.5.27
    PHP 5.4.7
    Wordpress 3.5.2
    Web Librarian 3.2.9.1
    Mozilla Firefox 20

  3. Robert Heller
    Member
    Plugin Author

    Posted 1 year ago #

    From http://php.net/manual/en/function.nl-langinfo.php

    Note: This function is not implemented on Windows platforms.

    There is not much I can do. I don't have the resources to support MS-Windows.

  4. taniav
    Member
    Posted 1 year ago #

    So, I can't use it at all?

    Too bad. It seems like a great plugin that fits my needs. :(

  5. Robert Heller
    Member
    Plugin Author

    Posted 1 year ago #

    It works just fine on a LAMP server. It (appearently) does not work well on a WAMP or WIMP server. *I* don't have the resources to support it on either a WAMP or WIMP server.

    You could try installing a virtualaziation system (eg VirtualBox) on your MS-Windows machine and install Linux in the virtual machine and set up a LAMP server and that should work just fine.

  6. Robert Heller
    Member
    Plugin Author

    Posted 1 year ago #

    If you can't arrange to setup or use a LAMP server, you are going to have to find someone who knows MS-Windows better than I do (I don't know it all) to get the source code (freely available) and help you debug it and/or come up with MS-Windows workarounds.

  7. taniav
    Member
    Posted 1 year ago #

    Thank you for your suggestions.
    Cheers! :)

  8. Robert Heller
    Member
    Plugin Author

    Posted 1 year ago #

    I've released a new version. This version *might* work under MS-Windows, but I don't really know. It should take care of the error messages you got, but there might be other MS-Windows issues I don't know about (and can't test for).

  9. taniav
    Member
    Posted 1 year ago #

    It works well so far. Now I can add new item to the collection.
    If I ever found another problem under Ms Windows, I'll let you know.

    Thank you for trying to fix it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic