Forum Replies Created

Viewing 15 replies - 1 through 15 (of 109 total)
  • Thread Starter Tim Reeves

    (@tim-reeves)

    To add to that: No problem if choose the option “WordPress filters”, it’s only the Full-page scan option which loses the <body>.

    Thread Starter Tim Reeves

    (@tim-reeves)

    To add some more to that:

    • The website uses WPML for english, german and arabic
    • The gallery is generated dynamically by a plugin, so most images are not directly referenced on pages
    • However, some of them are, on the “Stories” pages

    Hope this helps…

    Thread Starter Tim Reeves

    (@tim-reeves)

    BTW one thing to be careful on is detecting if nginx is in use. You could look in the other plugins which do so – and now, also in WP itself.

    Thread Starter Tim Reeves

    (@tim-reeves)

    I was just grinding my teeth, as it looked like I’ll have to keep running iTS (iThemes Security) in parallel with Cerber. And then –

    Great, thanks for this, Gregory! Yeah, you could look at iTS and also W3TC, they both handle nginx, both writing a denoted own section of nginx config statements to <webroot>/nginx.conf. So if you stick with that, everyone will be writing a section to the same “extra” file, which admins then need to “include” in their own nginx config. This is a pretty standard procedure, and Plesk offers a dedicated place to link in own nginx config files. I admit it’s all a bit unfamiliar at the start, and nginx syntax does take a bit of getting used to.

    Regarding the static config of nginx needing to be reloaded when changed – yes, this is correct. This is by efficient design, to not to have to wander through all the folders in the path to a file looking for changed config, every time you want to serve a file! iTS handles this quite sweetly, with a slide-in little window reminding you to restart nginx every time it writes to the nginx.conf file.

    After initial “walkabout” getting my head around the diffentness of nginx, over time I have become a definite fan. Almost 5 years ago a wrote an article (PDF) on using Nginx with Plesk – in German (if you happen to read German).

    In the wonderful world of Open Source your best bet is probably to first bone up a bit in general, then look at what iTS does, which I’ve been using for a few years and it’s nginx code seems just fine. If you need a beta tester, here I am. Greetings from near Hanover, Germany, to the US of A.

    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    To add to my “evidence” that we need to take Nginx seriously: I just noticed a link in standard WP on one of the settings pages (permalinks) about nginx, leading to this article. There they also describe a pure nginx config (no apache).

    Thread Starter Tim Reeves

    (@tim-reeves)

    Hi @tsteur

    many thanks for your suggestion with the config workaround – it works. So the question remains, howcome my DB Connections are getting lost? I’ve once more tuned my general DB config and upped a few limits, but that’s not the solution.

    I did hope that config values, recently added by myself in an attempt to reduce load on the DB might be to blame:
    wait_timeout = 3600
    interactive_timeout = 3600

    I commented those out, but it did not help. At first I thought it had, but later I noticed not – one has to wait some time until the error messages appear in the PHP log file.

    So we have narrowed it down – but I still have no idea what the real cause is. How “bad” is the fix you noted, does it have any nasty repercussions?

    Thanks again,

    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    Hi again,

    I have now installed Matomo on a further website on the same server, same PHP version – on a website where Matomo was never installed before. To my great disappointment I’m also getting exactly the same type of error there:

    [25-Jan-2021 18:00:04] WARNING: [pool weltengeschwister-gesandtschaft.org]
    child 2885 said into stderr: "NOTICE: PHP message: WordPress-Datenbank-Fehler
    Table 'wgoDB.wgo_matomo_logtmpsegment9b005b137fbbfa9e2cfbc120610b8cc4' doesn't
    exist für Abfrage SELECT  /*+ MAX_EXECUTION_TIME(7200000) */  1
    FROM wgo_matomo_logtmpsegment9b005b137fbbfa9e2cfbc120610b8cc4 LIMIT 1
    von do_action_ref_array('matomo_scheduled_archive'), WP_Hook->do_action,
    WP_Hook->apply_filters, WpMatomo\ScheduledTasks->archive,
    Piwik\CronArchive->main, Piwik\Access::doAsSuperUser,
    Piwik\CronArchive->Piwik\{closure}, Piwik\CronArchive->run, Piwik\CronArchive->launchArchivingFor, Piwik\CliMulti->request, Piwik\CliMulti->requestUrls, Piwik\CliMulti->start,
    Piwik\CliMulti->executeUrlCommand, Piwik\CliMulti->executeNotAsyncHttp, Piwik\Http::sendHttpRequestBy, Piwik\Piwik::postEvent,
    Piwik\EventDispatcher->postEvent, call_user_func_array,
    Piwik\Plugins\WordPress\WordPress->onSendHttpRequestBy, Piwik\Access::doAsSuperUser, Piwik\Plugins\WordPress\Wo

    What I just noticed is that the call is coming from CronArchive. I’m using Linux cron for MailPoet, but on those two websites it’s just the usual WordPress cron, there is no DISABLE_WP_CRON in wp-config.php. So still, I don’t see anything that I could do, or do differently. Except for trying Linux cron on the problematical websites.

    Looking at the error message, an SQL statement is being mangled, a log segment name is being used as a table name. Could you please have a look at exactly where that statement is, and reply to me? Then I would look at the code there, and debug if no error is obvious. Because somehow, we need to move on…

    If it helps I can email you my php.ini for PHP 7.3, and add a list of the active modules.

    Cheers, thanks,

    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    Hi @tsteur,

    thanks for your reply.

    I completely deinstalled Matomo, including data removal (well I checked the box but did not look in the DB afterwards). Then a completely fresh install of Matomo, with pretty standard setup – and to my great surprise I’m still getting exactly the same error:

    NOTICE: PHP message: WordPress-Datenbank-Fehler Table 'teoDB.teo_matomo_logtmpsegmentc95a3716a3f18b25879e049ccdb2c937' doesn't exist für Abfrage
     SELECT  / *+ MAX_EXECUTION_TIME(7200000) */  1 FROM teo_matomo_logtmpsegmentc95a3716a3f18b25879e049ccdb2c937 LIMIT 1 von do_action
     _ref_array('matomo_scheduled_archive'), WP_Hook->do_action, WP_Hook->apply_filters, WpMatomo\ScheduledTasks->archive,
     Piwik\CronArchive->main, Piwik\Access::doAsSuperUser, Piwik\CronArchive->Piwik\{closure}, Piwik\CronArchive->run,
     Piwik\CronArchive->launchArchivingFor, Piwik\CliMulti->request, Piwik\CliMulti->requestUrls, Piwik\CliMulti->start,
     Piwik\CliMulti->executeUrlCommand, Piwik\CliMulti->executeNotAsyncHttp, Piwik\Http::sendHttpRequestBy, Piwik\Piwik::postEvent,
     Piwik\EventDispatcher->postEvent, call_user_func_array, Piwik\Plugins\WordPress\WordPress->onSendHttpRequestBy,
     Piwik\Access::doAsSuperUser, Piwik\Plugins\WordPress\WordPress->Piwik\Plug

    Here is my system report:

    # Matomo

    * Matomo-Plugin-Version: 4.1.2
    * Config existiert und ist schreibbar.: Ja ("$ABSPATH/wp-content/uploads/matomo/config/config.ini.php" )
    * JS Tracker existiert und ist schreibbar.: Ja ("$ABSPATH/wp-content/uploads/matomo/matomo.js" )
    * Plugin-Verzeichnisse: Yes ([{"pluginsPathAbsolute":"$ABSPATH\/wp-content\/plugins\/matomo\/plugins","webrootDirRelativeToMatomo":"..\/"}])
    * Tmp-Verzeichnis schreibbar: Yes ($ABSPATH/wp-content/cache/matomo)
    * Matomo-Version: 4.1.1
    * Matomo Blog idSite: 1
    * Installierte Matomo-Version: 4.1.2 (Install date: 2021-01-24 12:05:18)
    * Upgrades outstanding: No
    * Upgrade in progress: No
    
    ## Endpoints
    
    * Matomo JavaScript Tracker URL:  ($site_url/wp-content/uploads/matomo/matomo.js)
    * Matomo JavaScript Tracker - WP Rest API:  ($site_url/wp-json/matomo/v1/hit/)
    * Matomo HTTP Tracking API:  ($site_url/wp-content/plugins/matomo/app/matomo.php)
    * Matomo HTTP Tracking API - WP Rest API:  ($site_url/wp-json/matomo/v1/hit/)
    
    ## Crons
    
    * Server-Zeit: 2021-01-25 09:42:57
    * Blog-Zeit: 2021-01-25 10:42:57 (Die nachfolgenden Daten werden in der Blog-Zeitzone angezeigt)
    * Sync users & sites: Next run: 2021-01-25 12:05:17 (1 Stunden 22 Minuten) ( Last started: 2021-01-24 12:06:08 (-22 Stunden 36 Minuten). Last ended: 2021-01-24 12:06:08 (-22 Stunden 36 Minuten). Interval: daily)
    * Archive: Next run: 2021-01-25 11:05:17 (22 Minuten 20s) ( Last started: 2021-01-25 10:05:20 (-37 Minuten 37s). Last ended: 2021-01-25 10:05:22 (-37 Minuten 35s). Interval: hourly)
    * Update GeoIP DB: Next run: 2021-02-23 12:05:17 (29 Tage 1 Stunden) ( Last started: 2021-01-24 12:09:21 (-22 Stunden 33 Minuten). Last ended: 2021-01-24 12:09:22 (-22 Stunden 33 Minuten). Interval: matomo_monthly)
    
    ## Vorgeschriebene Prüfungen
    
    * PHP-Version >= : ok 
    * PDO Erweiterung: ok 
    * PDO\MYSQL Erweiterung: ok 
    * MYSQLI Erweiterung: ok 
    * Weitere erforderliche Anforderungen: ok 
    * Erforderliche Funktionen: ok 
    * Benötigte PHP Konfiguration (php.ini): ok 
    * Verzeichnisse mit Schreibzugriff: ok 
    * Verzeichnisse mit Schreibzugriff auf Tag Manager: ok 
    
    ## Optionale Prüfungen
    
    * Tracker-Status: ok 
    * Speicherlimit: ok 
    * Zeitzone: ok 
    * Öffnen einer URL: ok 
    * PageSpeed deaktiviert: ok 
    * GD > 2.x + Freetype (graphics): ok 
    * Andere Erweiterungen: ok 
    * Andere Funktionen: ok 
    * Dateisystem: ok 
    * Letzter erfolgreicher Abschluss der Archivierung: ok 
    * Datenbankfähigkeiten: ok 
    * Maximale Packetgröße: ok 
    * Standorterkennung: ok 
    * Update über HTTPS: ok 
    * Schreibbarer JavaScript-Tracker ("/matomo.js"): ok 
    * Supports Async Archiving: No
    * Location provider ID: geoip2php
    * Location provider available: Yes
    * Location provider working: Yes
    * Had visit in last 5 days: Yes
    
    ## Matomo Settings
    
    * Track mode: default
    * Track codeposition: footer
    * Track api endpoint: default
    * Track js endpoint: default
    * Version history: 4.1.2
    * Core version: 4.1.1
    * Last tracking settings update: 1611486384
    * Last settings update: 1611486551
    * Track ecommerce: No
    * Disable cookies: Yes
    * Limit cookies: Yes
    
    ## Logs
    
    * Keine: 
    
    # WordPress
    
    * Home URL: $site_url
    * Site URL: $site_url
    * WordPress Version: 5.6
    * Number of blogs: 1
    * Multisite Enabled: No
    * Network Enabled: No
    * WP_DEBUG: No
    * WP_DEBUG_DISPLAY: Yes
    * WP_DEBUG_LOG: No
    * DISABLE_WP_CRON: -
    * FORCE_SSL_ADMIN: Yes
    * WP_CACHE: Yes
    * CONCATENATE_SCRIPTS: -
    * COMPRESS_SCRIPTS: -
    * COMPRESS_CSS: -
    * ENFORCE_GZIP: -
    * WP_LOCAL_DEV: -
    * DIEONDBERROR: -
    * WPLANG: -
    * ALTERNATE_WP_CRON: -
    * WP_CRON_LOCK_TIMEOUT: 60
    * WP_DISABLE_FATAL_ERROR_HANDLER: -
    * MATOMO_SUPPORT_ASYNC_ARCHIVING: -
    * MATOMO_TRIGGER_BROWSER_ARCHIVING: -
    * MATOMO_ENABLE_TAG_MANAGER: -
    * MATOMO_SUPPRESS_DB_ERRORS: -
    * MATOMO_ENABLE_AUTO_UPGRADE: -
    * MATOMO_DEBUG: -
    * MATOMO_SAFE_MODE: -
    * MATOMO_GLOBAL_UPLOAD_DIR: -
    * MATOMO_LOGIN_REDIRECT: -
    * Permalink Structure: /%category%/%postname%/
    * Possibly uses symlink: No
    * Compatible content directory: Yes
    
    # WordPress Plugins
    
    * Add-on Contact Form 7 - Mailpoet 3: 1.3.15
    * Artbees Themes Captcha: 1.0
    * Bounce Handler Mailpoet: 1.3.21
    * Chris Email Return Path: 1.0.0
    * Classic Editor: 1.6
    * Contact Form 7: 5.3.2
    * Contact Form 7 Image Captcha: 3.2.1
    * Debug Objects: 2.5.0
    * Email Encoder - Protect Email Addresses: 2.1.0
    * iThemes Security: 7.9.0 (Network enabled)
    * Jupiter Core: 1.0.2
    * Jupiter Donut: 1.1.0
    * MailPoet 3 (New): 3.58.0
    * MailPoet 3 Premium (New): 3.58.0
    * Maintenance: 3.99
    * Matomo Analytics - Ethical Stats. Powerful Insights.: 4.1.2
    * Mobilize: 3.0.1
    * Optimize Database after Deleting Revisions: 5.0.3 (Network enabled)
    * PHPEnkoder: 1.14.1
    * Query Monitor: 3.6.7
    * Rank Math SEO: 1.0.56.1
    * Thrive Architect: 2.6.5.1
    * Thrive Leads: 2.3.7.1
    * Thrive Product Manager: 1.2.4
    * User Role Editor: 4.58.2
    * W3 Total Cache: 2.1.0 (Network enabled)
    * Webcraftic Clearfy – WordPress optimization plugin: 1.8.2
    * WPBakery Page Builder (Modified Version): 6.5.0
    * WP Edit: 4.0.4
    * WP Mail SMTP: 2.5.1
    * Yoast Duplicate Post: 4.0.2
    * Active Plugins: 27 (add-on-contact-form-7-mailpoet artbees-captcha better-wp-security bounce-handler-mailpoet chris_email_return_path classic-editor clearfy contact-form-7-image-captcha contact-form-7 duplicate-post js_composer_theme jupiter-core jupiter-donut mailpoet-premium mailpoet maintenance matomo php-enkoder rvg-optimize-database seo-by-rank-math thrive-leads thrive-product-manager thrive-visual-editor user-role-editor w3-total-cache wp-edit wp-mail-smtp)
    * Theme: jupiter (jupiter)
    
    # Server
    
    * Server Info: nginx/1.18.0
    * PHP OS: Linux
    * PHP Version: 7.3.26
    * PHP SAPI: fpm-fcgi
    * PHP Binary Name: php-fpm
    * Timezone: UTC
    * WP timezone: Europe/Berlin
    * Locale: de_DE
    * User Locale: de_DE
    * Memory Limit: 512M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
    * WP Memory Limit: 256M
    * WP Max Memory Limit: 512M
    * Timezone version: 0.system
    * Time: 1611567777
    * Max Execution Time: 14400
    * Max Post Size: 1G
    * Max Upload Size: 1073741824
    * Max Input Vars: 4000
    * Disabled PHP functions: No
    * zlib.output_compression is off: Yes
    * Curl Version: 7.64.0, OpenSSL/1.1.1d
    * Suhosin installed: No
    
    # Database
    
    * MySQL Version: 5.5.5
    * Mysqli Connect: Yes
    * Force MySQL over Mysqli: No
    * DB Prefix: teo_
    * DB CHARSET: utf8mb4
    * DB COLLATE: 
    * SHOW ERRORS: No
    * SUPPRESS ERRORS: No
    * Uses Socket: No
    * Uses IPv6: No
    * Matomo tables found: 42
    * Matomo users found: 8
    * Matomo sites found: 1
    * Erforderliche Berechtigungen: OK
    
    # Browser
    
    * Browser:  (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0)
    * Language: en,de,en-gb,en-us

    I will soon have to disable Matomo on that site if this can’t be resolved – but I sure hope it can. Thanks for your support!

    Tim

    Plugin Author Tim Reeves

    (@tim-reeves)

    You’re welcome. Praise works – I just fixed a bug which prevented from deleting custom styles once you added them.
    Tim

    • This reply was modified 1 month, 3 weeks ago by Tim Reeves.
    Plugin Author Tim Reeves

    (@tim-reeves)

    Hi again,
    I have corrected the problem with not being able to delete custom styles once added, And I have documented that it does NOT work with Gutenberg classic blocks.
    Tim

    Plugin Author Tim Reeves

    (@tim-reeves)

    Hi @i_mike,
    I’ve just checked my own installation, with WordPress 5.6. The css files in the frontend and in TinyMCE seem to work fine, also adding a new custom style. But when I try to remove a custom style I get “Uncaught TypeError: document.getElementById(…) is null” in the browser console. Is this your problem?
    I’ll try and have a look at it but no promises – so much to do…
    Again: If anyone wants to take over this plugin, please let me know!
    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    Hi Ciprian,

    I’ve added an overlay pane which can be clicked on to close the menu. Obviously I had to update the plugins code a little, you can get it here if this helps: https://timreeves.de/mobilize.zip

    In the documentation directory you’ll find a file “CSS-Hamburger-Icon.css” which documents how to make a groovy animated hamburger, which morphs to an “X” when the menu is open (picked it up on the net and adapted it a little – fascinating, it’s 6 span tags grouped in a div).

    See it all in action: https://nwxrvtnh.weltengeschwister-gesandtschaft.org/

    BTW great idea just to add a Gutenberg Block after the menu, I’m using it to add another menu and a search box. Again btw what a drag to have to write an own mini-plugin to make a WP menu available per Shortcode (I did not find any Gutenberg Block which would insert a menu, so I had to go the indirect way via a shortcode). Final thought: An option to have the Gutenberg Block inserted before the menu? For example, then you could have a login block before the menu.

    Cheers,

    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    Me again 🙂
    I’ve just removed the “Close” link from the HTML of the menu pane.
    Could you imagine making it optional?
    I’ve found a great pure CSS animation for morphing a hamburger to an X, and will move the slide-in menu panel to be directly under the toggle element, leaving it visible and clickable. An advantage for the user is that she does not have to move the mouse far from the hamburger toggle to click on menu entries.
    Cheers,
    Tim

    Thread Starter Tim Reeves

    (@tim-reeves)

    I’ve noticed that you add/remove the class “no-scroll” to <body>. Recently I’ve had problems on large WordPress sites with name collisions – easy to happen with a large theme and a lot of plugins. In my copy I have therefore changed “no-scroll” to “mobilize-no-scroll”.

    Other than that, the addition of a class outside of the toggle button is all we need to chnage its shape when menu is open – so I’m onto that now.

    Thread Starter Tim Reeves

    (@tim-reeves)

    Hey Ciprian,

    that was the fastest support I ever had – and bang on the money 🙂

    I’ve implemented your changes, and embedded them into the header area of the Astra theme (as yet free version).

    See it here: https://nwxrvtnh.weltengeschwister-gesandtschaft.org/

    The Hamburger I’ve set position:fixed, which will work fine when we get the Pro version of Astra and can make the header sticky (if I don’t do it myself in CSS).

    I’m also thinking to make the Hamburger twist to an “X” while open (I’ve seen it so often, sure I’ll find it – if you have a code snippet would be great). The problem may be doing it without JS – I’ve seen a technique which hides a checkbox behind the Hamburger and uses the :checked state in CSS – nifty. Can post here if it helps.

    I still have 2 open wishes:

    • The text “Close” is fixed so for German “Schließen” I had to edit the PHP file )-: Would be great if you could add the “Close” text as an Option – no need to bother making Mobilize translatable for one text.
    • The user has to click on the “Close” text or on the original Hamburger to close the menu. Would be so great to have an overlay over the rest of the screen (you know, that semi-transparent thingy) which also closes the menu on tap or click.

    Again, many thanks – am appreciating this cooperation.

    Tim

    • This reply was modified 2 months, 2 weeks ago by Tim Reeves.
Viewing 15 replies - 1 through 15 (of 109 total)