Forum Replies Created

Viewing 15 replies - 31 through 45 (of 60 total)
  • Thread Starter epretorious

    (@epretorious)

    Here’s the HTTP dialogue using slightly different request (i.e., “/index.php” versus “/”)…

    eric@eric-x1:~$ telnet practicalxenserver.org 80
    Trying 45.33.36.209...
    Connected to practicalxenserver.org.
    Escape character is '^]'.
    GET /index.php HTTP/1.1
    HOST: practicalxenserver.org
    
    HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 20 Aug 2016 21:12:41 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    X-Powered-By: PHP/5.3.3
    <<<snip>>>

    HTH,
    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    Here’s the HTTP dialogue…

    > eric@eric-x1:~$ telnet practicalxenserver.org 80
    > Trying 45.33.36.209...
    > Connected to practicalxenserver.org.
    > Escape character is '^]'.
    > GET / HTTP/1.1
    > HOST: practicalxenserver.org
    >
    > HTTP/1.1 301 Moved Permanently
    > Server: nginx
    > Date: Sat, 20 Aug 2016 19:45:19 GMT
    > Content-Type: text/html; charset=UTF-8
    > Content-Length: 0
    > Connection: keep-alive
    > X-Powered-By: PHP/5.3.3
    > Location: https://PracticalXenServer.org/

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    UPDATE: Disabling CMTG does not fix the problem. Removing CMTG does not fix the problem.

    What might be causing this?

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    Thanks, Yannick:

    LL is working nicely but I did find these errors in the Apache error_log:

    > [Sat Aug 20 00:23:44 2016] [warn] [client 24.22.63.252] mod_fcgid:
    > stderr: WordPress database error Incorrect index name ” for query
    > ALTER TABLE 8J4wo_linkcategorymeta ADD UNIQUE KEY (meta_id)
    > made by activate_plugin, do_action(‘activate_link-library/link-
    > library.php’), call_user_func_array, link_library_plugin->
    > ll_install, link_library_plugin->create_table_and_settings,
    > dbDelta, referer: https://practicalxenserver.org/wp-admin/plugin-
    > install.php?s=Link+library&tab=search&type=term

    What do you make of that?

    Eric Pretorious
    Portland, OR
    >
    > [Sat Aug 20 00:30:05 2016] [warn] [client 24.22.63.252] mod_fcgid:
    > stderr: WordPress database error Incorrect index name ” for query
    > ALTER TABLE 8J4wo_links_extrainfo ADD UNIQUE KEY (link_id)
    > made by activate_plugin, do_action(‘activate_link-library/link-
    > library.php’), call_user_func_array, link_library_plugin->ll_install,
    > link_library_plugin->create_table_and_settings, dbDelta, referer:
    > https://practicalxenserver.org/wp-admin/plugins.php?plugin_
    > status=all&paged=1&s
    >
    > [Sat Aug 20 00:30:05 2016] [warn] [client 24.22.63.252] mod_fcgid:
    > stderr: WordPress database error Incorrect index name ” for query
    > ALTER TABLE 8J4wo_linkcategorymeta ADD UNIQUE KEY (meta_id)
    > made by activate_plugin, do_action(‘activate_link-library/link-
    > library.php’), call_user_func_array, link_library_plugin->ll_install,
    > link_library_plugin->create_table_and_settings, dbDelta, referer:
    > https://practicalxenserver.org/wp-admin/plugins.php?plugin_
    > status=all&paged=1&s

    WordPress: 4.6
    Link Library: 5.9.13
    Theme: Twenty Fourteen
    PHP: 5.6.24

    > PHP 5.6.24 (cgi-fcgi) (built: Jul 22 2016 11:59:12)
    > Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    > with the ionCube PHP Loader (enabled) + Intrusion Protection
    > from ioncube24.com (unconfigured) v5.0.18, Copyright (c)
    > 2002-2015, by ionCube Ltd.
    > with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend
    > Technologies

    Thread Starter epretorious

    (@epretorious)

    Sometimes I forget to read all the way to the bottom:

    Yannick wrote:
    > Actually, there is a way to order categories. You need to go
    > under the General Options and set ‘category selection method’
    > to ‘comma-separated ID list’. Then, go to library settings, under
    > common, and you will see that the list of categories to be
    > displayed has changed to a list of category IDs. You can then
    > decide on the order of the categories by adding them in a
    > specific order.

    aenea wrote:
    > There’s one more step in addition to those you describe – also
    > need to go to Library Settings | Categories and change the
    > Results Order to ‘Order of categories based on included category
    > list’. And, with that done, it works a treat! Many thanks.

    Yannick wrote:
    > Oh yes, sorry. Forgot about that step. Glad you figured it out.

    Thanks, Yannick – That worked perfectly!

    I’ll make a contribution very soon. Thank you for all of your amazing [and hard] work!

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    > Next: I’m going to install the “My Link Order” plugin. ??

    From this LL support thread:
    > > The “My Link Order” plug in no longer seems to be available…
    > >
    > There will be [an alternate solution] down the road. I am working on
    > the next-generation of the plugin and direct ordering is something I
    > am looking into.

    When do you think that direct ordering will be complete, Yannick?

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    > FWIW: LL must have completed installation successfully because there
    > are two new items in the left-hand margin of the Dashboard: Links &
    > Link Library. (One of them, “Links”, was there before I disabled LM.)

    LL 5.9.13 seems to be working despite the complaints during installation. e.g., I’ve inserted a few of the LL shortcodes into a page and they’re displaying correctly, AFAICT.

    Next: I’m going to install the “My Link Order” plugin. ??

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    > What might be causing this failure?

    FWIW: LL must have completed installation successfully because there are two new items in the left-hand margin of the Dashboard: Links & Link Library. (One of them, “Links”, was there before I disabled LM.)

    I’m still uncertain, however, because LL is displaying the Link Categories that I defined in LM using the same panel that LM displayed. Is that the expected behavior?

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    FWIW: I read the excellent WPMUDEV tutorial “How to Create a WordPress Child Theme” and created a child theme (“Twenty Fourteen Child”) to store these customizations and others. ??

    .primary-navigation {
            display: none;
    }

    Eric Pretorious
    Portland, OR

    https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

    Thread Starter epretorious

    (@epretorious)

    I found the CSS responsible for the width of the width of the ‘entry-content’ container and the ‘entry-header’ container and added this stanza to my Twenty Fourteen Child theme style.css:

    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta,
    .site-content .entry-header,
    .page-content {
            margin: 0 auto;
            max-width: 800px;
    }

    Eric Pretorious
    Portland, OR

    > This plugin does not provide a front-end editor.

    Isn’t that a standard part of a “Wiki”, Dennis? Otherwise, if authors/editors have to login directly to WordPress and access the Dashboard, it would just be a blog. Right?

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    Thanks, Michael – That was absolutely the shortest distance from the question to the answer!

    To expand upon the directions that you’ve provided: Directly below Line #974 of the CSS file $DOC_ROOT/wp-content/themes/twentyfourteen/style.css add the declaration “display: none;”. The revised CSS class declaration will look like this…

    .primary-navigation {
            display: none;
            -webkit-box-sizing: border-box;
            -moz-box-sizing:    border-box;
            box-sizing:         border-box;
            font-size: 14px;
            padding-top: 24px;
    }

    This will render the ‘primary-navigation’ class impotent and the navigation in the upper-righthand corner will no longer display.

    Eric Pretorious
    Portland, OR

    Thread Starter epretorious

    (@epretorious)

    Thread Starter epretorious

    (@epretorious)

    FWIW: I’ve verified the Menu:Location settings in the customizer and the main dashboard (Appearance:Menus).

    TIA,
    Eric Pretorious

    Thread Starter epretorious

    (@epretorious)

    Tobias:

    I took your explanation [to a different problem] at face-value:

    When sorting, HTML code is stripped before the sorting, which leaves that image column with empty strings.

    …and tried adding invisible zeros:

    <span style="visibility:hidden">0</span> and
    <span style="color:white">0</span>

    …but the get the same behavior: Values are sorted by the first digit (e.g., $1, $12, $123, $2, $23, $234, and so on) and all other digits are ignored.

    Can you recommend a simple work-around for sorting mixed numeric/empty columns?

    Thanks, again!
    Eric P.

Viewing 15 replies - 31 through 45 (of 60 total)