[SOLVED] ADMIN ERROR just popped up

Support for IntegraMOD 140

Moderator: Integra Moderator

[SOLVED] ADMIN ERROR just popped up

PostAuthor: CoolAzzrob » Fri May 05, 2006 5:36 am

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.
Last edited by CoolAzzrob on Mon May 08, 2006 11:46 am, edited 1 time in total.

CoolAzzrob
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 11:50 am
Cash on hand: 0.00

PostAuthor: CoolAzzrob » Fri May 05, 2006 5:54 am

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.
Last edited by CoolAzzrob on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

CoolAzzrob
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 11:50 am
Cash on hand: 0.00

Re: ADMIN ERROR just popped up

PostAuthor: Dragonsys » Fri May 05, 2006 5:59 am

looks like you might be having DB problems.
Last edited by Dragonsys on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 7:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: ADMIN ERROR just popped up

PostAuthor: evolver » Fri May 05, 2006 6:40 am

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...
Last edited by evolver on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
ImageAlways remember you're unique, just like everyone else.
We are born naked, wet and hungry. Then things get worse.
Don't take life too seriously, you won't get out alive.
User avatar
evolver
Sr Integra Member
Sr Integra Member
 
Posts: 420
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 1:46 pm
Cash on hand: 0.00
Location: Oostende

PostAuthor: CoolAzzrob » Fri May 05, 2006 7:43 am

yes, I have over 1000 members.
Last edited by CoolAzzrob on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

CoolAzzrob
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 11:50 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Fri May 05, 2006 7:56 am

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
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: ADMIN ERROR just popped up

PostAuthor: found it » Fri May 05, 2006 8:20 am

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:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

PostAuthor: CoolAzzrob » Mon May 08, 2006 11:46 am

thanks everyone
Last edited by CoolAzzrob on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

CoolAzzrob
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 11:50 am
Cash on hand: 0.00

Re: [SOLVED] ADMIN ERROR just popped up

PostAuthor: found it » Mon May 08, 2006 12:16 pm

your welcome

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]