Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 3:17 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Problem database
Posted: Sat Nov 12, 2005 3:25 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Nov 12, 2005 1:16 pm
Posts: 3
Hi, i have a prooblem with the DB when i enter on my website. This is:

DB function failed with error number 1016
Can't open file: 'jos_session.MYI'. (errno: 145) SQL=SELECT session_id FROM jos_session WHERE session_id = MD5( '1b59a6274d3e408c127f7d8314c200b8' )
SQL =
SELECT session_id
FROM jos_session
WHERE session_id = MD5( '1b59a6274d3e408c127f7d8314c200b8' )


I repaired the DB and the problem is again. Anything idea?


Top
   
 
 Post subject: Re: Problem database
Posted: Sun Dec 04, 2005 12:05 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Oct 30, 2005 6:20 pm
Posts: 32
Location: Norway
Hi
I have also run into this problem, but that's only for two of my sites.
I hope someone can respond to this problem, because it looks like there are not only us two who has this problem :(

So, please...can someone help us out? :-\


Top
  E-mail  
 
 Post subject: Re: Problem database
Posted: Sun Dec 04, 2005 12:53 pm 
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 9:06 am
Posts: 1465
Maybe just try to drop the table and recreate it (it should not contain any permanent data):
Code:
DROP TABLE `jos_session`;
CREATE TABLE `jos_session` (
  `username` varchar(50) default '',
  `time` varchar(14) default '',
  `session_id` varchar(200) NOT NULL default '0',
  `guest` tinyint(4) default '1',
  `userid` int(11) default '0',
  `usertype` varchar(50) default '',
  `gid` tinyint(3) unsigned NOT NULL default '0',
  PRIMARY KEY  (`session_id`),
  KEY `whosonline` (`guest`,`usertype`)
) TYPE=MyISAM;

(copied from /installation/sql/joomla.sql)

_________________
http://de.siteof.de/


Top
   
 
 Post subject: Re: Problem database
Posted: Sun Dec 04, 2005 2:47 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Oct 30, 2005 6:20 pm
Posts: 32
Location: Norway
:laugh: Hi

Thanks alot, it worked great.
I'm not so into databases, so I'm a littlebit nervous to start to drop some wrong things.... :-[


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group