Gossamer Forum
Home : Products : Links 2.0 : Discussions :

cant find link ID

Quote Reply
cant find link ID
Howdy all!

Well, all is running smoothly until I try to check a test link. I get an error- cant find link ID -#
I have searched the threads and only came up with a few results which didnt help much. A specific thread told me to run a build. Well, I tried that, and getting an error for nph-build.cgi- permission denied. Looking into that error, I still cant determine exactly what the initial problem is... I tried changing the permissions in the "pages" folder to 666 (they were 777) and that didnt help.
Is there something I'm overlooking?
All my .db files in the Data (Data was 755 -now 777) folder are all set to 666 also. when I view url.db there is the # 1 showing. That's it. I have aprox. 5 test links. Even after I re-run build all, (still error -per den also), refresh (control+ reload) all pages in the site I still the error when I click the link. There are 5 "links" in my links.db
HELP!!!

Is there a reason why staggered (auto) works and build all does not?

Quote Reply
Re: cant find link ID In reply to
Can you post the error you get.

Mark

Quote Reply
Re: cant find link ID In reply to
Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /home/carrigan/public_html/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/carrigan/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.carriganbay.com
HTTP_REFERER : http://www.carriganbay.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; MSNIA; Windows 98)
PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING :
REMOTE_ADDR : 208.63.178.90
REMOTE_PORT : 3398
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/carrigan/public_html/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADDR : 66.78.2.188
SERVER_ADMIN : webmaster@carriganbay.com
SERVER_NAME : www.carriganbay.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE : Apache/1.3.19 Server at www.carriganbay.com Port 80

SERVER_SOFTWARE : Apache/1.3.19 (Unix) mod_jk mod_bwlimited/0.8 PHP/4.0.4pl1 mod_log_bytes/0.2 mod_frontpage/3.0.4.3 mod_ssl/2.8.1 OpenSSL/0.9.6
downgrade_1_0 : 1
force_response_1_0 : 1
nokeepalive : 1
ssl_unclean_shutdown: 1

and the error I get for links is (example:) Error: Can't find link id: 10



Quote Reply
Re: cant find link ID In reply to
1) This is a commonly reported error message (and solutions have been posted in the Links 2.0 Installation Forums)...

You need to do the following:

a) Change the permission of your backup folder to 777.
b) Make sure that you have a blank file called links.db.bak in your data folder and change its permission to 666 (also make sure that all data files in the data folder are set to 666.

2) The reason that you get the Can't find Link ID error is that your build process has not completed and your url.db is not created/updated, which contains the LINK IDS and URLS for your links stored in the links.db file.

Got it?

Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: cant find link ID In reply to
Viola! Got it! Changed BACKUP folder to 777 and all is well! Everything else was already done and correct!

I guess I was looking for the wrong solution. Can't thank you enough! Big Smooch for Eliot!