help with database crash (static pages)

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
izzlik
Regular
Posts: 81
Joined: Fri Jan 05, 2007 3:55 am

help with database crash (static pages)

Post by izzlik »

Hello, 1 month ago i installed static pages on serendipity and havent touched the blogg until a few minutes ago, 1 month ago i could add and edit static pages fine. today when i try to add del or edit them i get the error bellow, how can i solve it?

ERROR:
UPDATE serendipity_staticpages SET id='3', parent_id='0', articleformattitle='My little blog on the web... ::', articleformat='1', markup='1', pagetitle='Projects', permalink='/index.php?/pages/pagetitle.html', is_startpage='0', show_childpages='0', content='\r\n\r\TEST', pre_content='', headline='Projects', filename='none.html', pass='', timestamp='1184954939', authorid='1', pageorder='2', articletype='1', shownavi='0', showonnavi='1', publishstatus='0', language='en' WHERE id='3'
/ Table 'serendipity_staticpages' is marked as crashed and should be repaired
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: help with database crash (static pages)

Post by garvinhicking »

Hi!

You must try to use a tool like phpMyAmdin to access your database and repair the table 'Serendipity_staticpages'. Seems your DB server once crashed and now the table is in a corrupted state.

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/
izzlik
Regular
Posts: 81
Joined: Fri Jan 05, 2007 3:55 am

Post by izzlik »

Sorry for the delay in answering.

but how do i repair it? im not so good with mysql :( when im in phpmyadmin, what do i do?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

phpMyAdmin has a "repair" table option. For details please look up the phpMyAdmin documentation or ask on their forums, as I can only focus on serendipity here...

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/
chickens
Regular
Posts: 192
Joined: Wed Dec 06, 2006 12:15 am
Location: Vegas
Contact:

Post by chickens »

izzlik,

This link should explain how to repair tables in a database using phpmyadmin.
http://paulstamatiou.com/2006/05/31/how ... hpmyadmin/
Post Reply