To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

Bazy danych SQL - Nieznana kolumna w tabeli sql

KrzysiekJarzyna - 16-06-2014, 08:33
Temat postu: Nieznana kolumna w tabeli sql
Gdy chce wejść w jakiś posty wywala takie coś:

Kod:


Could not obtain post/user information.

DEBUG MODE

SQL Error : 1054 Unknown column 'u.user_field_1' in 'field list'

SELECT p.post_id, p.post_time, p.post_start_time, p.enable_sig, p.enable_html, p.enable_smilies, p.post_edit_count, p.post_edit_time, p.post_username, p.post_approve, p.poster_delete, p.post_edit_by, p.post_parent, p.post_icon, p.user_agent, p.post_attachment, p.post_expire, u.user_sig_image, u.user_birthday, u.user_from, u.user_regdate, u.user_gender, u.user_aim, u.user_viewaim, u.user_avatar_width, u.user_avatar_height, u.user_field_1, u.user_allow_field_1, u.user_id, u.username, u.user_level, u.user_jr, u.user_allowhtml, u.user_posts, u.user_allowsig, u.user_sig, u.user_sig_bbcode_uid, u.user_allowsmile, u.user_avatar_type, u.user_allowavatar, u.user_avatar, u.user_rank, u.user_viewemail, u.user_website, u.user_email, u.can_custom_ranks, u.user_custom_rank, u.user_session_time, u.user_allow_viewonline, pt.post_text, pt.bbcode_uid, pt.post_subject , ph.th_post_id FROM phpbb_posts p LEFT JOIN phpbb_posts_text_history ph ON (ph.th_post_id = p.post_id) LEFT JOIN phpbb_posts_text pt ON (pt.post_id = p.post_id) LEFT JOIN phpbb_users u ON (u.user_id = p.poster_id) WHERE p.topic_id = 235 GROUP by p.post_id ORDER BY p.post_order, p.post_time ASC LIMIT 0, 15

Line : 829
File : viewtopic.php

Jeśli nie potrafisz znaleźć rozwiązania tego problemu,

vianne - 16-06-2014, 09:05

jakieś modyfikacje instalowane ostatnio ? może nie wykonałeś zapytania zawartego w instrukcji ?
kasztanek9994 - 16-06-2014, 15:33

wykonaj takie zapytanie do bazy

Kod:
DELETE FROM phpbb_profile_fields WHERE id = 1;



Powered by phpBB modified by Przemo © 2003 phpBB Group