Seite 1 von 2

Etliche Bugs im Forum

Verfasst: 21.08.2008 23:07
von Slup
HiHo,

Seit einigen Tagen habe ich einige Probleme mit meinem Forum.
Ich kann etliche Seiten nicht mehr aufrufen. Es erscheint eine weisse Seite.
Zwichendurh erscheint auch eine fehlermeldung. siehe ganz unten

Weiterhin werden änderungen am Design nicht übernommen, erst wenn ich im ACP das template aktualiesiere.

Pls hilft mir
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Incorrect string value: '\xFCr all...' for column 'template_data' at row 1 [1366]

SQL

INSERT INTO phpbb_styles_template_data (template_id, template_filename, template_included, template_mtime, template_data) VALUES ('2', 'overall_header.html', '', 1219352597, '<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1- ... \">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"{S_CONTENT_DIRECTION}\" lang=\"{S_USER_LANG}\" xml:lang=\"{S_USER_LANG}\">\n<head>\n\n<meta http-equiv=\"content-type\" content=\"text/html; charset={S_CONTENT_ENCODING}\" />\n<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n<meta http-equiv=\"content-language\" content=\"{S_USER_LANG}\" />\n<meta http-equiv=\"imagetoolbar\" content=\"no\" />\n<meta name=\"resource-type\" content=\"document\" />\n<meta name=\"distribution\" content=\"global\" />\n<meta name=\"keywords\" content=\"Radio-Rock-Inn.de, Radio, Rock Inn, Rock-Inn, Musik, Rock\" />\n<meta name=\"description\" content=\"Radio-Rock-Inn.de :: Das Radio f�r alle Rockfans\" />\n{META}\n<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>\n\n<!--\n phpBB style name: prosilver\n Based on style: prosilver (this is the default phpBB3 style)\n Original author: Tom Beddard ( http://www.subBlue.com/ )\n Modified by: Echo ( http://www.echological.com )\n \n NOTE: This page was generated by phpBB, the free open-source bulletin board package.\n The phpBB Group is not responsible for the content of this page and forum. For more information\n about phpBB please visit http://www.phpbb.com\n-->\n\n<script type=\"text/javascript\">\n// <![CDATA[\n var jump_page = \'{LA_JUMP_PAGE}:\';\n var on_page = \'{ON_PAGE}\';\n var per_page = \'{PER_PAGE}\';\n var base_url = \'{A_BASE_URL}\';\n var style_cookie = \'phpBBstyle\';\n var onload_functions = new Array();\n var onunload_functions = new Array();\n\n <!-- IF S_USER_PM_POPUP -->\n if ({S_NEW_PM})\n {\n var url = \'{UA_POPUP_PM}\';\n window.open(url.replace(/&/g, \'&\'), \'_phpbbprivmsg\', \'height=225,resizable=yes,scrollbars=yes, width=400\');\n }\n <!-- ENDIF -->\n\n /**\n * Find a member\n */\n function find_username(url)\n {\n popup(url, 760, 570, \'_usersearch\');\n return false;\n }\n\n /**\n * New function for handling multiple calls to window.onload and window.unload by pentapenguin\n */\n window.onload = function()\n {\n for (var i = 0; i < onload_functions.length; i++)\n {\n eval(onload_functions);\n }\n }\n\n window.onunload = function()\n {\n for (var i = 0; i < onunload_functions.length; i++)\n {\n eval(onunload_functions);\n }\n }\n\n// ]]>\n</script>\n<script type=\"text/javascript\" src=\"{T_TEMPLATE_PATH}/styleswitcher.js\"></script>\n<script type=\"text/javascript\" src=\"{T_TEMPLATE_PATH}/forum_fn.js\"></script>\n\n<link href=\"{T_THEME_PATH}/print.css\" rel=\"stylesheet\" type=\"text/css\" media=\"print\" title=\"printonly\" />\n<link href=\"{T_STYLESHEET_LINK}\" rel=\"stylesheet\" type=\"text/css\" media=\"screen, projection\" />\n\n<link href=\"{T_THEME_PATH}/normal.css\" rel=\"stylesheet\" type=\"text/css\" title=\"A\" />\n<link href=\"{T_THEME_PATH}/medium.css\" rel=\"alternate stylesheet\" type=\"text/css\" title=\"A+\" />\n<link href=\"{T_THEME_PATH}/large.css\" rel=\"alternate stylesheet\" type=\"text/css\" title=\"A++\" />\n\n<!-- IF S_CONTENT_DIRECTION eq \'rtl\' -->\n <link href=\"{T_THEME_PATH}/bidi.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen, projection\" />\n<!-- ENDIF -->\n\n</head>\n\n<body id=\"phpbb\" class=\"section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}\">\n\n<div id=\"wrap\">\n <a id=\"top\" name=\"top\" accesskey=\"t\"></a>\n <div id=\"page-header\">\n <div class=\"headerbar\">\n <div class=\"inner\"><span class=\"corners-top\"><span></span></span>\n\n <div id=\"site-description\">\n <a href=\"{U_INDEX}\" title=\"{L_INDEX}\" id=\"logo\"><img src=\"images/spacer.gif\" width=\"920\" height=\"180\" alt=\"\" /></a>\n <!--<h1>{SITENAME}</h1>\n <p>{SITE_DESCRIPTION}</p>-->\n <p style=\"display: none;\"><a href=\"#start_here\">{L_SKIP}</a></p>\n </div>\n\n\n <span class=\"corners-bottom\"><span></span></span></div>\n </div>\n\n <div class=\"navbar\">\n <div class=\"inner\"><span class=\"corners-top\"><span></span></span>\n\n <ul class=\"linklist navlinks\">\n <li class=\"icon-home\"><a href=\"{U_PORTAL}\">{L_PORTAL}</a> » <a href=\"{U_INDEX}\" accesskey=\"h\">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href=\"{navlinks.U_VIEW_FORUM}\">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>\n\n <!--<li class=\"rightside\"><a href=\"#\" onclick=\"fontsizeup(); return false;\" class=\"fontsize\" title=\"{L_CHANGE_FONT_SIZE}\">{L_CHANGE_FONT_SIZE}</a></li>-->\n\n <!-- IF U_EMAIL_TOPIC --><li class=\"rightside\"><a href=\"{U_EMAIL_TOPIC}\" title=\"{L_EMAIL_TOPIC}\" class=\"sendemail\">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->\n <!-- IF U_EMAIL_PM --><li class=\"rightside\"><a href=\"{U_EMAIL_PM}\" title=\"{L_EMAIL_PM}\" class=\"sendemail\">{L_EMAIL_PM}</a></li><!-- ENDIF -->\n <!-- IF U_PRINT_TOPIC --><li class=\"rightside\"><a href=\"{U_PRINT_TOPIC}\" title=\"{L_PRINT_TOPIC}\" accesskey=\"p\" class=\"print\">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->\n <!-- IF U_PRINT_PM --><li class=\"rightside\"><a href=\"{U_PRINT_PM}\" title=\"{L_PRINT_PM}\" accesskey=\"p\" class=\"print\">{L_PRINT_PM}</a></li><!-- ENDIF -->\n </ul>\n\n <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->\n <ul class=\"linklist leftside\">\n <li class=\"icon-ucp\">\n <a href=\"{U_PROFILE}\" title=\"{L_PROFILE}\" accesskey=\"u\">{L_PROFILE}</a>\n <!-- IF S_DISPLAY_PM --> (<a href=\"{U_PRIVATEMSGS}\">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull; \n <a href=\"{U_SEARCH_SELF}\">{L_SEARCH_SELF}</a>\n <!-- IF U_RESTORE_PERMISSIONS --> &bull;\n <a href=\"{U_RESTORE_PERMISSIONS}\">{L_RESTORE_PERMISSIONS}</a>\n <!-- ENDIF -->\n </li>\n </ul>\n <!-- ENDIF -->\n\n <ul class=\"linklist rightside\">\n <li class=\"icon-gallery\"><a href=\"{U_GALLERY_MOD}\" title=\"{L_GALLERY_EXPLAIN}\">{L_GALLERY}</a></li>\n <li class=\"icon-faq\"><a href=\"{U_FAQ}\" title=\"{L_FAQ_EXPLAIN}\">{L_FAQ}</a></li>\n <li><a href=\"./search.php\" class=\"icon-search\">Search</a>&nbsp;</li> \n <!-- IF not S_IS_BOT -->\n <li class=\"icon-members\"><a href=\"{U_MEMBERLIST}\" title=\"{L_MEMBERLIST_EXPLAIN}\">{L_MEMBERLIST}</a></li>\n <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li class=\"icon-register\"><a href=\"{U_REGISTER}\">{L_REGISTER}</a></li><!-- ENDIF -->\n <li class=\"icon-logout\"><a href=\"{U_LOGIN_LOGOUT}\" title=\"{L_LOGIN_LOGOUT}\" accesskey=\"l\">{L_LOGIN_LOGOUT}</a></li>\n <!-- ENDIF -->\n </ul>\n\n <span class=\"corners-bottom\"><span></span></span></div>\n </div>\n\n </div>\n\n <a name=\"start_here\"></a>\n <div id=\"page-body\">\n \n <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> \n <div id=\"message\" class=\"rules\">\n <div class=\"inner\"><span class=\"corners-top\"><span></span></span>\n <strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}\n <span class=\"corners-bottom\"><span></span></span></div>\n </div>\n <!-- ENDIF -->')

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions_template.php
LINE: 85
CALL: dbal_mysql->sql_query()

