|
You last visited: Today at 05:36
Advertisement
Problem mit meinem PhPBB Forum
Discussion on Problem mit meinem PhPBB Forum within the Web Development forum part of the Coders Den category.
09/23/2010, 19:50
|
#1
|
elite*gold: 0
Join Date: Mar 2010
Posts: 29
Received Thanks: 0
|
Problem mit meinem PhPBB Forum
Hallo,
also ich habe ein PhPBB Forum für meinen WoW Privatserver. Als forendesign habe ich das von PbWoW. Das ist sozusagen eine 1:1 Kopie vom offizziellen Forum. Nun, wenn ich einen BEitrag schreibe, und dann auf absenden klicke kommt folgender Fehler:
PHP Code:
General Error
SQL ERROR [ mysqli ]
Field 'topic_first_poster_rank_img' doesn't have a default value [1364]
SQL
INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment) VALUES (2, 1285263100, 1285263100, 2, 0, 1, 'fadsf', 'Rynundu', '00BFFF', 0, 0, 0)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/functions_posting.php
LINE: 1964
CALL: dbal_mysqli->sql_query()
FILE: posting.php
LINE: 1108
CALL: submit_post()
Da ich mich mit PhP, HTML und sowas überhauptnicht auskenne, wollte ich fragen, ob mir hier jemand helfen kann.
|
|
|
09/26/2010, 09:07
|
#2
|
elite*gold: 10
Join Date: Aug 2010
Posts: 2,814
Received Thanks: 466
|
Hast du irgendwelche AddOns im Forum installiert?
|
|
|
09/27/2010, 17:30
|
#3
|
elite*gold: 0
Join Date: Sep 2005
Posts: 89
Received Thanks: 48
|
Öffne Datei:
/forum/includes/functions_posting.php
Finde:
PHP Code:
$post_approved = $sql_data[POSTS_TABLE]['sql']['post_approved'];
$topic_row = array();
Danach adden:
PHP Code:
get_user_rank_4others($user->data['user_rank'], $user->data['user_posts'], $rankx_title, $rankx_img, $rankx_img_src); // for PBWoW
$rankx_img_src = pathinfo($rankx_img_src); // for PBWoW
$rankx_img_src = $rankx_img_src['basename']; // for PBWoW
Finde:
PHP Code:
'topic_first_poster_colour' => $user->data['user_colour'],
Danach adden:
PHP Code:
'topic_first_poster_rank_img' => (isset( $rankx_img_src )) ? $rankx_img_src : '', // for PBWoW
'topic_first_poster_rank_title' => (isset( $rankx_title )) ? $rankx_title : '', // for PBWoW
Sollte es beheben, der Fehler liegt im Style selbst.
|
|
|
09/29/2010, 23:12
|
#4
|
elite*gold: 0
Join Date: Mar 2010
Posts: 29
Received Thanks: 0
|
Many thanks an dich. Nur leider finde ich das letzte nicht. Ich habe alle 2617 Zeilen ziemlich genau durchsucht, und nicht mit 'topic first poster gefunden. Das einzige was ich gefunden habe war das:
PHP Code:
$sql_data[TOPICS_TABLE]['sql'] = array(
'topic_poster' => (int) $user->data['user_id'],
'topic_time' => $current_time,
'topic_last_view_time' => $current_time,
'forum_id' => ($topic_type == POST_GLOBAL) ? 0 : $data['forum_id'],
'icon_id' => $data['icon_id'],
'topic_approved' => $post_approval,
'topic_title' => $subject,
'topic_first_poster_name' => (!$user->data['is_registered'] && $username) ? $username : (($user->data['user_id'] != ANONYMOUS) ? $user->data['username'] : ''),
'topic_first_poster_colour' => $user->data['user_colour'],
'topic_type' => $topic_type,
'topic_time_limit' => ($topic_type == POST_STICKY || $topic_type == POST_ANNOUNCE) ? ($data['topic_time_limit'] * 86400) : 0,
'topic_attachment' => (!empty($data['attachment_data'])) ? 1 : 0,
Da steht ja was von Topic_first_poster colour. Soll ich das einfach da ranhängen? Oder ist dass das falsche?
|
|
|
09/30/2010, 10:32
|
#5
|
elite*gold: 0
Join Date: Sep 2005
Posts: 89
Received Thanks: 48
|
Japp das ist exakt die Zeile
|
|
|
01/13/2011, 17:59
|
#6
|
elite*gold: 0
Join Date: Mar 2010
Posts: 29
Received Thanks: 0
|
Hallo!
Da jetzt wieder ein Problem aufgetreten ist, pushe ich diesen Beitrag einfach.
Also, das oben genannte Problem habe ich behoben, einen riesen Dank hier nochmal an Deadlift!
Nun habe ich aber ein neues Problem. Undzwar wenn ich ich Thema verschieben will, in ein anderes Forum beispielsweise, bekomme ich folgenden Fehlercode angezeigt:
Code:
Allgemeiner Fehler
SQL ERROR [ mysqli ]
Field 'topic_first_poster_rank_img' doesn't have a default value [1364]
SQL
INSERT INTO phpbb_topics (forum_id, icon_id, topic_attachment, topic_approved, topic_reported, topic_title, topic_poster, topic_time, topic_time_limit, topic_views, topic_replies, topic_replies_real, topic_status, topic_type, topic_first_post_id, topic_first_poster_colour, topic_first_poster_name, topic_last_post_id, topic_last_poster_id, topic_last_poster_colour, topic_last_poster_name, topic_last_post_subject, topic_last_post_time, topic_last_view_time, topic_moved_id, topic_bumped, topic_bumper, poll_title, poll_start, poll_length, poll_max_options, poll_last_vote) VALUES (4, 0, 0, 1, 0, '08/01 Technische Probleme: Accounterstellung', 53, 1294494719, 0, 6, 0, 0, 2, 0, 7, '00BFFF', 'Ryokon', 7, 53, '00BFFF', 'Ryokon', '08/01 Technische Probleme: Accounterstellung', 1294494719, 1294937742, 4, 0, 0, '', 0, 0, 1, 0)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: includes/mcp/mcp_main.php
LINE: 716
CALL: dbal_mysqli->sql_query()
FILE: includes/mcp/mcp_main.php
LINE: 93
CALL: mcp_move_topic()
FILE: includes/functions_module.php
LINE: 507
CALL: mcp_main->main()
FILE: includes/functions_module.php
LINE: 802
CALL: p_master->load_active()
FILE: mcp.php
LINE: 169
CALL: p_master->load()
Nachdem ich dann die Seite neu geladen habe, ist das Thema dann aber trotz Fehler verschoben und im anderen Forum zu finden.
Bitte helft mir
|
|
|
 |
Similar Threads
|
phpbb 3.0.7 Forum
06/22/2010 - Technical Support - 7 Replies
Hey Leute,habe mir phpbb runtergeladen,wie kann ich da jetzt alles verändern?
bzw. wie stelle ich es online?
Webspace - Vorhanden
Brain.exe - Vorhanden
Phpbb wissen - fehlt
Kennt einer Tutorials wie ich alles beim phpbb verändere ,oder kann mir als antwort ein Tutorial posten,bzw. selber schreiben?
mfg Flasher2 ,freue mich über antworten.
|
[HowTo]Eigenes phpBB Forum erstellen
03/28/2010 - Tutorials - 7 Replies
Ein Tutorial
Schritt 1 - Account erstellen
Gehe auf ohost.de und klicke dort rechts oben auf "Registrieren". Der Username (in meinem Fall "ichhosteauf"), den du dort eingibst ist dann deine Domain und FTP-Adresse gleichzeitig.
Du klickst auf weiter. In einem weiteren Formular trägst du deine Kontaktdaten ein. Es ist wichtig, dass du dort eine vorhandene eMail-Adresse einträgst.
Nach einem gekonnten Klick auf weiter, wird dir ein Link gesendet. Mit einem Klick auf diesen wird der Account...
|
PHPBB Forum für WoW
12/29/2009 - World of Warcraft - 4 Replies
Moin,
ihr kennt doch bestimmt alle das Blizzard WoW Forum ?
Die haben doch diesen Style wos so genannte " Blueposter " gibt.
Kennt jemand diesen Style für phpBB3 wo man in Downloaden kann ?
Hab den schonmal zum Download gesehn aber vergessen.
MFG
|
[REALEASE] How to make a own phpbb forum
12/29/2008 - CO2 Private Server - 11 Replies
oh here i show u how u can make a own phpbb forum form u computer
first download the forum.zip:
http://koio.echi-hp.de/forum.zip
and extraxt into u webfolder
now go to: http://localhost/phpmyadmin/
and now follow the pics:
http://koio.echi-hp.de/forum/0.png
|
All times are GMT +1. The time now is 05:37.
|
|