browsing categories

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
karl.h.beckers
Posts: 6
Joined: Fri Jan 16, 2004 7:55 pm
Contact:

browsing categories

Post by karl.h.beckers »

Hi folks,
just upgraded from 1.3.9l and after emptying caches in firefox almost everything works like a charm (hint: the cache bit should go in the FAQ ;) ).

What I'm missing (though not sure this is supposed to work) is browsing categories. I can click a category name in the left pane which in the middle of the page yields a title "Questions in <category-name>" and below that a link with the category name, but clicking on that just makes the page refresh.

Am I missing smth.?

TIA,

Karl.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you show me your FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
karl.h.beckers
Posts: 6
Joined: Fri Jan 16, 2004 7:55 pm
Contact:

faq

Post by karl.h.beckers »

Sure,
it's here:
http://www.jarre-de-the.net/faq

Cheers,

Karl.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it is possible that there are some language informations are missing in some tables. Could you check the tables faqcategories, faqcategoryrelations and faqdata if all language columns are filled with "en"?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
karl.h.beckers
Posts: 6
Joined: Fri Jan 16, 2004 7:55 pm
Contact:

solved

Post by karl.h.beckers »

Hmm,
smth's definetely wrong here ....
Initially I saw no categories whatsoever. The docs say you need to "reorder" categories which I understood as "set them up again" so I created the same categories that were present before.

Right after that I saw the categories and the number of entries in them in the admin ui.

now:
mysql> select id,name,lang from faqcategories;

Code: Select all

+----+-------------------+------+
| id | name              | lang |
+----+-------------------+------+
|  1 | General Questions |      |
|  2 | Building          |      |
|  3 | Installation      |      |
|  4 | Usage             |      |
|  5 | Encoding          |      |
|  6 | General Questions | en   |
|  7 | Building          | en   |
|  8 | Installation      | en   |
|  9 | Usage             | en   |
| 10 | Encoding          | en   |
+----+-------------------+------+
10 rows in set (0.00 sec)
I deleted ids > 5, set lang = en here and in faqdata and category_lang everywhere in faqcategoryrelations and everything's fine.

Thanks,

Karl.
Post Reply