FILE: includes/template.php
LINE: 292
CALL: template_compile->_tpl_load_file()

FILE: includes/template.php
LINE: 516
CALL: template->_tpl_load()

FILE: includes/functions_template.php
LINE: 197
CALL: template->_tpl_include()

FILE: includes/template.php
LINE: 273
CALL: template_compile->compile()

FILE: includes/template.php
LINE: 169
CALL: template->_tpl_load()

FILE: includes/functions.php
LINE: 3643
CALL: template->display()

FILE: portal.php
LINE: 254
CALL: page_footer()

Verfasst: 22.08.2008 01:11
von Admologe
Und was hast du vor einigen Tagen angestellt? ;o)

Verfasst: 22.08.2008 06:58
von Dr.Death
Evtl. die Datenbank Version geändert ? Mit dem Board umgezogen ?

Anscheinend gibt es bei Dir Probleme mit dem UTF8 Support in Deiner Datenbank.

Sobald ein Umlaut in die DB geschrieben wird ( "Das Radio f�r alle Rockfans" ) knallt es.

Gib uns mal mehr Informationen über Deine Datenbank Version.

Siehe auch hier: http://www.phpbb.com/community/viewtopi ... &t=1101815

Das Problem sind falsche Kollationseinstellungen in Deiner Datenbank.

