Advertisement:

Author Topic: [SMF 2.04] Unable to load the 'main' template  (Read 6001 times)

Offline bud01100

  • Jr. Member
  • **
  • Posts: 107
[SMF 2.04] Unable to load the 'main' template
« on: May 24, 2013, 09:44:54 PM »
Hi,

Im getting errors thrown in our logs:

Code: [Select]
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 ] 

Offline Ricky.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,057
    • Indian Linux Forums
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #1 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.

Offline bud01100

  • Jr. Member
  • **
  • Posts: 107
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #2 on: May 25, 2013, 01:44:18 AM »
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

Offline bud01100

  • Jr. Member
  • **
  • Posts: 107
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #3 on: May 25, 2013, 02:24:37 AM »
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?

kat

  • Guest
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #4 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.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,953
  • Gender: Male
    • Kindred-999 on GitHub
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #5 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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

kat

  • Guest
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #6 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.

Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,953
  • Gender: Male
    • Kindred-999 on GitHub
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #7 on: May 26, 2013, 08:40:12 AM »
Because they are bots, trying to target specific, invalid urls....
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline bud01100

  • Jr. Member
  • **
  • Posts: 107
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #8 on: May 27, 2013, 03:28:10 PM »
It would be nice not to fill the log files up with non important info.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,771
    • StoryBB/StoryBB on GitHub
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #9 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...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline bud01100

  • Jr. Member
  • **
  • Posts: 107
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #10 on: May 27, 2013, 03:33:30 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


Online Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,953
  • Gender: Male
    • Kindred-999 on GitHub
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #11 on: May 27, 2013, 03:59:02 PM »
could be a portaMX thing...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline vietravel247.com

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Male
  • Chao mung ban den voi hoidulich.com
    • http://facebook.com/hoidulich on Facebook
    • @vietravel247 on Twitter
    • Hội du lịch Việt Nam
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #12 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).

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,771
    • StoryBB/StoryBB on GitHub
Re: [SMF 2.04] Unable to load the 'main' template
« Reply #13 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.