I’m seeing errors appear in my error_log file that refer to the file “admin.php”, here is an example:
[20-Apr-2015 21:45:13 Europe/London] PHP Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 5 in /mypath/public_html/admin.php on line 0
Firstly, what does this mean? Also what is the admin.php file and do I need it?
To help answer, here is some background on the site. When I first took over control of the site, a few years ago, it used some kind of Frontpage related CMS that was terrible and I did not like (it only worked right in IE, not in good browsers, wierd!). I was at the time learning html and css, so thought I would have a go at building a hand-made html site form scratch. I did this and replaced the CMS with my hand-made site and deleted as much as I dare of the old system. At the time I was just getting my head around html and css, I didn’t at the time really know waht php was. I have since then learnt about php and re-built the site using php.
Now, this admin.php file, I’m thinking its just some throw-back to the old CMS and is no longer needed (it is last modified in 2010, which makes me think this). On the other hand it may be some important system file that I should not delete. If I open the file, it is not in any format I can read, just symbols and nonsense (to my eye). The fact that it is cropping up errors now suggests someone or something it still trying to use the file.
Can anyone give me a clue?