Entries in the error log file

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Entries in the error log file

Post by femu »

Hi,

I have follwoing two entries in my error log file. They appear around 10 times a day:

Code: Select all

[24-Oct-2010 10:47:01] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/diemuel1/public_html/phpbb3/includes/session.php on line 2204
[24-Oct-2010 10:47:01] PHP Fatal error:  template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/diemuel1/public_html/phpbb3/includes/functions_template.php on line 63
In session.php it refers to this line and belogs to the function format_date:

Code: Select all

		return strtr(@gmdate($date_cache[$format]['format_long'], $gmepoch + $zone_offset), $date_cache[$format]['lang']);
And the second one .. I think this error message is the result coming out of the first one.

Does anyone of the cracks might have an idea, where i need to search? I really have no glue, where this is coming from ...

Thanks,
femu
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Entries in the error log file

Post by narqelion »

Have you seen this?
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Entries in the error log file

Post by femu »

Nope. But as it looks like, it's known bug ;-)

I found - with the help of another admin - that it occures on my site, when the viewtopic.php is called without any paramaters. So ie http://www.phpbb.com/community/viewtopic.php

Doing it over here, I get a regular error message ....
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52137
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Entries in the error log file

Post by Brf »

It is not a "bug", it is a Mod coding error.
It is caused by the Mod adding a language file in viewtopic or viewforum before the user->setup is called.
femu
Registered User
Posts: 1070
Joined: Tue Sep 27, 2005 10:03 am

Re: Entries in the error log file

Post by femu »

Got it.

Thanks very much. So let's see, if the error appears again ;-)
Regards, femu
_____________________________________________
[My development page] - [My normal homepage (German only)]
Locked

Return to “[3.0.x] Support Forum”