Page 1 of 1

Blank website after securing cmsms -> changing admin-dir

Posted: Wed Oct 10, 2018 8:03 am
by hdriezenlive
Good morning,

I am upgrading some websites to the latest version 2.2.8.
After the upgrade, I change the name of the admin directory (using FileZilla) to a different name, and change the $config['admin_dir'] option in config.php to the same name.
However, that leaves me with a blank website, and the weird thing is that changing both settings back to 'admin' does not bring the website back, it still leaves me with a blank website.
So far I have found no other option than doing a complete restore.

Any ideas about why this happens and what to do about it?

Thanks!

Hans

Re: Blank website after securing cmsms -> changing admin-dir

Posted: Wed Oct 10, 2018 9:39 am
by PinkElephant
Hi Hans

If the upgrade was successful then maybe, just maybe, you rendered the config file unreadable when updating it (permissions, etc). Regardless, "blank website" usually means the webserver error logs will point the way...

Re: Blank website after securing cmsms -> changing admin-dir

Posted: Wed Oct 10, 2018 1:28 pm
by DIGI3
You may also need to clear the cache manually. Remove everything from /tmp/cache and tmp/templates_c in the file system

Re: Blank website after securing cmsms -> changing admin-dir

Posted: Thu Oct 11, 2018 9:30 am
by hdriezenlive
Looks like it was the cache indeed, thanks for the tip!