kelinu Posted May 12, 2012 Report Posted May 12, 2012 Hi there, My site has been up for over a year without trouble, and without changing anything, I found this when I tried to access the page (airmaltava.com) Notice: The template file "/home/airmalta/public_html//lib/skins/CURRENT_SKIN/header.tpl" doesn't exist in /home/airmalta/public_html/core/classes/TemplateSet.class.php on line 24 Recent Reports No reports have been filed Newest Pilots Warning: Invalid argument supplied for foreach() in /home/airmalta/public_html/core/templates/frontpage_recentpilots.tpl on line 3 Users Online There have been 0 user(s), and 2 guest(s) online in the past 20 minutes. Notice: The template file "/home/airmalta/public_html//lib/skins/CURRENT_SKIN/footer.tpl" doesn't exist in /home/airmalta/public_html/core/classes/TemplateSet.class.php on line 248 I've been over all the files mentioned and still haven't found anything of any significance. Does anybody have any idea as to what's up with this? Thanks, Mike Quote
Administrators simpilot Posted May 12, 2012 Administrators Report Posted May 12, 2012 When I have run in to that error it is usually a database issue, looks like your site is back up though now. Quote
kelinu Posted May 12, 2012 Author Report Posted May 12, 2012 Really? It's still down here. Any idea what I could do to fix the issue? Thanks for the reply. Quote
Administrators simpilot Posted May 12, 2012 Administrators Report Posted May 12, 2012 I was wrong, your site is down I was looking at "airmaltavirtual.com" Check the database and see if the settings table has a value for the template name and it matches something in your skins folder. Quote
kelinu Posted May 12, 2012 Author Report Posted May 12, 2012 Oh god. How many tables are there meant to be in the phpVMS database? There are only 11 here, and I don't see any settings table. Quote
kelinu Posted May 12, 2012 Author Report Posted May 12, 2012 Oh man. I have loads of tables missing. How the heck did this happen? I do have backups. Checking further. Quote
Administrators simpilot Posted May 12, 2012 Administrators Report Posted May 12, 2012 Depending on the version you are running you should have 29 to 32 tables in your database not including any tables for addons. If you only have 11 something has happened to your database. (corruption, accidental deletion, hacked, etc...) Replacing it with the latest backup will probably be your best remedy. Quote
kelinu Posted May 12, 2012 Author Report Posted May 12, 2012 Woah. Thanks again for your help. I really wonder how this happened. I'm checking with my host to see if they have any logs of database access. I do hope this wasn't malicious, but I can't really can't see any other possibility. Quote
Strider Posted May 13, 2012 Report Posted May 13, 2012 It has happened me before, usually after the host upgraded the cpanel or phpmyadmin. It can cause havoc with tables. revert back to the most recent backup you made, and all should be fine. Quote
Moderators Kyle Posted May 13, 2012 Moderators Report Posted May 13, 2012 It has happened me before, usually after the host upgraded the cpanel or phpmyadmin. It can cause havoc with tables. revert back to the most recent backup you made, and all should be fine. Well that not cool when hosts do something like that and screws with our websites. I don't even like when they do that. That's why I go for VPS or Dedicated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.