Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Me, too. What they said.

    I am constantly being locked out due to too many bad login attempts as well, despite not doing anything except creating and editing posts. I have also whitelisted my ip address. It has gotten to the point that I am keeping phpmyadmin open in another tab so I can delete my lockout entry every 20 minutes or so. It is very annoying.

    Is this due to wordpress timing out or something?

    Thread Starter terjemar

    (@terjemar)

    Lines 102-107

    $searchby = isset($_REQUEST['searchby']) ? $_REQUEST['searchby'] : 'title';
    $searchbox = isset($_REQUEST['searchbox']) ? $_REQUEST['searchbox'] : '';
    $weblib_orderby = isset( $_REQUEST['weblib_orderby'] ) ? $_REQUEST['weblib_orderby'] : 'barcode';
    if ( empty( $weblib_orderby ) ) $weblib_orderby = 'barcode';
    $weblib_order = isset( $_REQUEST['weblib_order'] ) ? $_REQUEST['weblib_order'] : 'ASC';
    if ( empty( $weblib_order ) ) $weblib_order = 'ASC';

    Specifically, change lines 104 and 105 to:

    $weblib_orderby = isset( $_REQUEST['weblib_orderby'] ) ? $_REQUEST['weblib_orderby'] : 'author, title';
    if ( empty( $weblib_orderby ) ) $weblib_orderby = 'author, title';

    mysql allows for multiple fields when sorting, so whichever field or fields that you want to sort by need to be specified and delimited by commas.

    Thread Starter terjemar

    (@terjemar)

    OK. Thanks. I went looking and found the bit of code in short_codes.php that determines the default search order and changed it manually. I understand that the change will go away once I update the plugin. Hopefully you’ll include a way to change the default search order in an upcoming release.

    Thank you.
    -S

    Thread Starter terjemar

    (@terjemar)

    Looking further, the table in the database that contains the tags and categories does not contain ‘uu’ or ‘uuu’.

    mysql> select * from wp_uktioe_terms;
    +———+—————+—————+————+
    | term_id | name | slug | term_group |
    +———+—————+—————+————+
    | 1 | Uncategorized | uncategorized | 0 |
    | 2 | Blogroll | blogroll | 0 |
    | 5 | Food | food | 0 |
    | 6 | Plants | plants | 0 |
    | 26 | K?len | kelen | 0 |
    | 24 | Drink | drink | 0 |
    | 32 | M | m | 0 |
    | 31 | K | k | 0 |
    | 30 | Minerals | minerals | 0 |
    | 29 | Cats | cats | 0 |
    | 27 | LCS | lcs | 0 |
    | 28 | Attribute | attribute | 0 |
    | 33 | W | w | 0 |
    | 34 | H | h | 0 |
    | 35 | P | p | 0 |
    | 36 | C | c | 0 |
    | 37 | R | r | 0 |
    | 38 | S | s | 0 |
    | 39 | J | j | 0 |
    | 40 | T | t | 0 |
    | 41 | N | n | 0 |
    | 42 | Dictionary | dict | 0 |
    | 43 | Culture | culture | 0 |
    | 44 | ? | aa | 0 |
    | 45 | Feeling | feeling | 0 |
    | 46 | ? | th | 0 |
    | 47 | Device | device | 0 |
    | 48 | Body | body | 0 |
    | 49 | Colors | colors | 0 |
    | 50 | X | x | 0 |
    | 51 | L | l | 0 |
    | 52 | ? | ee | 0 |
    | 55 | ?a | ii | 0 |
    | 54 | ? | oo | 0 |
    +———+—————+—————+————+
    34 rows in set (0.00 sec)

    So I have no idea what is going on here and why I keep getting
    “The category you are trying to create already exists.”
    error message.

    -S

    Thread Starter terjemar

    (@terjemar)

    Thanks, but there is no tag or anything else by the name I wanted to use. I even tried adding the category and making the slug different from what I had attempted before, but that didn’t make any difference.

    The category I am attempting to add is ū and the slugs I attempted for this category were ‘uu’ and ‘uuu’.

Viewing 6 replies - 1 through 6 (of 6 total)