For some reason the script is numbering the new sites starting with 1 again.. I recently went to validate the new addition and notice the ID were starting at 1! Is there any reason for this? When i validate the new sites it works but when i do a search for ID 2(for example) it shows two of them! Any ideas why this is happening?
Nov 25, 2002, 11:20 PM
Veteran (1352 posts)
Nov 25, 2002, 11:20 PM
Post #2 of 2
Views: 1932
Check your /data/linksid.txt file, it should just have a number in it. It somehow got reset. Figure out what your last 'correct' link number was, and you can change the new ones to continue from there. Renumber them (they're in links.db) by changing the first field. They look like this, kinda:
This is with only the original number of fields in the add form. If your numbers go "106, 107, 108, 2, 3" then change 2 to 109, etc. then in linksid.txt enter the next unused number.
Leonard
aka PerlFlunkie
Code:
3|Link Title|http://linkURL.com/|24-Nov-2002|category|description|contact name|ltcontact email|4|Yes|Yes|0|0 Leonard
aka PerlFlunkie