Not sure of the exact Magento version because ... the screen is blank. If anyone knows a way to find it from the command line I'd be grateful. There is a file in the root called PATCH_SUPEE-7405_CE_184.108.40.206_v1-2016-01-20-04-35-33.sh which I think has been run.
This site has been running for 2 years and the front end still looks OK. It broke when the Ubuntu 14 server it was hosted on was update to 16 and that moved PHP 5 to PHP 7, the new PHP seemed to cause many issues. A new VM was commissioned running the Ubuntu version this site was on before the update and this site restored to it. This is the situation I'm now in. The back end on this new site has never let me past the admin page - it always shows the blank screen.
- Deleting /var/cache/*
- Deleting /var/session/*
- Looking at /var/log/system.log just repeats the line
"Not valid template file:frontend/base/default/template/facebooklb/like.phtml"
You can check the Magento version from the command line by running:
php -r "require 'app/Mage.php'; echo Mage::getVersion(); "
In addition to do that, it seems that you don't have display_errors enabled and developer mode in Magento and that is why you see the blank page instead of the error in the browser.
In order to turn on error reporting you should:
a) Open index.php and un-comment the following line
b) Open .htaccess and add the following line at the end:
SetEnv MAGE_IS_DEVELOPER_MODE "true"
Hi & sincere thanks for your help.
The version is 220.127.116.11.
I made the changes you suggested, removed all the files in /var/cache and /var/session and even restarted apache but it made no difference.