Page 1 of 1

[SOLVED] ADMIN ERROR just popped up

PostPosted: Fri May 05, 2006 5:36 am
Author: CoolAzzrob
Now I have another problem. I am all of a sudden getting this error when I click on "admin". It was working fine just a few minutes ago.

phpBB : Critical Error

User not found in IM preferences table

DEBUG MODE

SELECT * FROM phpbb_im_prefs WHERE user_id=1325

Line : 95
File : functions_im.php


I get the same error message when I make a post too. The post goes thru though.

PostPosted: Fri May 05, 2006 5:54 am
Author: CoolAzzrob
it just went from bad t worse. I get this error when I go to any page.

I cannot get to my site at all now.

Re: ADMIN ERROR just popped up

PostPosted: Fri May 05, 2006 5:59 am
Author: Dragonsys
looks like you might be having DB problems.

Re: ADMIN ERROR just popped up

PostPosted: Fri May 05, 2006 6:40 am
Author: evolver
The warning is getting an error from functions_im.php (line 95)

Code: Select all
function init_imprefs($id, $style_setup = false, $get_default = false)// Gets user IM preferences from the database.{     global $db, $prill_config, $lang, $append_msg, $theme, $template, $images;       $id = intval($id);     $im_data = array();       if( $id == ANONYMOUS || empty($id) )     {         $im_data['current_mode'] = MAIN_MODE;         return $im_data;     }     else     {         $sql = 'SELECT * FROM ' . IM_PREFS_TABLE . ' WHERE user_id=' . $id;         if ( !($result = $db->sql_query($sql)) )         {             // Bad mojo             $msg = $lang['No_prill_prefs'] . $append_msg;             message_die(CRITICAL_ERROR, $msg, '', __LINE__, __FILE__, $sql);         }           if ( !($im_data = $db->sql_fetchrow($result)) )         {             $msg = $lang['No_prill_userprefs'] . $append_msg;             message_die(CRITICAL_ERROR, $msg, '', __LINE__, __FILE__, $sql);         }

Line 95 is about the last 'IF'

Sorry, I don't know what it means exactly... <img>
Delete your cookies and try again to see what happends...

PostPosted: Fri May 05, 2006 7:43 am
Author: CoolAzzrob
yes, I have over 1000 members.

PostPosted: Fri May 05, 2006 7:56 am
Author: Adrian Rea
IM_prefs I beleive is a Prillian table. Are you able to access the ACP to disable all prillian? I take it you had installed it originally?

A

Re: ADMIN ERROR just popped up

PostPosted: Fri May 05, 2006 8:20 am
Author: found it
have a read here this will solve your problem as i have ussed it in the past and it is from the author....

http://www.phpbbsmith.com/mb/post-601.html#601

let me know

:mrgreen:

PostPosted: Mon May 08, 2006 11:46 am
Author: CoolAzzrob
thanks everyone

Re: [SOLVED] ADMIN ERROR just popped up

PostPosted: Mon May 08, 2006 12:16 pm
Author: found it
your welcome

:mrgreen: