template->_tpl_load(): No file specified for handle body

Support zu den Modifikationen (MODs) von Entwickler OXPUS für das phpBB 3.0.x
playagiron
Beiträge: 20
Registriert: Mo 21. Jan 2013, 10:24

Re: template->_tpl_load(): No file specified for handle body

Beitrag von playagiron »

Still having this errors, getting dozens of msg everz day, but cannot reproduce it by myself, seem only some IPs (most likely bots). Checked all edits, reinstalled it and other mods, could not found anzy conflicts ;-(
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: template->_tpl_load(): No file specified for handle body

Beitrag von oxpus »

Hm, you can try to ban bots within the Mod.
On the other side why disallow bots to spider your Downloads?
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
playagiron
Beiträge: 20
Registriert: Mo 21. Jan 2013, 10:24

Re: template->_tpl_load(): No file specified for handle body

Beitrag von playagiron »

I DO want them allowed, see the attached permissions, it should be OK right?
Cattura.PNG
Cattura.PNG (17.31 KiB) 6073 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: template->_tpl_load(): No file specified for handle body

Beitrag von oxpus »

Download yes?
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
playagiron
Beiträge: 20
Registriert: Mo 21. Jan 2013, 10:24

Re: template->_tpl_load(): No file specified for handle body

Beitrag von playagiron »

well thought it might helpo. but even with downbload no, still getting lots of error messages, really cannot see the problem, oh well...
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: template->_tpl_load(): No file specified for handle body

Beitrag von oxpus »

Very strange.
I can't reproduce the error, too.
So I can't find a solution without seeing the possible error.
Bots (known by the forum) will only see the category list of downloads specially they tries to download a file.
Selftests (browser with setted bot user agent) will be redirected to the wanted page...
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: template->_tpl_load(): No file specified for handle body

Beitrag von oxpus »

Possible solution:
Find in file downloads.php the code

Code: Alles auswählen

if (!in_array($view, $view_check))
{
	trigger_error('DL_NO_PERMISSION');
}
(at the end of the file) and replace this with:

Code: Alles auswählen

if (!in_array($view, $view_check) || !$template->filename['body'])
{
	trigger_error('DL_NO_PERMISSION');
}
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
playagiron
Beiträge: 20
Registriert: Mo 21. Jan 2013, 10:24

Re: template->_tpl_load(): No file specified for handle body

Beitrag von playagiron »

Hi

thanks a lot for the suggestion!
Tried it, so far no errors.
But I get another now php error

Code: Alles auswählen

1	Today, 21:07	Guest
5.68.233.70
► Whois
Language: en	Page: downloads.php?view=bug_tracker&df_id=9
File: [ROOT]/downloads.php
Line: 974	[PHP Notice]

Undefined index: body
Will keep looking, anyhow, it's strange that it is a unique error on my installation given I checked carefully all other mods.
Anyway thanks a lot for your support!!
Cheers
playagiron
Beiträge: 20
Registriert: Mo 21. Jan 2013, 10:24

Re: template->_tpl_load(): No file specified for handle body

Beitrag von playagiron »

I saw the new update fixed this problem, great!

However, now instead of this error I get another one (php error) when guests or mods access the bug tracker:

29WV5Y6ZHX214

Code: Alles auswählen

Guest
173.180.14.43
► Whois
Language: en	Page: downloads.php?view=bug_tracker&df_id=6
File: [ROOT]/downloads.php
Line: 974	[PHP Notice]

Undefined index: body

I don't use the bugtracker so thought of removing it altogether but found no option for it, or did I miss something??
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2660
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: template->_tpl_load(): No file specified for handle body

Beitrag von oxpus »

The Bug Tracker can be disabled with options for each download category.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten