• Resolved ideafixname

    (@ideafixname)


    It seems to me that the system has a common cache for all WordPress instances on the server. At first glance, there are no conflicts between different blogs. Are there any special features in the server or plugin configuration on a server with 2-3 WordPress installations?

Viewing 15 replies - 1 through 15 (of 87 total)
  • Plugin Author docjojo

    (@docjojo)

    Unless these installations are not served from the same root, there shouldn’t be a problem.

    You can however define a salt per installation in wp-config.php:

    define(‘WP_APCU_KEY_SALT’, ‘some salt here’);

    Thread Starter ideafixname

    (@ideafixname)

    Different roots, different vhosts, different domain names. But I see all objects from all blogs on “Page Cache” tab. Pages from current blog have a title, pahes from other blogs – only size.

    Thread Starter ideafixname

    (@ideafixname)

    2 wordpress blogs on one derver. Cache statis is strange. WP_APCU_KEY_SALT is diferent for each blog

    https://ibb.co/Qj3sXZd i can not paste an image right on post

    Also, all stats are not for the each blog, but for both blogs….

    Thread Starter ideafixname

    (@ideafixname)

    https://ibb.co/N7Fy1vL

    It is bad, it is very bad. One blog show titile of category from database for cache opbject of another blog. Actually, this plugin is “single user”… as all wordpress caching system. IMHO.

    Plugin Author docjojo

    (@docjojo)

    let me check that

    Plugin Author docjojo

    (@docjojo)

    i can reproduce the issue.

    Plugin Author docjojo

    (@docjojo)

    I have put some salt into the page cache.

    You are correct, the APCu cache is shared by all installations on the same machine/hosting account.

    That’s why can see all APCu entries in the group tab.

    The pcache however should not be share among other installations. With the salt that should be fixed now.

    Please try the new version and let me know.

    To download the new version, please go to https://atecplugins.com/ and install our deploy plugin. This way you can install re-relase versions –?as new APCu cache is not yet uploaded to WP repository.

    Plugin Author docjojo

    (@docjojo)

    please deaktivate old version before update.

    Thread Starter ideafixname

    (@ideafixname)

    Hi. Thank you for a fast respond. I allready deleted a plugin, and checked database tables and hosting directories. Your plugin correctrly deletes tables via uninstallation – it is very cool. A lot of other plugins (for example lcache) are not good in this case and unused table (75% of db size) is in the db after plugin uninstallation.

    Now i made changes in wp-config.php and replace ’ to ‘ from you example. Plugin atec Cache APCu v1.6.8 was deployed via atec Deploy v1.1 – No changes:

    https://ibb.co/N3W0zrC

    Object with ID 720 is an attachment in one blog and post in another.

    Salt does not enough salty?

    Also, it was an error message after plugin activation, but it look likes fine afer page refresh.

    • This reply was modified 4 months, 4 weeks ago by ideafixname.
    Thread Starter ideafixname

    (@ideafixname)

    It is not very good….

    root@web:~# tail /var/log/apache2/error.log | grep SALT
    [Wed Jul 03 00:20:57.885685 2024] [proxy_fcgi:error] [pid 4252] [client 95.108.213.78:48538] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41'
    [Wed Jul 03 00:20:58.628882 2024] [proxy_fcgi:error] [pid 4251] [client 10.0.3.1:53035] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/neconference/wp-config.php on line 93', referer: https://neconference.ru/
    [Wed Jul 03 00:21:44.929954 2024] [proxy_fcgi:error] [pid 4251] [client 66.249.66.75:51595] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41'
    [Wed Jul 03 00:21:48.393303 2024] [proxy_fcgi:error] [pid 3871] [client 10.0.3.1:53093] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41', referer: https://library-bat.ru/
    [Wed Jul 03 00:21:56.236955 2024] [proxy_fcgi:error] [pid 3871] [client 10.0.3.1:53104] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/neconference/wp-config.php on line 93', referer: https://neconference.ru/
    [Wed Jul 03 00:22:57.112500 2024] [proxy_fcgi:error] [pid 4243] [client 10.0.3.1:53141] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/neconference/wp-config.php on line 93', referer: https://neconference.ru/
    [Wed Jul 03 00:24:18.723675 2024] [proxy_fcgi:error] [pid 4242] [client 167.86.108.189:35090] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41'
    [Wed Jul 03 00:24:46.075244 2024] [proxy_fcgi:error] [pid 4262] [client 66.249.66.75:56269] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41'
    [Wed Jul 03 00:24:50.941233 2024] [proxy_fcgi:error] [pid 4280] [client 92.204.138.28:57276] AH01071: Got error 'PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 41'
    root@web:~#


    SALT actually does not work?

    • This reply was modified 4 months, 4 weeks ago by ideafixname.
    Plugin Author docjojo

    (@docjojo)

    please remove salt from wp-config. new plugin has salt included.

    Plugin Author docjojo

    (@docjojo)

    yes many plugins don’t clean up on uninstall.

    make sure you have APCu Cache clean and plugin deactivated. Otherwise salt is not set.
    please update to v1.6.9.
    then activate.
    check pcache on both installs. both should be empty.

    then load frontend to build cache.
    compare the two pcache stats, check the twp group stats, you will find atec_WPCA_*SALT*_p_* entries … with different salt.

    Thread Starter ideafixname

    (@ideafixname)

    One more portion of logs…. and error when activating page cache:

    [Wed Jul 03 01:27:36.928283 2024] [proxy_fcgi:error] [pid 4997] [client 10.0.3.1:56762] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20’, referer: https://neconference.ru/

    [Wed Jul 03 01:27:44.267549 2024] [proxy_fcgi:error] [pid 4997] [client 10.0.3.1:56762] AH01071: Got error ‘PHP message: PHP Warning: require_once(atec-cache-apcu-page-cache-admin-tools.php): Failed to open stream: No such file or directory in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php on line 17; PHP message: PHP Fatal error: Uncaught Error: Failed opening required ‘atec-cache-apcu-page-cache-admin-tools.php’ (include_path=’.:/usr/share/php’) in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php:17\nStack trace:\n#0 /opt/wwwroot/neconference/wp-includes/class-wp-hook.php(324): atec_WPCA_settings_fields()\n#1 /opt/wwwroot/neconference/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /opt/wwwroot/neconference/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /opt/wwwroot/neconference/wp-admin/admin.php(175): do_action()\n#4 {main}\n thrown in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php on line 17′, referer: https://neconference.ru/

    [Wed Jul 03 01:27:52.538148 2024] [proxy_fcgi:error] [pid 5012] [client 10.0.3.1:56786] AH01071: Got error ‘PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 42’, referer: https://library-bat.ru/

    [Wed Jul 03 01:28:07.348466 2024] [proxy_fcgi:error] [pid 5011] [client 66.249.66.75:56812] AH01071: Got error ‘PHP message: PHP Warning: Constant WP_APCU_KEY_SALT already defined in /opt/wwwroot/librarybat/wp-config.php on line 42’

    Thread Starter ideafixname

    (@ideafixname)

    i removed salt from wp-config, is it enough to disable|delete plugin and restart apache2 and php fpm to clean up a cache?

    May be, code need to be checked. I will wait 1.6.9.1 version ?? In any case, thank you for a fasy respond

    [Wed Jul 03 01:47:57.507048 2024] [proxy_fcgi:error] [pid 5465] [client 10.0.3.1:57415] AH01071: Got error ‘PHP message: atec-cache-APCu: /opt/wwwroot/neconference/wp-content/object-cache.php exists? \n; PHP message: atec-cache-APCu: SOURCE /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/object-cache.php -> TARGET /opt/wwwroot/neconference/wp-content/object-cache.php\n; PHP message: atec-cache-APCu: Object-cache installation successful\n’, referer: https://neconference.ru/

    [Wed Jul 03 01:47:59.077732 2024] [proxy_fcgi:error] [pid 5465] [client 10.0.3.1:57415] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20’, referer: https://neconference.ru/

    [Wed Jul 03 01:48:02.320270 2024] [proxy_fcgi:error] [pid 5466] [client 10.0.3.1:57438] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20’, referer: https://neconference.ru/

    [Wed Jul 03 01:48:07.074534 2024] [proxy_fcgi:error] [pid 5466] [client 10.0.3.1:57438] AH01071: Got error ‘PHP message: PHP Warning: require_once(atec-cache-apcu-page-cache-admin-tools.php): Failed to open stream: No such file or directory in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php on line 17; PHP message: PHP Fatal error: Uncaught Error: Failed opening required ‘atec-cache-apcu-page-cache-admin-tools.php’ (include_path=’.:/usr/share/php’) in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php:17\nStack trace:\n#0 /opt/wwwroot/neconference/wp-includes/class-wp-hook.php(324): atec_WPCA_settings_fields()\n#1 /opt/wwwroot/neconference/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#2 /opt/wwwroot/neconference/wp-includes/plugin.php(517): WP_Hook->do_action()\n#3 /opt/wwwroot/neconference/wp-admin/admin.php(175): do_action()\n#4 {main}\n thrown in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-register_settings.php on line 17′, referer: https://neconference.ru/

    [Wed Jul 03 01:48:09.260037 2024] [proxy_fcgi:error] [pid 5489] [client 10.0.3.1:57444] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 19; PHP message: PHP Warning: Undefined array key 1 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20; PHP message: PHP Warning: Undefined array key 2 in /opt/wwwroot/neconference/wp-content/plugins/atec-cache-apcu/includes/atec-wp-memory.php on line 20’, referer: https://neconference.ru/

    • This reply was modified 4 months, 4 weeks ago by ideafixname.
    • This reply was modified 4 months, 4 weeks ago by ideafixname.
    Plugin Author docjojo

    (@docjojo)

    thank you.
    please remove WP_APCU_KEY_SALT from /opt/wwwroot/librarybat/wp-config.php?

    please open atec-deploy. and run Redeploy all installed (ignore version).

    This should overwrite APCu with the new version 1.7 and fix these errors.

Viewing 15 replies - 1 through 15 (of 87 total)
  • You must be logged in to reply to this topic.