Gossamer Forum
Home : Products : Links 2.0 : Customization :

error searching

Quote Reply
error searching
In my search results appears this :

Quote:
CGI ERROR
==========================================
Error Message : error in search. unable to open database: /home/public_html/cgi-bin/admin/data/links.db. Reason: No such file or directory
Script Location : /home/public_html/cgi-bin/search.cgi
Perl Version : 5.00503


What goes wrong??
I have recently remove my folders to other directory.
I have checked the file and it is already exist.

Regards
Loucian

Last edited by:

loucian: Sep 21, 2001, 3:10 PM
Quote Reply
Re: [loucian] error searching In reply to
check your links.cfg maybe it's pointing to the wrong areas ??

good luck

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] error searching In reply to
My path is set correctly:
$db_links_name = "$db_script_path/data/links.db";

I cannot imagine anything else.
Any thoughts are welcome.

Quote Reply
Re: [loucian] error searching In reply to
You working on your own box? Or off the net?

is this ... /home/public_html/cgi-bin/search.cgi chopped to or is this how you have it?

actually I was refferring to this area:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/alex/links/cgi-bin/admin";
$db_dir_url = "http://localhost/links/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://localhost/links/cgi-bin";

not the location of your db. since if the above area is wrong the configuration at the bottom of the file will be off too.

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] error searching In reply to
Here is my path:


# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/public_html/cgi-bin/admin";
$db_dir_url = "http://satellitehit.virtualave.net/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://satellitehit.virtualave.net/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/public_html/odp";
$build_root_url = "http://satellitehit.virtualave.net/odp";

Test it

http://satellitehit.virtualave.net/cgi-bin/search.cgi

Also the problem doesn't com when i enter a query word that is not in the directory database for e.x :

Enter any query like this:dsfkjjflgdbagn

Regards
Loucian

Last edited by:

loucian: Sep 22, 2001, 2:23 AM
Quote Reply
Re: [loucian] error searching In reply to
I'm almost certain this is the wrong path:

/home/public_html/cgi-bin/admin

You won't get a path like that on a public shared server like virtualave.

Who told you that's what it was?

Quote Reply
Re: [RedRum] error searching In reply to
Quote:
I'm almost certain this is the wrong path:

/home/public_html/cgi-bin/admin
How should it be then?

Regards
Loucian
Quote Reply
Re: [loucian] error searching In reply to
I don't know - it isn't my account. Contact virtualave or read their faq or execute this code:

#!/usr/bin/perl

print "Content-type: text/html\n\n";

print $ENV{DOCUMENT_ROOT};
Quote Reply
Re: [RedRum] error searching In reply to
Ok but before 2 days , having the same settings to paths it used to work fine.
This problem came up after i changed folder( that Links 2 is installed )to my server.
Quote Reply
Re: [loucian] error searching In reply to
Hmm actually the path is correct according to the first error you posted.

Make sure links.db exists and is chmodded to 777
Quote Reply
Re: [RedRum] error searching In reply to
I run what you said and it appears this:

/home

It seems that i have correct paths.
What else should it be???????????
Unsure

Regards
Loucian
Quote Reply
Re: [loucian] error searching In reply to
I just said it seems correct and to make sure links.db is chmodded to 777
Quote Reply
Re: [RedRum] error searching In reply to
I just chmoded it to 777 but i get the same results.




BlushFrownUnsurePirateShocked


Quote:
CGI ERROR
==========================================
Error Message : error in search. unable to open database: /home/public_html/cgi-bin/admin/data/links.db. Reason: No such file or directory
Script Location : /home/public_html/cgi-bin/search.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
bool : and
mh : 25
query : rf
type : keyword

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: el
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : p_go2id=JgTJ7sOr_tmytZsLpvi7_Q; links=162x121x185; Visits=1
HTTP_HOST : satellitehit.virtualave.net
HTTP_REFERER : http://satellitehit.virtualave.net/cgi-bin/search.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
PATH : usr/local/bin:/usr/bin/:/bin
PATH_TRANSLATED : /home/public_html/cgi-bin/search.cgi
QUERY_STRING : query=rf&mh=25&type=keyword&bool=and
REMOTE_ADDR : 213.249.35.251
REMOTE_PORT : 3433
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/search.cgi?query=rf&mh=25&type=keyword&bool=and
SCRIPT_FILENAME : /home/public_html/cgi-bin/search.cgi
SCRIPT_NAME : /cgi-bin/search.cgi
SCRIPT_URI : http://satellitehit.virtualave.net/cgi-bin/search.cgi
SCRIPT_URL : /cgi-bin/search.cgi
SERVER_ADMIN : webmaster@virtualave.net
SERVER_NAME : satellitehit.virtualave.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.12 (Unix) madna/1.31 anses/1.10 g2am/1.44 adutil/1.8 g2ad/1.78 FrontPage/4.0.4.3 mod_ssl/2.6.6 OpenSSL/0.9.6

Last edited by:

loucian: Sep 22, 2001, 4:36 AM
Quote Reply
Re: [loucian] error searching In reply to
Before 2 minutes links.db was chmoded to 777 by me but now is chmoded 644.

Why????Whats going on?????

Somebody to help here.
Quote Reply
Re: [loucian] error searching In reply to
Seems to be working fine...!Smile
Can resolve your problem?
http://satellitehit.virtualave.net/...keyword&bool=and
Quote Reply
Re: [yecarrillo] error searching In reply to
Regarding:

Quote:
Seems to be working fine...!
Can resolve your problem?
http://satellitehit.virtualave.net/cgi-bin/search.cgi?query=zdfsdf&mh=25&type=keyword&bool=and

No it is not working fine.
It works fine only if i input a keyword that is not in the database and the query results are zero.

Try searching tv, satellite,dss.... and you will see what i mean.

Regards
Loucian

Last edited by:

loucian: Sep 22, 2001, 5:57 AM
Quote Reply
Re: [loucian] error searching In reply to
ok i found the problem here:

http://www.gossamer-threads.com/...?post=132314;#132314

Regards
Loucian Wink
SmileWinkTongue
Loucian