Gossamer Forum
Home : Products : DBMan : Installation :

Problem With Installation

Quote Reply
Problem With Installation
Installed DBman up to the point where I should be able to view the demo Database, but unfortunately when I access the cgi (db.cgi) i get a blank page, no error, just a blank page. Any suggestions?

Thanks

Quote Reply
Re: Problem With Installation In reply to
If you view the source of the page are you able to see anything? Sometimes a blank page is due to missing table tags. Did you change the formatting of the subs for html_record and html_record_form?

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Problem With Installation In reply to
Here is the link to the db.cgi that is supposed to run the Demo.

http://www.manifestascension.com/data/dbman/db.cgi

As you can see, it does not get an error, just a blank page.

Of Course I have mad No changes to anyfile except the default.cgi following the recommendations from the JPDeni website. USe the following link to view the files I have already uploaded.

http://www.manifestascension.com/data/dbman/

I am really looking forward to using this program and any assistance would be very helpful.

Thanks Again Everyone


Quote Reply
Re: Problem With Installation In reply to
In order to view .cgi scripts as TEXT files, you need to save them as .txt files. Wink And in order to prevent downloading scripts to local hard drives, it is best to save all files as text files for us to view them. Wink

Most likely the problem is related to the following:

1) $db_script_path in the db.cgi file.
2) Path configurations in the default.cfg file.

Check them or re-post the files as text files.

Regards,

Eliot

Quote Reply
Re: Problem With Installation In reply to
buda:

Try changing to the following in your .cfg file.


# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.manifestascension.com/cgi-bin/data/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "default.log";
# Full path and file name of the html routines.
require $db_script_path . "dbman/html.pl";

Also turn on debugging so that hopefully if you still get errors you will know where they are.

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Problem With Installation In reply to
OK here goes .. THis is really getting frustrating. I set up Ultimate BB on the same server. The setup for ultimate BB asked for an absulte path .. this path for that software is setup to be ...

/usr/local/etc/httpd/vhosts/manifestascension.com/htdocs/forums/ubb-cgi

And from the web this is accessed by ...

www.manifesctascension.com/forums/uub-cgi

In DBMan it ask for the path .. does this need to be an Absolute path? Or is just to be used as

www.manifestascension.com/data/dbman

All the files have been uploaded as is except for one config file which looks like the following ...

***********************************************
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.manifestascension.com/data/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";
************************************************************

Now accessing www.manifestascension.com/data/dbman/db.cgi results in a blank webpage.

As for debugging? How do you turn it on. I do not know much perl or cgi in that matter, but I do know how to follow most directions.

If anyone wants I can even give you FTP access to the web this is on if you think this will help ... Once again any and all help suggestion and idea are welcomed ...



Quote Reply
Re: Problem With Installation In reply to
Here are my environmental Variables as reported by Links ..

*********************************************************

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 277
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /usr/local/etc/httpd/vhosts/manifestascension.com/htdocs
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.manifestascension.com
HTTP_REFERER : http://www.manifestascension.com/links/cgi-bin/admin/admin.cgi?db=links&add_form=1
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /bin:/usr/bin:/usr/contrib/bin:/usr/local/bin:/usr/home/buda/bin
QUERY_STRING :
REMOTE_ADDR : 63.226.5.235
REMOTE_PORT : 1818
REQUEST_METHOD : POST
REQUEST_URI : /links/cgi-bin/admin/admin.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/vhosts/manifestascension.com/htdocs/links/cgi-bin/admin/admin.cgi
SCRIPT_NAME : /links/cgi-bin/admin/admin.cgi
SERVER_ADMIN : webmaster@manifestascension.com
SERVER_NAME : www.manifestascension.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.1.1 SSL/1.15 PHP/4.0b2

************************************************************

I hope this helps someone ...



Quote Reply
Re: Problem With Installation In reply to
DBMan uses the URL for the script and not the path. There is a difference Smile

Try accessing your script using:

www.manifestascension.com/data/dbman/db.cgi&db=

db= should have the name of your database.

To turn debugging on there is a line in your .cfg file:

$db_debug = 0;

To turn on degugging change this to:

$db_debug = 1;

All I get when trying to access your database is: document contains no data.

You might want to check the Resource Center for a code snippet called Debugging: Useful error messages to see if you can locate the error, or check your server error log.

You do have the perl path included in your db.cgi file right? Should look something like this:

#!/usr/local/bin/perl

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/