Mobile Failover Mode

Post

Posted
Rating:
#3863 (In Topic #760)
Avatar
Standard member
HardTrancid is in the usergroup ‘Fan in action’
Good day, for some reason when a user loads our site on a mobile phone the following error is shown:

"Cannot Create a _mobile_failover_mode.htm" file. File permissions for the . directory have not been set correctly.

This is odd, as the Auto Upgrade function works correctly, and I even ran the "fix permissions" ..  
Online now: No Back to the top

Post

Posted
Rating:
#3865
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hello,

It sounds like you've enabled failover mode in the config editor (config_editor.php, "Installation options").

I don't know the exact cause of the error off-hand. But if you disable failover mode that should go away.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3898
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hello again,

I've had a closer look.

There is a bug here, and it occurs under the following combination of conditions:
  1. Failover mode configured (as mentioned in my prior post). This isn't a default, so you would have enabled it.
  2. User on a mobile device.
  3. Guest user.
  4. Static cache configured.
  5. Non-suEXEC server

The issue is fixed in this sources/site.php:
https://raw.githubusercontent.com/ocproducts/composr/master/sources/site.php


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.
Back to Top