https://www.icyphoenix.com/viewtopic.php?f=35&t=407
-----------------------------------
scaffa
Sun 24 Sep, 2006 05:32

I Cant See My Post....
-----------------------------------
Hi, I have xs2 058 installed (http://webdeseba.ath.cx) I use xammp (apache, php, mysql) I upgrade from 049 , everything seems to be good, but i can`t see the post...i see the list of post in each forum, when I try, the followind error appears:

[code linenumbers=false]Could not obtain post/user information.

DEBUG MODE

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

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_from_flag, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_skype, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_rank2, u.user_rank3, u.user_rank4, u.user_rank5, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, u.user_allow_viewonline, u.user_session_time, u.user_warnings, u.user_level, u.user_birthday, u.user_next_birthday_greeting, u.user_gender, u.user_personal_pics_count, u.user_style, u.user_lang, p.*, pt.post_text, pt.post_text_compiled, pt.post_subject, pt.bbcode_uid, pt.edit_notes, t.topic_poster, t.title_compl_infos FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt, phpbb_topics t WHERE p.topic_id = 92 AND t.topic_id = p.topic_id AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 15

Line : 742
File : viewtopic.php
[/code]

Someone can help me?
thanks a lot.
(sorry for my english)


-----------------------------------
Xusqui
Sun 24 Sep, 2006 09:31

Respuesta: I Cant See My Post....
-----------------------------------
Did you run the update file right from your forum root?

It looks like you didn't!!


-----------------------------------
scaffa
Thu 16 Nov, 2006 01:59

Respuesta: I Cant See My Post....
-----------------------------------
I resolved this issue adding "//" in the following lines from the update_to_xs.php fil:
[code linenumbers=false]
// End session management

//if (!$userdata['user_level'] == ADMIN)
//{
//	die('Only admins may run this script!!!');
//}
[code linenumbers=false]
so the script no check the admin rights, but i do this task with admin user... 
Thanks


