/faq/index.php?action=show&cat=1 is displayed

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
bragot
Posts: 9
Joined: Fri Mar 07, 2008 5:06 pm

/faq/index.php?action=show&cat=1 is displayed

Post by bragot »

When I click on one of my major categories, the top does not display the name of the category, but rather a relative link:

/faq/index.php?action=show&cat=1
  • Employee Information (3 Entries)
    Team Information (5 Entries)
It appears that the category is actually 0 and not 1. When I look at the hyperlink in the menu on the left, it says /faq/index.php?action=show&cat=0

Is there an easy way to correct this so that the page displays readable text and not code?

Thanks![/img]
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

a category id of 0 is not possible. Can you show me your FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bragot
Posts: 9
Joined: Fri Mar 07, 2008 5:06 pm

Post by bragot »

Unfortunately, my FAQ is hosted internally so it cannot be accessed remotely.

When I first log into my server, the menu on the left reads the following for my category:

http://server/faq/index.php?action=show&cat=1

but when I click into it, it now reads:

http://server/faq/index.php?action=show&cat=0

And at the top of the category, it reads: (in the main frame)

/faq/index.php?action=show&cat=1
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

how does the table faqcategories look like?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bragot
Posts: 9
Joined: Fri Mar 07, 2008 5:06 pm

Post by bragot »

I did a back up of my content and this is the section related to faqcategories:

Code: Select all

-- Table: faqcategory_group
INSERT INTO faqcategory_group (category_id,group_id) VALUES (1,1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (2,0);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (3,0);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (4,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (5,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (6,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (7,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (8,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (9,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (10,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (11,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (12,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (13,-1);
INSERT INTO faqcategory_group (category_id,group_id) VALUES (14,-1);
Thanks!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I need the faqcategories table.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply