Luckily the site has Akeeba backup installed and takes snapshot on demand, and I found a backup copy of Aug.
As the content of this site is quite static, I decided to roll back to Aug by using Akeeba kickstart script.
After reading the quick guide, I renamed the not-working www directory to www_bad, and uploaded below files to in the new www root directory, except for
- the existing configuration.php
- kickstart.php
- en-GB.kickstart.ini as English installation language
- August's Akeeba backup file
With above and type my domain.com/kickstart.php for the restoration to production site. In few steps and minutes, I got the site working again.
However, pictures of phocagallery were not found. Compared the directory , and found the image/phocagallery were not backed up in the Akeeba backup file. ( Akeeba backup version is v3.4.3). Lucily, I didn't delete the old www directory, and it works again after copy the directory from www_bad/image/phocagallery.
The last step is to rebuild thumnail of phocagallery, as it showed blank in phocagallery, but once clicked, the picture is still shown properly.
Cheers and Thanks Akeeba backup & Kickstart.
Say bye-bye to the hosting provider soon.