Warnings in tree view [message #160784] |
Fri, 23 October 2009 17:00 |
gorm
Messages: 29 Registered: October 2009 Location: Moscow, Russia
Karma: 0
|
Junior Member |
|
|
In FUDforum 3.0.0 RC2 when pressing a message link in a tree view in the bottom of the topic I see the warnings:
Warning: file_get_contents(/site/FUDforum/thm/default/i18n/russian/charset) [function.file-get-contents]: failed to open stream: No such file or directory in /site/forum/theme/default/tree_msg.php on line 602
Warning: Cannot modify header information - headers already sent by (output started at /site/forum/theme/default/tree_msg.php:602) in /site/forum/theme/default/tree_msg.php on line 607
|
|
|
|
|
|
Re: Warnings in tree view [message #160804 is a reply to message #160784] |
Sat, 24 October 2009 14:35 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
Sorry, fairly silly mistake. I attached an updated patch. However, it seems that tree_msg.php is basically the only place where we send charset information via HTTP headers. Maybe we should move this somewhere into index.php?
UPDATE: I additionally attached a patch for root_index.php.t to include content-type and charset headers.
[Updated on: Sat, 24 October 2009 19:54] Report message to a moderator
|
|
|
Re: Warnings in tree view [message #160805 is a reply to message #160804] |
Sat, 24 October 2009 14:55 |
gorm
Messages: 29 Registered: October 2009 Location: Moscow, Russia
Karma: 0
|
Junior Member |
|
|
Thank you, this now indeed corrects the problem. Because the initial corrections while removing the warnings in Firefox made IE to generate errors.
|
|
|
|
|
|
|