Gossamer Forum
Home : Products : DBMan : Installation :

New install: .cfg errors?

Quote Reply
New install: .cfg errors?
I've insatlled DB Man demo with no problem. Now I'm trying to use a different database. I used the JPDeni definition creator to help with the new .cfg file.
I get to the logon screen, but not past it. I've placed the new .cfg file (sched.cfg) and a copy of the logon screen (with debug enabled) at http://www.technologyconsultants.com/DBM/

DB Man is also online with the default and with sched at http://www.technologyconsultants.com/cgi-bin/DBM/

Help would be appreciated. The .db is rather large, about .7 mb if that makes a difference.

Is there a limit to the size (in characters) of a text field (like 255 in Access)?

Quote Reply
Re: New install: .cfg errors? In reply to
Looks like a permission problem.

You need to have your permissions set at
Code:
db.cgi (755) -rwxr-xr-x
html.pl (644) -rw-r--r--
auth.pl (644) -rw-r--r--
default.cfg (644) -rw-r--r--
default.pass (666) -rw-rw-rw-
default.count (666) -rw-rw-rw-
default.log (666) -rw-rw-rw-
default.db (666) -rw-rw-rw
auth (777) drwxrwxrwx

My guess is that your db.cgi file has incorrect permissions. You may need to also change the permission of your DBM directory.


------------------
JPD





Quote Reply
Re: New install: .cfg errors? In reply to
 
Quote:
Is there a limit to the size (in characters) of a text field (like 255 in Access)?

No...you can virtually have as many characters as you like in fields. However, the important thing to remember in terms of search and management performance of your database is that the flat database file should NOT exceed 1 MG.

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

[This message has been edited by Eliot (edited September 29, 1999).]
Quote Reply
Re: New install: .cfg errors? In reply to
Eliot- thanks for the size limitation info. What happens over 1MB?

JPDeni- The installation works fine with the defaults at
www.technologyconsultants.com/cgi-bin/DBM/db.cgi?db=default

When I try to use my sched.cfg and sched.db I get to the login, and then to Error 403 (not authorized).

http://www.technologyconsultants.com/cgi-bin/DBM/db.cgi?db=sched

I posted the .cfg because Thats why I thought there might be errors that I don't see.

All of the other files are still defined as default.* in the sched.cfg file
Quote Reply
Re: New install: .cfg errors? In reply to
I don't know why I didn't notice this before. You have

Code:
$db_dir_url = "";

in your .cfg file. It should be

Code:
$db_dir_url = "http://www.technologyconsultants.com/cgi-bin/DBM";

After 1M, the searches slow down quite a bit.


------------------
JPD





Quote Reply
Re: New install: .cfg errors? In reply to
Yes JPDeni- this was exactly the problem. I should have seen it!!!!

Thank you.

I was interested in turning on the benchmarking, to see the effects of this DB as it shrinks/grows, but I get 403 error when it is turned on. Any thoughts here?
Quote Reply
Re: New install: .cfg errors? In reply to
I don't really know much about benchmarking, but I understand that some systems don't support it. I'm not sure if it's a function of the version of Perl, the operating system or the server software.

Glad I was able to find answer to your problem. It often takes several sets of eyes to find the errors. Smile


------------------
JPD