Title: Sentynel's Replies | WordPress.org

---

# Sentynel

  [  ](https://wordpress.org/support/users/sentynel/)

 *   [Profile](https://wordpress.org/support/users/sentynel/)
 *   [Topics Started](https://wordpress.org/support/users/sentynel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sentynel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sentynel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sentynel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sentynel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sentynel/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Mobile Theme Not Working](https://wordpress.org/support/topic/mobile-theme-not-working-4/)
 *  [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/mobile-theme-not-working-4/#post-7677181)
 * Logged back into Jetpack and the issue is still happening. Double checked the
   settings in the database for the mobile theme are correct.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] Mobile Theme Not Working](https://wordpress.org/support/topic/mobile-theme-not-working-4/)
 *  [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/mobile-theme-not-working-4/#post-7677173)
 * I’m having the same issue – updated to 4.6 and the corresponding Jetpack updates
   last night, and the mobile theme isn’t working. I’ve tried turning off the mobile
   theme in Jetpack settings and turning it back on. We do use WP Super Cache with
   the Jetpack plugin enabled, but I’ve confirmed it’s correctly generating separate
   mobile cache files as before, it’s just that the desktop theme is being served
   to all browsers.
 * Have tried turning the Jetpack plugin itself off and back on; currently waiting
   for the person with the Jetpack account to log it back in.
 * Site is [http://www.angrymetalguy.com/](http://www.angrymetalguy.com/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: ["Database error Specified key was too long" on ALTER TABLE to utf8mb4](https://wordpress.org/support/topic/database-error-specified-key-was-too-long-on-alter-table-to-utf8mb4/)
 *  Thread Starter [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [11 years ago](https://wordpress.org/support/topic/database-error-specified-key-was-too-long-on-alter-table-to-utf8mb4/#post-6058679)
 * It’s not that issue – the update script thinks it’s succeeded, and everything
   seems to be working. But the commentmeta table remains in utf8 mode, not utf8mb4,
   and I’m concerned about potential future problems from the charset not being 
   what WordPress thinks it is. Attempting to manually run the alter table commands
   simply results in the same error:
 *     ```
       MariaDB> alter table wp_redacted_commentmeta convert to character set utf8mb4 collate utf8mb4_unicode_ci;
       ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Zero length pages on Ubuntu 14.10/nginx/PHP-FPM](https://wordpress.org/support/topic/zero-length-pages-on-ubuntu-1410nginxphp-fpm/)
 *  Thread Starter [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/zero-length-pages-on-ubuntu-1410nginxphp-fpm/#post-5443354)
 * Never mind, I fixed it. Now needs this in the nginx config (I’m not sure why 
   it was working without this previously and now needs it):
    fastcgi_param SCRIPT_FILENAME
   $document_root$fastcgi_script_name;
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] wp-admin redirect to wp-login broken with non-default SSL host](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/)
 *  Thread Starter [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/#post-5009187)
 * Okay, after further debugging, there’s a bug with the makeUrlHttps function. 
   I haven’t tried to debug it fully because the function is huge and there’s no
   obvious trigger (for example, some scripts included on pages are broken, but 
   some others work properly). I just have the following workaround inserted before
   the return statement in that function and everything is now working correctly(
   including the redirect to wp-login):
    `$string = str_replace('https://www.example.
   com', 'https://secure.example.com', $string);`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] wp-admin redirect to wp-login broken with non-default SSL host](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/)
 *  Thread Starter [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/#post-5009129)
 * Workaround: I added a filter on ‘wp_redirect’ that just does a str_replace for‘
   [https://www.example.com&#8217](https://www.example.com&#8217); to ‘[https://secure.example.com&#8217](https://secure.example.com&#8217);.
   I did have a go at working out which function from WordPress HTTPS I should be
   calling, but the ones I tried didn’t quite do what I expected.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress HTTPS (SSL)] wp-admin redirect to wp-login broken with non-default SSL host](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/)
 *  Thread Starter [Sentynel](https://wordpress.org/support/users/sentynel/)
 * (@sentynel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/wp-admin-redirect-to-wp-login-broken-with-non-default-ssl-host/#post-5009106)
 * Of course, I’ve just realised that my workaround doesn’t work if you request 
   the secure /wp-admin/ while not logged in, because that still sends you to the
   www URL for the login page, and thus breaks. This needs fixing in the plugin.

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