Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Problems adding links

Quote Reply
Problems adding links
Hello,

I have installed the script 1 month ago and everything was working well. But today: I can't add new links.

Well, I can but it starts over at ID #1 erasing the older link that had that ID. Intead of giving ID # 200, 201, 202... It starts over giving ID #1, 2, 3...

Does someone knows how I can fix this ?


Quote Reply
Re: Problems adding links In reply to
Yes...and this has been discussed before (linksid.txt).

1) You need to enable flocking in the links.cfg file, by making sure you have the following configuration in your links.cfg file:

Code:

$db_use_flock = 1;


2) Triple check to make sure that you chmod 666 ALL files in the data folder.

3) You will need to reset the number in the linksid.txt file to be the SAME number as the last record ID number in the links.db file.

Example:

links.db --> last record
222|something|something|something

In your linksid.txt file, you need to have 222 at the top of the file!

Regards,

Eliot Lee
Quote Reply
Re: Problems adding links In reply to
Great !

Thanks a lot for your help, Eliot.

It is really nice of you. :-)

Erica