Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem with ID and incrementing

Quote Reply
Problem with ID and incrementing
Hi

I have a problem with Links 2.0 concerning the ID's incrementing.
In fact, when I validate the news links, the program attributes an ID which already exits!!!
It doesn't increment the ID of the last link to attribute it to a new link.
Where does this problem come from?

Thanks.
Quote Reply
Re: [Leyla] Problem with ID and incrementing In reply to
Is your linksid.txt file set correctly? It should contain the last ID in links.db. Its located in admin/data/

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Problem with ID and incrementing In reply to
I opened linksid.txt and it contains an ID which isn't the last ID.
Can I change it?
Or is there another solution to obtain an "empty" ID?
Quote Reply
Re: [Leyla] Problem with ID and incrementing In reply to
Try setting it to the last ID. Then add a link. Does that fix your problem?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Problem with ID and incrementing In reply to
In Reply To:
Try setting it to the last ID. Then add a link. Does that fix your problem?

I followed your advices and the incrementing works now.
Nonetheless, a new problem has appeared. When I click on the new links (the links added since the incrementing works), I've got this error :

Error: Can't find link id: 2003

I don't manage to reach the sites Unsure. Can you help me?

Thank you very much!
Quote Reply
Re: [Leyla] Problem with ID and incrementing In reply to
Re-build your directory via the BUILD ALL option in the Admin Console (admin.cgi). The reason that those links aren't "reached" is that the URL.DB file which is used for the jump.cgi file has not been refreshed.

Please refer to the FAQ/resource documents in the "resources" section of this website, click on Support -> Resources.
========================================
Buh Bye!

Cheers,
Me