Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-23 17:03:36

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

My categories have disappeared

All of a sudden I cannot select, see, or edit categories from the txp admin interface.
screenshot1
screenshot2

i can add categories and can see them in the mysql database, but not edit them.

has anybody run into something similar?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#2 2006-02-23 17:12:09

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: My categories have disappeared

How is you database looking ?

Just yesterday I had a TXP website going fully blank for no reasons. After several hours, the good people (and very baaaad, ugly machines and setup) of Textdrive tracked it down to the TXP /tmp directory content going nuts.

My point is, strange things do happen (but rarely, TXP is pretty much quite reliable). CHeck with the begining. Are your servrs ok ? Is your databse ok ? Is the content here ? etc.

Edit: Ok, I need a new pair of eyes. Sorry for that one. I did experience that once, a very long time ago (just before the 1.0RC I think). Have you tried to repair your database ?

Last edited by Jeremie (2006-02-23 17:13:17)

Offline

#3 2006-02-23 17:24:22

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

i am mysql illiterate :P using phpmysql i was able to figure out how to check the table for categories and see that they were actually there. nothing looked abnormal (then again i didn’t quite know what to look for). Can someone give me some pointers as to what could be wrong with the db and how to look for it?

one possible reason i can think of is i did an import of entries from movabletype, wonder if something got screwed up then.


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#4 2006-02-23 17:26:54

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: My categories have disappeared

Try to select all your TXP tables (textpattern and txp_*) in PhpMyAdmin, and use the “repair tool”.

Offline

#5 2006-02-23 17:29:48

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: My categories have disappeared

hola kemie! cómo va? (ahora paso al inglés para que esta respuesta quede para la posteridad)

about repairing tables (as Jeremie told you) you can try this plug-in by wilshire

It’s like a mini PHPMyAdmin for TXP.
And you have the repair tables option.

The plug-in isnt working totally fine with 4.0.3, but you can use the option of repairing tables.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2006-02-23 17:40:23

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

thanks to both of you, ill try this :)


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#7 2006-02-24 11:23:25

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

repaired tables. still not working :( should i just try reinstalling it all?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#8 2006-02-24 12:39:49

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

ugh. tried clearing the articles & categories tables in the database, reuploading all the txp files, disabling all plugins. and still, nothing. a complete, fresh install?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#9 2006-02-24 16:58:50

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: My categories have disappeared

Can you view the source of the category page? is there nothing getting output?

Offline

#10 2006-02-26 20:04:02

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

nope, nothing in the source. i thought it might be some style problem, but nope. i’m baffled.


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#11 2006-02-26 20:24:48

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: My categories have disappeared

Check the category table: there should be 4 categories with a name and title of “root”, one for each category type (article, link, image, file).

Offline

#12 2006-02-27 11:36:38

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: My categories have disappeared

ok, so that’s not there. that must be what’s causing it. is there a way to repair this by just inserting those lines into the database? is fo, what should i include in the fields parent, lft, and rgt?
or would it just be better to wipe my db and start over?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

Board footer

Powered by FluxBB