Gossamer Forum
Home : Products : DBMan : Installation :

Having problems viewing member information

Quote Reply
Having problems viewing member information

Not that my problem is any better or worse than anyone elses, but to the extent someone more familiar with these scripts (I'm a relative n00b with good intentions) could help, I'd appreciate it.

I've uploaded db script and made certain changes to suit my site. The viewable DB is at <a href="http://www.crewofdestiny.com/cgi-bin/Roster/db.cgi?db=default&uid=default&view_records=1&key=*">Roster</a>

While I don't appear to have any issues with the script generally, and I don't notice any glaring errors when I run the debugger, when I attempt to view the specific information for each member, I get the following message:

DBMan encountered an internal error. Please enable debugging to view.

My debugger comes up with:

DBMan encountered an internal error.

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : ./db.cgi
Perl Version : 5.00503
Setup File : default.cfg
User ID : default
Session ID : default

Form Variables
-------------------------------------------
db : default
key : *
uid : default
view_records : 1

Environment Variables

-------------------------------------------

AUTH_TYPE : Basic

CONTENT_LENGTH : 0

DOCUMENT_ROOT : /usr/local/zeus/web_roots/main/www.crewofdestiny.com

GATEWAY_INTERFACE : CGI/1.1

HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, */*

HTTP_ACCEPT_ENCODING: gzip, deflate

HTTP_ACCEPT_LANGUAGE: en-us

HTTP_CONNECTION : Keep-Alive

HTTP_HOST : www.crewofdestiny.com

HTTP_REFERER : http://www.crewofdestiny.com/cgi-bin/Roster/db.cgi

HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)PATH : /usr/sbin:/usr/bin

QUERY_STRING : db=default&uid=default&view_records=1&key=*

REMOTE_ADDR : 63.196.241.32

REMOTE_HOST : 63.196.241.32

REMOTE_USER :

REQUEST_METHOD : GET

REQUEST_URI : /cgi-bin/Roster/db.cgi?db=default&uid=default&view_records=1&key=*

SCRIPT_FILENAME : /usr/local/zeus/web_roots/main/www.crewofdestiny.com/cgi-bin/Roster/db.cgi

SCRIPT_NAME : /cgi-bin/Roster/db.cgi

SERVER_ADMIN : webmaster@crewofdestiny.com

SERVER_NAME : www.crewofdestiny.com

SERVER_PORT : 80

SERVER_PROTOCOL : HTTP/1.1

SERVER_SOFTWARE : Zeus/3.4

TZ : US/Eastern

VSERVER_NAME : main

Last edited by:

vigdis: Feb 26, 2002, 3:35 AM
Quote Reply
Re: [vigdis] Having problems viewing member information In reply to
FYI, just ran an error text and this is what I came up with:String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 41, near "$db_script_url = $db_dir_url . "" (Might be a runaway multi-line "" string starting on line 39) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 43, near "$db_file_name = $db_script_path . "" (Might be a runaway multi-line "" string starting on line 41) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 45, near "$db_id_file_name = $db_script_path . "" (Might be a runaway multi-line "" string starting on line 43) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 47, near "$auth_dir = $db_script_path . "" (Might be a runaway multi-line "" string starting on line 45) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 49, near "$auth_pw_file = $db_script_path . "" (Might be a runaway multi-line "" string starting on line 47) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 51, near "$auth_log_file = $db_script_path . "" (Might be a runaway multi-line "" string starting on line 49) (Missing semicolon on previous line?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 179, near "$font = 'font face="" (Might be a runaway multi-line "" string starting on line 53) (Missing semicolon on previous line?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 179, near "$font = 'font face="verdana" (Missing operator before verdana?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 179, near "helvetica" size=""Number found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 179, near "" size="2" (Missing operator before 2?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 180, near "$font_title = 'font face="" (Might be a runaway multi-line "" string starting on line 179) (Missing semicolon on previous line?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 180, near "$font_title = 'font face="verdana" (Missing operator before verdana?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 180, near "helvetica" size=""Number found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 180, near "" size="4" (Missing operator before 4?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 184, near "# No Authentication? (1 = "" (Might be a runaway multi-line "" string starting on line 180) (Missing semicolon on previous line?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 184, near "# No Authentication? (1 = "there" (Missing operator before there?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 184, near "", 0 = "there" (Missing operator before there?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 200, near "# (1 = "" (Might be a runaway multi-line "" string starting on line 184) (Missing semicolon on previous line?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 200, near "# (1 = "yes" (Missing operator before yes?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 200, near "yes", 0 = ""String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 227, near "$auth_logoff = "" (Might be a runaway multi-line "" string starting on line 200) (Missing semicolon on previous line?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 227, near "$auth_logoff = "http" (Missing operator before http?)Bareword found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 227, near "//www" (Missing operator before www?)String found where operator expected at /home/thecrew/www/cgi-bin/Roster//detail.cfg line 227, at end of line (Missing semicolon on previous line?)
Quote Reply
Re: [vigdis] Having problems viewing member information In reply to
Quote:
/home/thecrew/www/cgi-bin/Roster//detail.cfg


There is a double slash in the file path and it should be just a single slash. Did you add a trailing slash at the end of the URL definition?

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://penguin/alex/dbman";

There should NOT be a trailing slash on that line. Doublecheck that there is no trailing slash and that the semicolon ( ; )at the end is present.
Quote Reply
Re: [vigdis] Having problems viewing member information In reply to
Don't ya just love that error.txt file for locating problems :) I don't know what I would do without it when creating my databases.

Do you have a trailing slash after this line in your .cfg file:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.crewofdestiny.com/cgi-bin/Roster";

Also make sure you have a closing ; at the end of each line.

If you need help, you could post a txt copy of your .cfg file and provide the url and someone will help you to spot the problems.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [Karen] Having problems viewing member information In reply to
I had an additional " in the file path. Thank you for all of your help!