Results 1 to 2 of 2
  1. #1
    Casual Pligger humaneasy's Avatar
    Joined
    Aug 2006
    Posts
    41
    Thanks
    Received:0
    Given: 0

    Red face Categories not showing at all in 9.6

    Categories do not show at all in my 9.6 installation grabbed from SF.net.

    MySQL 5.0.24 (cannot change this)
    PHP 4.4.7 (can use also last 5)

    Data in MySQL follows:

    PHP Code:
    CREATE TABLE `pligg_categories` (
      `
    category__auto_idint(11NOT NULL auto_increment,
      `
    category_langvarchar(2NOT NULL default 'en',
      `
    category_idint(11NOT NULL default '0',
      `
    category_parentint(11NOT NULL default '0',
      `
    category_namevarchar(64NOT NULL default '',
      `
    category_safe_namevarchar(64NOT NULL default '',
      `
    rgtint(11NOT NULL default '0',
      `
    lftint(11NOT NULL default '0',
      `
    category_enabledint(11NOT NULL default '1',
      `
    category_orderint(11NOT NULL default '0',
      `
    category_colorvarchar(6) default '000000',
      
    PRIMARY KEY  (`category__auto_id`),
      
    UNIQUE KEY `key` (`category_name`)
    ENGINE=MyISAM AUTO_INCREMENT=DEFAULT CHARSET=latin1 AUTO_INCREMENT=5;

    -- 
    -- 
    Data in table `pligg_categories`
    -- 

    INSERT INTO `pligg_categories` (`category__auto_id`, `category_lang`, `category_id`, `category_parent`, `category_name`, `category_safe_name`, `rgt`, `lft`, `category_enabled`, `category_order`, `category_color`)
    VALUES (2'pt'20'todas''todas'2110'000000'),
    (
    1'pt'10'Ambiente''ambiente'4310'000000'),
    (
    3'pt'30'Ecologia''ecologia'6510'000000'),
    (
    4'en'40'new category''newcategory'8710'000000'); 
    The site is in PT but I already tested both `category_lang` equal to 'pt' and equal to 'en' with the same empty result.

    Data never appeared. Each time I click on "Add a New Category..." it creates a new record, ALWAYS in 'en' as you can see above, and when I find out just changed the text in phpMyAdmin by hand. No result achieved, whatsoever.

    What could be wrong? Site must be on on Monday.

    Thanks in advance for your help.

    Lopo

  2. #2
    Casual Pligger humaneasy's Avatar
    Joined
    Aug 2006
    Posts
    41
    Thanks
    Received:0
    Given: 0

    Solved!

    Solved!

    Reading another post from AshDigg I tested the following and it worked:

    PHP Code:
    UPDATE `pligg_categories
             
    SET `category__auto_id` = '0'
                    `
    category_safe_name` = 'all'
                    `
    category_enabled` = '2' 
             
    WHERE `category__auto_id` = 2 LIMIT 1 
    This is done. More to come... but only tomorrow

Similar Threads

  1. Categories not showing
    By kjavaid in forum Questions & Comments
    Replies: 3
    Last Post: 07-01-2010, 04:23 AM
  2. Deleted Categories still showing...
    By gjrb29 in forum Questions & Comments
    Replies: 7
    Last Post: 03-19-2009, 06:20 AM
  3. Categories not showing
    By Redux in forum Questions & Comments
    Replies: 1
    Last Post: 01-05-2008, 10:51 PM
  4. 9.8.2 Stories not showing under categories
    By keiffer in forum Questions & Comments
    Replies: 2
    Last Post: 12-19-2007, 02:20 PM
  5. Categories now showing up
    By nothingman in forum Questions & Comments
    Replies: 1
    Last Post: 09-23-2007, 01:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg