1
stinkbug
PANIC: Xoops Error message
  • 2006/7/13 19:00

  • stinkbug

  • Just popping in

  • Posts: 27

  • Since: 2005/4/4 2


Hi I'm in a bit of a jam, and slowly starting to panic. I'm getting the following message:

mySQL query error: UPDATE xoops_session SET member_name='',member_id='0',member_group='2',login_type='0', sess_updated='1152818274', in_forum='', in_topic='', location='idx,,' WHERE sess_id='d4741b2a84fa1ec98d5cedca2d513b6b'

mySQL error: Table 'xxxxxx_-_xoops.xoops_session' doesn't exist
mySQL error code:
Date: Thursday 13th of July 2006 03:17:54 PM

when I try to connect to my message board.

I'm using an IPB board with xooops 2.0.10

Please help...this is bad, very bad.

2
stinkbug
Re: PANIC: Xoops Error message
  • 2006/7/13 19:26

  • stinkbug

  • Just popping in

  • Posts: 27

  • Since: 2005/4/4 2


can anyone help me create a new xoops_session table?

3
Bender
Re: PANIC: Xoops Error message
  • 2006/7/13 19:32

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Open your database with phpmyadmin or whatever tool you have at hand for managing your db.

Assuming your table prefixes are xoops_ run the following querry:
[size=x-small](If not change it accordingly)[/size]

#
# Table structure for table `session`
#

CREATE TABLE xoops_session (
  
sess_id varchar(32NOT NULL default '',
  
sess_updated int(10unsigned NOT NULL default '0',
  
sess_ip varchar(15NOT NULL default '',
  
sess_data text NOT NULL,
  
PRIMARY KEY  (sess_id),
  
KEY updated (sess_updated)
TYPE=MyISAM;
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

4
stinkbug
Re: PANIC: Xoops Error message
  • 2006/7/13 19:42

  • stinkbug

  • Just popping in

  • Posts: 27

  • Since: 2005/4/4 2


thanks for the reply Bender.

Unfortunately, now I get the following error:

mySQL query error: UPDATE xoops_session SET member_name='',member_id='0',member_group='2',login_type='0', sess_updated='1152820875', in_forum='', in_topic='', location='idx,,' WHERE sess_id='d4741b2a84fa1ec98d5cedca2d513b6b'

mySQL error: Unknown column 'member_name' in 'field list'
mySQL error code:
Date: Thursday 13th of July 2006 04:01:15 PM

I'm at a loss.

5
Bender
Re: PANIC: Xoops Error message
  • 2006/7/13 19:57

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Ok ... this was ages ago. IPB alters the XOOPS tables on installation. From a quick look the correct thing might be:

#
# Table structure for table `session`
#

CREATE TABLE `xoops_session` (
  `
sess_idvarchar(32NOT NULL default '',
  `
sess_updatedint(10unsigned NOT NULL default '0',
  `
sess_ipvarchar(15NOT NULL default '',
  `
sess_datatext NOT NULL,
  `
member_namevarchar(64NOT NULL default '',
  `
member_idmediumint(8NOT NULL default '0',
  `
browservarchar(64NOT NULL default '',
  `
login_typetinyint(1NOT NULL default '0',
  `
locationvarchar(40NOT NULL default '',
  `
member_groupsmallint(3NOT NULL default '0',
  `
in_forumsmallint(5NOT NULL default '0',
  `
in_topicint(10NOT NULL default '0',
  
PRIMARY KEY  (`sess_id`),
  
KEY `updated` (`sess_updated`),
  
KEY `in_topic` (`in_topic`),
  
KEY `in_forum` (`in_forum`)
TYPE=MyISAM;



So you can try deleting the table we created before and maybe create this one instead. With a little luck ...
(do you have any old sql backup where you can just grad the table structure from the dump?)


EDIT: i edited this at 22:22 again so the querry changed if you looked at it in the 3 minutes after i posted!
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

6
stinkbug
Re: PANIC: Xoops Error message
  • 2006/7/14 0:19

  • stinkbug

  • Just popping in

  • Posts: 27

  • Since: 2005/4/4 2


YOU are a life saver! Thank you thank you thank you. Bagels on me!

Login

Who's Online

305 user(s) are online (221 user(s) are browsing Support Forums)


Members: 0


Guests: 305


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits