Troubleshooting mode in Pantheon hosting do not work
-
This is related to Birgit Pauli-Haack’s report that the troubleshooting mode of this plugin is not working in Pantheon hosting.
When
Enable Troubleshooting Mode is clicked
for the first time, nothing happens, it just goes to the default dashboard page. Then when you go back to the click to enable troubleshooting mode, it will saySorry, you are not allowed to access this page.
One thing that I observed is that the default file in the mu-plugins folder has been written without any issues.Tried it on a newly installed 5.0.3 site without any plugin and default twentynineteen theme, here are more details about the setup:
WP version: 5.0.3 Server architecture | Linux 4.14.15-201.fc22.x86_64 x86_64 -- | -- Web Server Software | nginx/1.8.1 PHP Version | 7.2.14 (Supports 64bit values) PHP SAPI | fpm-fcgi PHP max input variables | 10000 PHP time limit | 120 PHP memory limit | 256M Max input time | 900 Upload max filesize | 100M PHP post max size | 100M cURL Version | 7.40.0 NSS/3.21 Basic ECC SUHOSIN installed | No Is the Imagick library available | Yes
Console logs shows under the Site Status tab:
VM148:1 POST https://example.com/wp-admin/admin-ajax.php 400 (anonymous) @ VM148:1 send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:4 ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:4 n.(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:4 (anonymous) @ health-check.js?ver=1.2.5:196 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2 (anonymous) @ health-check.js?ver=1.2.5:188 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2 ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2 K @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2
php slow log error shows:
script_filename = /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code//wp-admin/admin-ajax.php [0x00007f7a5081df90] unlink() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:285 [0x00007f7a5081deb0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081ddd0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081dcf0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081dc10] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081db30] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081da50] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081d970] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081d890] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081d7b0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081d6d0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/class-wp-filesystem-direct.php:296 [0x00007f7a5081d5f0] delete() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/plugin.php:859 [0x00007f7a5081d430] delete_plugins() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/includes/ajax-actions.php:3901 [0x00007f7a5081d330] wp_ajax_delete_plugin() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-includes/class-wp-hook.php:286 [0x00007f7a5081d250] apply_filters() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-includes/class-wp-hook.php:310 [0x00007f7a5081d1e0] do_action() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-includes/plugin.php:453 [0x00007f7a5081d0e0] do_action() /srv/bindings/a94484ccf3e64353a32c620ff37ac9d7/code/wp-admin/admin-ajax.php:99
Things that I have tried to troubleshoot
– removed all Pantheon mu-plugins
– added this in the wp-config.php which usually solved file writing issues in the platformdefine('FS_METHOD', 'direct'); define('FS_CHMOD_DIR', ( 0755 & ~ umask() ) ); define('FS_CHMOD_FILE', ( 0755 & ~ umask() ) ); define( 'DISALLOW_FILE_MODS', false );
By the way, awesome plugin you have here and we would love to see it working on more hosting to help out a broader range of WP users out there!
I can share some more details in wp.org Slack via DM for a site access so we can try to collaborate on what is going on with this plugin in that specific hosting.
Also submitted an issue here https://github.com/WordPress/health-check/issues/246
- The topic ‘Troubleshooting mode in Pantheon hosting do not work’ is closed to new replies.