Verfasst: 22.08.2008 10:20
von Slup
HiHo,

Vor einigen Tagen habe ich nix eingestellt. da Proble tauchte einfach auf. Auch am Server wurde nix geändert.

Hiar mal ein paar Infos

mysql version 5.0.32-Debian_7etch6-log
Datenbank Kollation ist utf8-bin
Apache ist auch auf auf utf8 eingestellt AddDefaultCharset UTF-8

Eigentlich sollte dies ja richtig sein.

Thx für den Link aber das is schon ein paar Jahrzente her das is die Schulbank gedrückt habe und mein english reicht dafür nicht aus

Verfasst: 22.08.2008 10:44
von Dr.Death
Überprüfe nicht nur die Datenbank auf Kollation utf8_bin, sondern auch alle Tabellen.

Das Problem sind alle NON ASCII Zeichen ( Umslaute usw. ).

Vielleicht hast Du beim Eintragen der META Daten in den overall_header.html nicht bedacht, das bei Verwendung von Sonderzeichen die Datei im UTF8 ohne BOM Format abgespeichert werden muss...

Verfasst: 22.08.2008 10:47
von Slup
HiHo,

Habe ich auch bereits getan. jede Tabelle steht auf utf8_bin

Verfasst: 22.08.2008 10:48
von Dr.Death
Und welches Datei Format hat die overall_header.html ?

Verfasst: 22.08.2008 10:53
von Slup
Wo seh ich das den? Oder meinst du "<meta http-equiv="content-type" content="text/html; charset=UTF-8" />"

Grad auch gesehen, im acp beim löschen des cache erhalte ich auch fehlermeldungen. Posten brauch ich dene mal nicht den es sind die standard meldungen eben mit diesem acm_file.php

Verfasst: 22.08.2008 11:02
von Dr.Death
Öffne die overall_header.html mal mit einem vernünftigen Editor, der auf UTF8 ohne BOM beherrscht ( Mein pers. Tipp: Notepad++ )

Mit diesem Editor kannst Du das Format prüfen und ggf. ändern.

Normalerweise braucht die overall_header.html nicht in diesem speziellen Format gespeichert werden, da sie keinen echten Text enthält.

Da du aber nun die META Daten mit einem Umlaut befüllt hast, muss sie nun im UTF8 ohne BOM Format abgelegt werden.

Siehe dazu auch: KB:166

Wenn das alles nichts nutzt:

- Sichere deine jetzige overall_header.html
- lade eine "frische" overall_header.html aus einem phpBB 3.0.2 Paket erneut hocht.
- leere den Cache des Forums und Deines Browsers
- aktualisere über das ACP Dein Style.

Verfasst: 22.08.2008 11:14
von Slup
Ok habe ich alles durch gefüht, leider ohne erfolg. Das Problem besteht weiterhin