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?
Alive Directory is now in the Art category which was in the Business category before... He's sleeping.... Of course!
Must be you are facing problem with CATEGORY_SEQ, Is that getting the last number of Category ID? {edit} Just got this post at phpLD forum, Posted by anOn http://www.phplinkdirectory.com/forum/showpost.php?p=20315&postcount=7 Hope this can help you {/edit}
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..
Try running virus scan on computer. Happened to me before. If it helps then proceed adding category and fix the links.
Read this:http://www.phplinkdirectory.com/forum/showpost.php?p=20315&postcount=7 Anyway,it's my fault...I'll be rebuilding the category structure soon.
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)
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
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.