Site will not turn "Offline". Need help!

GK User
Wed Nov 02, 2016 4:18 am
Hello,

I have tried to turn off my Storefront website "Offline" and my site is still showing on "Online". I have selected "Yes" for Site Offline in the global configuration however the site won't turn off. Please help!

RJ
User avatar
Expert Boarder

teitbite
Mon Nov 07, 2016 11:45 am
Hi

Sounds like some cache is still showing site from before this change. Try disable it (expecialy server cache).

It also can be a problme of wrong permissions of configuration.php file. It should be 644.
User avatar
Moderator

GK User
Mon Nov 07, 2016 8:47 pm
Let me try this and get back to you.

RJ
User avatar
Expert Boarder

GK User
Mon Nov 07, 2016 8:54 pm
Ok, I'm little lost on where to make those changes. I downloaded the configuration.php file and don't know where to input the 644 for the permissions. Also, where do I disable the cache. I clear all my cache in the backend and that's empty, i do not know where to diable it. Your help will be greatly appreciated.

RJ
User avatar
Expert Boarder

teitbite
Fri Nov 11, 2016 7:55 pm
Hi

If website is not updating a content of the file (configuration.php) than it may be server cache, so clearing cache in joomla will make no difference. You need to ask Your hosting provider if such cache is enabled and clear it or disable for You.

File permissions are on file itself. You need to use some FTP client and see file informations to see permissions. For example I'm using Cyberduck and file informations can be seen with right mouse button or shortcut CMD+I
User avatar
Moderator

GK User
Tue Nov 15, 2016 7:29 pm
Ok will try this and let you know if this worked or not.

Thx,
RJ
User avatar
Expert Boarder

GK User
Tue Nov 15, 2016 9:07 pm
Hello teitbite,

Ok. I have changed the file permissions for the configuration.php file to 644 as stated above. The hosting company has cleared their server cache. I cleared my cache on my end. Went back into the backend to try and turn off the site and it's still showing live. I have no clue what else to do. I also went into the hosting company control panel and disabled the cache setting and nothing changed. I have done some troubleshooting on my end was unable to find the root cause for the issue. Any insight will be greatly appreciated.


RJ
User avatar
Expert Boarder

teitbite
Tue Nov 22, 2016 1:30 pm
Hi

Cache was just my guess, but if this is still not making any difference than it has to be joomla bug. You need to report it to joomla developers.

Meanwhile send me an access to joomla panel and url to Your site. I'll take a look myself too.
User avatar
Moderator

GK User
Tue Nov 22, 2016 4:46 pm
Hello teitbite,
I have sent the information over to you in a private message. Thanks for your help.
RJ
User avatar
Expert Boarder

teitbite
Tue Nov 29, 2016 1:01 pm
Hi

I was right. Your site is being cached on cloud. I've done more than couple of changes which takes no effect at all. For example deleting files site cannot function without (everything is back in place) or changing to a default joomla template. Please ask Your hosting provider to disable that or to tell You how to work on site when this is in use.
User avatar
Moderator

GK User
Wed Mar 22, 2017 2:55 pm
I have tried to switch the template to one of Joomla default templates and the template remains on the Storefront template and it still shows online instead of offline. I'm scratching my head and have no clue. I think it may be best to do a complete re-install. Your thoughts or insights will be greatly appreciated.

thank,
RJ
User avatar
Expert Boarder

teitbite
Sat Mar 25, 2017 7:50 pm
Hi

It's all cache. Reinstalling will not change anything. It's something You need to talk to Your hosting provider about. Simply ask them to disable caching or to tell You how to do this.
User avatar
Moderator

GK User
Mon Mar 27, 2017 2:34 pm
Yes, I have had the hosting coming company disable all caching and when I turn the website to "offline" nothing happens. The site remains online. I have cleared all cache and checked the hosting company and all cache has been disable. I'm totally scratching my head on this one.

Rob
User avatar
Expert Boarder

teitbite
Fri Mar 31, 2017 1:03 pm
Hi

What is happening I guess is that server cache is just cleared, not disabled, so after clearing it renews and since option to set it offline was not enabled than it will still be remembered as disabled.

Anyway edit file /configuration.php manually, via ftp and change line 3:

Code: Select all
   public $offline = '0';


to

Code: Select all
   public $offline = '1';


than ask Your hosting to clear cache.
User avatar
Moderator

GK User
Fri Mar 31, 2017 5:29 pm
I will double check again to make sure they do this, but I think this has already been done.

Thx,
RJ
User avatar
Expert Boarder

teitbite
Thu Apr 06, 2017 1:08 pm
Hi

Sorry I missed this thread, but we are discussing here same thing as in thread https://www.gavick.com/forums/storefron ... 88#p269088 where I've proposed a quick solution to this joomla bug. Additionally You may try and report this to joomla developers.

Closing this thread since it's a duplication.
User avatar
Moderator


cron