Gossamer Forum
Home : Products : DBMan : Installation :

Bummer!

Quote Reply
Bummer!
I've just found out that my host won't support the size of my .db file. It weighs in at 7.5 mb. Before anyone says it. It works fine. 10secs to do a search of over 6500 records and start returning hits.

My problem is that I want to put the database file on another host (I don't have a cgi-bin on this one but it will take the big files)

I've done this:

$db_url="http://www.deepspace2000.freeserve.co.uk";

And then this:

$db_file_name = $db_url . "/species.db";

But when I do a search it just comes back with and error syaing that it can't find http:www.deepspace2000.freeserve.co.uk/species.db

If anyone can give me a quick answer before I hit the sack I'd be grateful.

Cheers


------------------
Regards,

AJ
Quote Reply
Re: Bummer! In reply to
The error should be that it can't find http://www...etc
Quote Reply
Re: Bummer! In reply to
You should keep the structure of the default.cfg file. Use the physical path to the file and also use the $db_script_path with the $db_file_name.

Like the following:

Code:
$db_file_name = $db_script_path . "/default.db";

Configure the $db_script_path in db.cgi the physical path where your DBMAN files are located, like:

Code:
$db_script_path = "/path/to";

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Bummer! In reply to
Tried changing the path in db.cgi but it then can't find the script because the script is at

www.homes-from-home.com/cgi-bin/sfare/db.cgi

The database file is at www.deepspace2000.freeserve.co.uk/species.db



------------------
Regards,

AJ
Quote Reply
Re: Bummer! In reply to
That is the problem. You cannot point to another server when using DBMAN. All files have to be on the same server in order for it work.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us