Table 's9yauthors' doesn't exist

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
hyperorbiter
Regular
Posts: 19
Joined: Thu Mar 30, 2006 3:58 am
Location: New Zealand

Table 's9yauthors' doesn't exist

Post by hyperorbiter »

eeek! what do i do? i've just got a blank and disabled blog! all the other tables are there in phpadmin, so i was wondering if i should just recreate the table? if so, what are the fields i need to create?

thanks
i'm not cool enough to have a signature
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Table 's9yauthors' doesn't exist

Post by garvinhicking »

Hi!

Is the whole table gone and removed? How could that happen, did you contact your provider?

Serendipity doesn't drop this table anywhere in code!

You'll need to recreate the table with a structure like this:

Code: Select all

CREATE TABLE `serendipity_authors` (
  `realname` varchar(255) NOT NULL default '',
  `username` varchar(20) default NULL,
  `password` varchar(32) default NULL,
  `authorid` int(11) NOT NULL,
  `mail_comments` int(1) default '1',
  `mail_trackbacks` int(1) default '1',
  `email` varchar(128) NOT NULL default '',
  `userlevel` int(4) unsigned NOT NULL default '0',
  `right_publish` int(1) default '1',
  PRIMARY KEY  (`authorid`)
) TYPE=MyISAM AUTO_INCREMENT=167 ;

-- 
-- Dumping data for table `serendipity_authors`
-- 

INSERT INTO `serendipity_authors` (`realname`, `username`, `password`, `authorid`, `mail_comments`, `mail_trackbacks`, `email`, `userlevel`, `right_publish`) VALUES 
('John Doe', 'John Doe', '674f33841e2309ffdd24c85dc3b999de', 1, 1, 1, 'john@example.com', 255, 1);
Of course you'll need to recreate each author you previously had. But it should also be important for you to find out how this happened!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hyperorbiter
Regular
Posts: 19
Joined: Thu Mar 30, 2006 3:58 am
Location: New Zealand

how it happened:

Post by hyperorbiter »

i was mucking around with mambo and deleted some tables in phpadmin...i must have clicked on it accidentally. operator error.
thanks for the info, i'll let you know how it goes.

thanks, you really are fantastic support.

stu
i'm not cool enough to have a signature
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: how it happened:

Post by garvinhicking »

You're welcome :) Good luck! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hyperorbiter
Regular
Posts: 19
Joined: Thu Mar 30, 2006 3:58 am
Location: New Zealand

blog up, but i'm locked out

Post by hyperorbiter »

hi garvin,

the blog is up now (whew!), but i can't log in.
i've tried a number of different ideas in the fields : 'username' and 'password' but to no avail...any ideas how to get in as administrator again?

stu
i'm not cool enough to have a signature
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: blog up, but i'm locked out

Post by garvinhicking »

Hi!

You must store the password in serendipity_authors MD5() encoded!

REgards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hyperorbiter
Regular
Posts: 19
Joined: Thu Mar 30, 2006 3:58 am
Location: New Zealand

all better now

Post by hyperorbiter »

thanks mate. all better...

your patience astounds me!

stu
i'm not cool enough to have a signature
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: all better now

Post by garvinhicking »

You're welcome, have fun! :))

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply