Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: bud01100 on May 24, 2013, 09:44:54 PM

Title: [SMF 2.04] Unable to load the 'main' template
Post by: bud01100 on May 24, 2013, 09:44:54 PM
Hi,

Im getting errors thrown in our logs:

Guest
70.63.94.5   
Today at 08:45:28 PM
7aaf5e7ff2390f9d595c75cecf828d48
Type of error: Template 
http://www.xyz.com/index.php?action=http://babycaleb.fortunecity.co.uk/index.htm?Unable to load the 'main' template


Seems to be a problem if the ?action=  contains something that isnt on the site.


Any suggestions or fixes?

thank you!

Added:

Installed Mods:


1. Tabbed smileys 0.3.6   [ List Files ] [ Delete ] 
2. Add IP2Location to Track IP 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
3. View Voters at Polls 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
4. SMF 2.0.1 Update 1.0   [ List Files ] [ Delete ] 
5. SMF 2.0.4 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
6. SMF Arcade 2.5   [ Uninstall ] [ List Files ] [ Delete ] 
7. Aeva Media 2.10   [ Uninstall ] [ List Files ] [ Delete ] 
8. SMF 2.0.1 Update 1.0   [ List Files ] [ Delete ] 
9. nCode Image Resizer 1.3.1   [ Uninstall ] [ List Files ] [ Delete ] 
10. Welcome Topic Mod 2.1   [ Uninstall ] [ List Files ] [ Delete ] 
11. SMF 2.0.3 Update 1.0   [ List Files ] [ Delete ] 
12. Users Online Today 2.0   [ Uninstall ] [ List Files ] [ Delete ] 
13. Personal Messages to Membergroups 1.4.2   [ List Files ] [ Delete ] 
14. Stop Forum Spam 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
15. PortaMx 1.51 ecl 1.51   [ Uninstall ] [ List Files ] [ Delete ] 
16. Topic View Log 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
17. Skin/PDL for Arcade RC2 1.0.2  [ Install Mod ] [ List Files ] [ Delete ] 
18. Poll Moderation Logging 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
19. Post Karma 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
20. Add Domaintools to TrackIP 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
21. SMF 2.0.2 Update 1.0   [ List Files ] [ Delete ] 
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Ricky. on May 24, 2013, 11:27:38 PM
http://www.xyz.com/index.php?action=http://babycaleb.fortunecity.co.uk/index.htm


What kind of url is that .. confusing though make sure your guests are not allowed to use any custom theme and everyone is set to use your forum's overall theme.
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: bud01100 on May 25, 2013, 01:44:18 AM
Quote from: Ricky. on May 24, 2013, 11:27:38 PM
http://www.xyz.com/index.php?action=http://babycaleb.fortunecity.co.uk/index.htm


What kind of url is that .. confusing though make sure your guests are not allowed to use any custom theme and everyone is set to use your forum's overall theme.
The bot or whom ever is adding the http://babycaleb.... to the url

Spam of some kind
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: bud01100 on May 25, 2013, 02:24:37 AM
Quote from: Ricky. on May 24, 2013, 11:27:38 PM
http://www.xyz.com/index.php?action=http://babycaleb.fortunecity.co.uk/index.htm


What kind of url is that .. confusing though make sure your guests are not allowed to use any custom theme and everyone is set to use your forum's overall theme.
How do you make it so the guest cant use a custom theme?
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: kat on May 25, 2013, 05:42:55 AM
Guests can't use any theme, really, other than the forum default, as they can't get to a profile, to change it.
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Kindred on May 25, 2013, 01:10:37 PM
if someone is going to an invalid url, then don't worry about the "error"

there is no template for that action so it chokes.
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: kat on May 26, 2013, 04:58:59 AM
I guess these guests could be using the ol' "index.php?theme=" thing.

One would wonder quite why, though.
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Kindred on May 26, 2013, 08:40:12 AM
Because they are bots, trying to target specific, invalid urls....
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: bud01100 on May 27, 2013, 03:28:10 PM
It would be nice not to fill the log files up with non important info.
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Arantor on May 27, 2013, 03:29:52 PM
Would be interesting to know where SMF is actually going to, to get to that since the non existent action should go to the board index...
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: bud01100 on May 27, 2013, 03:33:30 PM
Quote from: Arantor on May 27, 2013, 03:29:52 PM
Would be interesting to know where SMF is actually going to, to get to that since the non existent action should go to the board index...
Exactly.. I type in an invalid action here and it goes tot he main index

Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Kindred on May 27, 2013, 03:59:02 PM
could be a portaMX thing...
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: vietravel247.com on October 01, 2013, 07:12:44 AM
I have this problem with mod googletagged 2.0 and Nginx server (before I used apache+php didn't have this error).
Title: Re: [SMF 2.04] Unable to load the 'main' template
Post by: Arantor on October 01, 2013, 06:43:49 PM
That sounds like an issue with the mod, please use the mod's dedicated support topic for that issue.