Seite 1 von 2
					
				Fehlermeldung in translate post mod (sql)
				Verfasst: 17.08.2003 00:42
				von Mario
				Code: Alles auswählen
Could emergency obtain topic information
DEBUG MODE
SQL error: 1054 Unknown column ' f.auth_ban ' in ' field cunning '
SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments, f.auth_ban, f.auth_greencard, f.auth_bluecard, COUNT(p2.post_id) AS prev_posts FROM phpbb_topics t, phpbb_forums f, phpbb_posts p, phpbb_posts p2 WHERE p.post_id = 1309 AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= 1309 AND f.forum_id = t.forum_id GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments ORDER BY p.post_id ASC
LINE: 152
File: /raid/domains/de/k/kost no geld/htdocs/www/phpbb/viewtopic_trans.php 
Kann mir heir mal einer auf die Sprünge helfen, f.auth_ban ' in ' field cunning , wo soll das sein?
 
			 
			
					
				
				Verfasst: 17.08.2003 00:52
				von Mario
				Hier nochmal die entsprechende Zeile 152 mit<<< gekennzeichnet.
Code: Alles auswählen
//
// This rather complex gaggle of code handles querying for topics but
// also allows for direct linking to a post (and the calculation of which
//<<< page the post is on and the correct display of viewtopic)
//
$join_sql_table = ( !isset($post_id) ) ? '' : ", " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2 ";
$join_sql = ( !isset($post_id) ) ? "t.topic_id = $topic_id" : "p.post_id = $post_id AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= $post_id";
$count_sql = ( !isset($post_id) ) ? '' : ", COUNT(p2.post_id) AS prev_posts";
 
			 
			
					
				
				Verfasst: 17.08.2003 00:59
				von Henne
				speicher die Datei am besten mal als .txt und poste nen Link.
Das mit der Zeilenangabe kann imhp nicht so ganz hinhauen...
			 
			
					
				
				Verfasst: 17.08.2003 02:08
				von Mario
				
			 
			
					
				
				Verfasst: 17.08.2003 10:26
				von Henne
				Nochmal ne Frage.
Hast du irgendwas an der viewtopic_trans.php verändert (MODs eingebaut usw.)?
			 
			
					
				
				Verfasst: 17.08.2003 10:29
				von Schumi
				Hast du die DB auch richtig aktualisiert?
			 
			
					
				
				Verfasst: 17.08.2003 12:28
				von Mario
				ne habe nix in der datei verändert, ja DB habe ich richtig aktualisiert:
Code: Alles auswählen
INSERT INTO phpbb_config (config_name, config_value) VALUES ('translate_lang', 'english')
so siehts dann aus (habe auf german gestellt, ging in english aber auch nicht)
 
			 
			
					
				
				Verfasst: 17.08.2003 12:33
				von Henne
				Welche Version hast du denn?
Ich hab mir das grad mal angeschaut und konnte das mit der Card-Ban-MOD in dem Code garnicht finden.
Hier gibts Version 0.1.1: 
http://golfexpert.planet-work.com/zzz/p ... _0.1.1.zip
Ich weiß ja nicht, welche du hattest. Aber in dem obigen Code kommt das mit  der Card-Ban-MOD nicht vor.
 
			 
			
					
				
				Verfasst: 17.08.2003 12:46
				von Mario
				habe die Version 0.9.4, hatte vorher 0.1.1 bei der war aber keine Aktualisierung der datenbank notwendig, dachte nämlich erst das es daher kommt.
			 
			
					
				
				Verfasst: 17.08.2003 12:48
				von Henne
				Wo haste denn die neue Version weg?
Kannst evtl. mal nen Link posten?