News:

Wondering if this will always be free?  See why free is better.

Main Menu

Error on log

Started by adp, July 18, 2014, 10:32:36 AM

Previous topic - Next topic

adp

Hello my friends,

I got a error on my log:

Could not load template 'main'.

This show's on several situations, like:
index.php?action=.xml%3Btype%3Drss
index.php?action=dlattach%3Btopic%3D14599.0%3Battach%3D10762

Anyone know's how to fix it?

Deaks

what mods and themes do you have installed?
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."


Deaks

can you please post the exact messages you get, this error should display more that what you are saying, we need files and lines for this error.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

adp

This is what i can see on error log system:
Could not load template 'main'.
I get around 3 error per hour. I guess this only happens to some users. What files do you need?

Deaks

please take a screenshot of the errors
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

adp

It's on Portuguese, i can't select English sorry:
http://i.imgur.com/WdcJUzA.png

Deaks

go to Admin - Server Settings - General and uncheck  Disable evaluation of templates and tell me if that sorts the log? (btw empty your log aswell)
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

adp

Hello
I still got error. Ex:
index.php?action=activate%3bu=46005%3bcode=95fe5f6a0e
index.php?action=.xml%3Btype%3Drss

Ninja ZX-10RR

Again, post the entire error or either a screenshot of it.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

adp

It's about the same i post above:
http://i.imgur.com/MlwEszd.png

I can't select english, but any word i can translate from portuguese to english.

adp


Ninja ZX-10RR

I was in hospital and probably missed this... Have you tried if your default theme works? Try http://{your site}/index.php?action=theme;sa=pick;u=1;theme=1;
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Kindred

That won't do anything... This has nothing to do with the theme...

Since I don't do imagur, can you please post your mods as actual text?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Ninja ZX-10RR

He sais something about a template so sorry to disagree but IMHO it might be something related to the theme. As regards the mods well yes a mods list will be appreciated :D
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Kindred

Just because it uses the word template does not mean that its a theme issue. The specific error that he references is unable to load main template. That error typically comes from badly written mods or people trying to access a file which has no template associated to it . This is why I need to see a listing of his mods and once again there is almost 99% chance likely that there is nothin to do with the theme.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Ninja ZX-10RR

THAT's a kind explanation, and NOW I can agree. Thank you :) waiting for the mods list as well.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

margarett

If you look at it, the error log mentions some IP (which I can't easily search on the phone) who's requesting action=.xml;type=rss

So yes, we need a list of mods, but a copy of News.php will also be nice to have ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

adp

This is the list my friends:


Vimeo Embedder BBC Mod
Tapatalk SMF 2.0 Plugin
Aeva ~ Auto-Embed Video & Audio
markItUp! for SMF
Additional Membergroups under nickname on post
Team Page
TopicCountOnDisplay
Default Avatar
Tagging System Tag Colors
Redirection Topics
Bookmarks
User Control Panel By Alan S
Broken Links List Update
Sortable Packages (and Installed Time)
Tabbed smileys
Advanced Recent Posts
nCode Image Resizer
Broken Links List
Custom Form Mod
Enhanced Dropdown
Wrap Text Around Image
KeyCAPTCHA for SMF
Share This Topic
Additional Instant Messengers
Change Attachment Downloads
Country Flags
Tagging System
Attachment File Renamer
Attachments Positioning
Rename Topic
Automatic Index 2.4
Quick Spoiler
BBC User Info
View Only Boards
Grouped Who's Online
Users Online Today
Stop Spammer
SimpleColorizer
Move Topic Notification
More Spiders
ed2k links support
Add Join Date to Post
Set order for sticky topics
Justify BBCode
Google Analytics Code
Drafts
Add Domaintools to TrackIP
SMF Search Enhancement Mod
Caps_Lock_Detection_on_Login
[BBCode] Blink
Attachment Notice
Add Social Media Icons To Profiles
PortaMx 1.51 ecl



margarett

This is a bit forgotten here, so let's have a refresh :P

Your News.php seems fine. Do you have a Xml.template.php (in your theme or in default theme's folder)?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

adp

Thank you for the update :)

No, i don't have :x

margarett

Well, that should be it ;) Pick it from a clean SMF install and put it in default theme's folder

Why you don't have it, no idea...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

adp

My bad, i was searching on current theme :x
File on attachments :)

margarett

It's also good. I was just looking at your errors again and this is probably unrelated to what I was thinking, since you also have the same issue with ?action=activate and that has nothing to do with News.php

* margarett is a bit lost now...

Ok, I can reproduce your issue, using the URL that shows in your error log:
http://www.docspt.com/index.php?action=.xml%3Btype%3Drss
So the ; is replaced with %3B and = is replaced with %3D
But the first = is not replaced.
If I use the "normal" link, then it loads fine.

Performing the same test in my localhost, it opens the board index, which means that the action is invalid. And I get no errors on my log. So that's probably something related to how the portal is handling the redirection of invalid actions. Why are these actions invalid (since %3B and %3D are the correct encodings for ; and =) I don't really know...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Arantor

SMF rewrites $_GET based on what it finds in the query string. Survey says it appears not to be urldecoding.

adp

I'm lost too, that's why i ask for help :x But thanks anyway ;)

kat

Just a hunch... My Portuguese is a bit rusty. ;)

When I see the error, though, I get a feeling about the ol' "Unable to load main_above template" thing (Or similar).

Could it be that?

(I could be WAY wrong, obviously)

Mstcool

It seems the problem is in your portal because your forum seems to be working fine. Try disabling your portal and see if that works. :P

Advertisement: