Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: pfhirsch on March 09, 2018, 08:02:46 AM

Title: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 09, 2018, 08:02:46 AM
Greetings!

Just encountered my first issue with SM Forum which is self-inflicted.  I removed the default theme line which I believe is causing this issue.

I have read other posts, used the repair settings and was able to select different settings but there wasn't a "save" button...

So now I am gun shy...

I am currently running version 1.1.13 which I would like to upgrade once I get this resolved.

Any help would be great!
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 09, 2018, 08:15:47 AM
what do you mean you removed the default theme line?
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 09, 2018, 08:17:33 AM

I simply deleted what was there.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 09, 2018, 08:54:47 AM
then you need to replace the theme. you canNOT delete the default theme.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 09, 2018, 12:39:33 PM

Right.  That's what I need to do but I can't get into the forum due the error(subject) I am getting.

How can I get into the Forum to reset the theme?

Thanks in Advance.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 09, 2018, 01:49:09 PM
if the files are in place, repair_settings.php should be able to help you out.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 10, 2018, 09:58:16 AM

Thank you for your reply Illori.

Yes, from everything I have read I was thinking the Repair Settings would help as well.

I just tried again and uploaded the repair_settings.php file to where the settings.php as instructed.

I can see the options (attached) but the instructions mention a link for updating purposes but I don't see the link to update.  I can change the option to use the default theme.
"The tool will display a link under each item with a recommended value; clicking these links will update the corresponding text box fields with the recommended value."

What am I missing?




Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 10, 2018, 10:12:43 AM
did you scroll down? there is more to it then just what you are showing.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 10, 2018, 10:20:48 AM

Yes, what displays there is the Paths and URLs section.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 10, 2018, 11:22:40 AM
in that section does it include the default theme? is the path and URL to the default theme correct?
is the default theme in that location?
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 10, 2018, 11:28:42 AM

No, Forum URL & Directory, Sources and Attachments Directories...

Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 10, 2018, 11:50:47 AM
did you delete the default theme from the themes section in the admin panel or where exactly was it removed?
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 10, 2018, 11:51:35 AM

Yes, from the admin panel.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 10, 2018, 11:53:03 AM
might be easier to ask your host to restore your database from a recent backup then to try to manually fix this mess.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 10, 2018, 11:55:47 AM

Unfortunately I have no backups...
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 10, 2018, 12:45:08 PM
your host has no backups either?
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 11, 2018, 07:12:18 AM

No, I assumed there were backups but since SMF is third party the Host does not back it up. Lesson Learned.

I have since uninstalled and installed 2.0.6 but lost all data which wasn't a lot.

I appreciate your help Illori.

Best Regards!
Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 11, 2018, 07:30:41 AM
you really need to have 2.0.15 installed, and that is a sorry excuse from your host. they should do a backup even if you are using someone elses software.
Title: Re: Unable to load Themes/default/index.template.php!
Post by: pfhirsch on March 11, 2018, 07:41:08 AM
Yes, very lame.  The highest version available thru Host is 2.0.6.

Title: Re: Unable to load Themes/default/index.template.php!
Post by: Illori on March 11, 2018, 07:46:34 AM
then you should not use your hosts auto installer, or you should upgrade to 2.0.15.