News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Unable to load Themes/default/index.template.php!

Started by Aaron H, September 14, 2009, 01:07:27 AM

Previous topic - Next topic

Aaron H

I have looked at your other posts on this subject, i cant seem to fix this error which has occured

Unable to load Themes/default/index.template.php!

Im using the latest versions which were installed just yesterday the link is http://gamingvortexforums.co.uk/ [nofollow]

Yigal

Have you installed any modifications?  If so...which?  Do you have any backups to your forum?
Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

Norv

If you installed a mod, you can take a look in your forum's ./Packages/backups, you will find there zipped backups of your SMF core files before installation of any mod. Take the latest, download it on your computer, unzip and get index.template.php from it, to use it instead. (from Themes/default)
Make sure you do keep a copy of the current index.template.php, just in case.

Alternatively, please consider attaching here your current index.template.php.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github


Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github


Norv

I see nothing wrong with the file at first sight, I can even use it successfully on a test installation.

What else happened meanwhile, did you by any chance change paths on the server? Or, can you please tell where, on what path exactly was this index.template.php file?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Yigal

Try the "repair_settings.php" tool to check if all of your paths are correct.  What is repair_settings.php?
Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

Aaron H


Norv

About repair_settings.php: Were all your paths correct? Did the paths to the default Theme point indeed to your folder?
Please note that running the file doesn't do anything by itself, but it shows you a list of paths and settings for you to correct.
Then, save them. It may be useful to save even if you didn't need to change anything.

Also:
Quote from: Norv on September 14, 2009, 07:24:12 PM
What else happened meanwhile, did you by any chance change paths on the server? Or, can you please tell where, on what path exactly was this index.template.php file?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Aaron H

I have, i checked the directory it was one of the first things to which i did

Norv

Please log in phpMyAdmin, select your forum's database on the left, and select the SQL tab on the right window. Run this SQL code:

SELECT url, message, error_type, file, line FROM smf_log_errors ORDER BY log_time DESC LIMIT 50

and paste the result here.
( What is phpMyAdmin? )
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Aaron H

SQL query: Documentation

SELECT url, message, error_type,
FILE , line
FROM smf_log_errors
ORDER BY log_time DESC
LIMIT 50

MySQL said: Documentation
#1146 - Table 'gamingvf_ff.smf_log_errors' doesn't exist

Norv

Please, use your database prefix in the place of "smf_".
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github


Aaron H


mortymoose

Thanks Norv, had a similar problem..... Aha... the power of backups.....

thanks

Norv

Aaron H: The name of the table in your database, is not "smf_log_errors", it seems to be something else. As you look at the table names in that database, what do they start with? That is the database prefix, that you have set at installation time for SMF. Like, what is the first table named?

mortymoose: ohyes! *goes make another just to be sure*.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github


Norv

Please look in phpMyAdmin, after you select the database, at the table names, that appear on the left, under the database name. What are these table names, give an example or two.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Advertisement: