1

Topic: prob with forum, (mysql?)

An error was encountered
Error: Unable to fetch user info. 

The error msg comes when i goes to the profile, why ?

/ shange

2 (edited by Piggymon 2003-09-15 09:51)

Re: prob with forum, (mysql?)

Turn on Debug and post the more detailed error message.
Edit: A small guide http://punbb.org/forums/viewtopic.php?id=2658

-

3

Re: prob with forum, (mysql?)

Piggymon wrote:

Turn on Debug and post the more detailed error message.
Edit: A small guide http://punbb.org/forums/viewtopic.php?id=2658


An error was encountered
File: /home/shange/public_html/forum/profile.php
Line: 729

PunBB reported: Unable to fetch user info
Database reported: Unknown column 'icq' in 'field list' (Errno: 1054) 


I think i have deleted the column 'icq' from mySQL ... :S
i have reinstalled the forum but doesnt help, how can i fix it?

Re: prob with forum, (mysql?)

Start ALL over or remake the database field 'icq' with all required values yourself... Normally when you reinstall the forum completely you logically shouldn't have this problem anymore. The field you're talking about is icq, type varchar(12), no attributes, standard NULL.

5 (edited by Frank H 2003-09-15 17:13)

Re: prob with forum, (mysql?)

Shange wrote:
I think i have deleted the column 'icq' from mySQL ... :S

Fiddling in the database without knowing what one does, isn't really wise...
You should only do stuff in the php files when modding your forum. And just comment out the output for ICQ and such instead of removing things in the database.

Re: prob with forum, (mysql?)

Just re-add the column and it should be fine.

"Programming is like sex: one mistake and you have to support it for the rest of your life."