2009-07-28, 06:52 AM
2009-07-28, 07:07 AM
This might be your problem. :/
http://community.mybboard.net/thread-50240.html
Running this query in phpMyAdmin should fix it.
http://community.mybboard.net/thread-50240.html
Running this query in phpMyAdmin should fix it.
INSERT INTO mybb_templates (title,template,sid,version) VALUES('index', '<html><head><title>{$mybb->settings[\'bbname\']}</title>{$headerinclude}<script type=\"text/javascript\"><!-- lang.no_new_posts = \"{$lang->no_new_posts}\"; lang.click_mark_read = \"{$lang->click_mark_read}\";// --></script></head><body>{$header}{$forums}{$boardstats}<dl class=\"forum_legend smalltext\"><dt><img src=\"{$theme[\'imgdir\']}/on.gif\" alt=\"{$lang->new_posts}\"title=\"{$lang->new_posts}\" style=\"vertical-align: middle; padding-bottom: 4px;\" /></dt> <dd>{$lang->new_posts}</dd><dt><img src=\"{$theme[\'imgdir\']}/off.gif\" alt=\"{$lang->no_new_posts}\" title=\"{$lang->no_new_posts}\" style=\"vertical-align: middle; padding-bottom: 4px;\" /></dt><dd>{$lang->no_new_posts}</dd> <dt><img src=\"{$theme[\'imgdir\']}/offlock.gif\" alt=\"{$lang->forum_locked}\" title=\"{$lang->forum_locked}\" style=\"vertical-align: middle;\" /></dt><dd>{$lang->forum_locked}</dd></dl><br style=\"clear: both\" />{$footer}</body></html>', '-2', '1400');
2009-07-28, 10:36 AM
Is the actual template gone completely or has the code just gone from inside it?? If the code has just gone, you can revert it to default, but if the template has completely gone, then the query above is for you.
2009-08-16, 11:01 PM
The whole template is gone.
2009-08-16, 11:06 PM
Then run that query and it'll get added back in.
2009-08-16, 11:09 PM
How do I do that? Sorry, I am new to all of this.
2009-08-16, 11:11 PM
In your host control panel, you should see something called phpMyAdmin, or something similar, ask your host if you're not sure where it is... then from the list on the left, choose your database, click the SQL tab along the top, paste the code in, and click Go.