categories disappeared

Discussion in 'Directories' started by Richie_Ni, Mar 13, 2007.

  1. #1
    Just now I was adding some new categories to my directory,after a few minutes I found the "business" category and all the subcategories were gone....Well,I've had this problem a few times,and I thought I need to post it here now.
    Anyone have had the same problem?
    Probably it's a bug in phpld?
     
    Richie_Ni, Mar 13, 2007 IP
  2. britishguy

    britishguy Prominent Member

    Messages:
    7,949
    Likes Received:
    892
    Best Answers:
    0
    Trophy Points:
    360
    #2
    You already know who has the answer
    Where's an0n ;)
     
    britishguy, Mar 13, 2007 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Are you sure you made the categories active ?
     
    login, Mar 13, 2007 IP
  4. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #4
    Alive Directory is now in the Art category which was in the Business category before... [​IMG]

    He's sleeping.... :(

    Of course!
     
    Richie_Ni, Mar 13, 2007 IP
  5. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #5
    have u re-built category cache?
     
    just-4-teens, Mar 13, 2007 IP
  6. vegabond

    vegabond Shabu Anower

    Messages:
    1,656
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    240
    #6
    vegabond, Mar 13, 2007 IP
  7. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #7
    No,I didn't do that.
     
    Richie_Ni, Mar 13, 2007 IP
  8. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #8
    Hey Shabu,
    Thanks for your help!
    But I'm not sure what Rob meant,I'll wait for Rob and see what he says..
    It would be great if he could help me!

    I should have added the categories manually..:(
     
    Richie_Ni, Mar 13, 2007 IP
  9. popotalk

    popotalk Notable Member

    Messages:
    4,840
    Likes Received:
    522
    Best Answers:
    0
    Trophy Points:
    260
    #9
    Try running virus scan on computer. Happened to me before. If it helps then proceed adding category and fix the links.
     
    popotalk, Mar 13, 2007 IP
  10. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #10
    Richie_Ni, Mar 13, 2007 IP
  11. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #11
    I'm not sure how phpLD is coded, or its nuances but I've seen this issue before from personal development. Did you by chance, change the structure in some way, then click the Browser Back button then try to re-save? This might have screwed up the New ID associations? (just a far-out-there guess)
     
    ccoonen, Mar 13, 2007 IP
  12. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #12
    good morning.


    go into your phpMyAdmin and run this:


    UPDATE PLD_CATEGORY_SEQ SET ID = (SELECT `ID` FROM `PLD_CATEGORY` ORDER BY `ID` DESC LIMIT 1)+1
     
    an0n, Mar 13, 2007 IP
    britishguy likes this.
  13. syted

    syted Notable Member

    Messages:
    2,086
    Likes Received:
    319
    Best Answers:
    0
    Trophy Points:
    290
    #13
    I had this problem only on my first directory which I used a dump, an0n's fix has resolved it. Since then I've added all categories to my directories manually which takes a little time but is definitely the way to go I'd say.
     
    syted, Mar 13, 2007 IP
  14. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #14
    Thanks,Rob!

    That's all?
     
    Richie_Ni, Mar 13, 2007 IP
  15. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #15
    yip, that's all :)
     
    an0n, Mar 14, 2007 IP