Gossamer Forum
Home : Products : DBMan : Installation :

confused in tutorial

Quote Reply
confused in tutorial
I am going through a tutorial at http://www.jpdeni.com/dbman/tutorial2.html for installing and setting up dbman. I'm at the point where I'm trying to login in the login form for the demo using admin for username/password, but page cannot be found error show up.

So the tutorial says to make changes in default.pass and default.cfg, and then go into admin and add my own username/password. The instructions for default.cfg are straight-forward. But in default.pass, I'm asked to "Erase all entries in the password file (default.pass)." What does that mean? The file default.pass looks like:

# UserID : Password : View : Add : Del : Mod: Admin
admin:A.f0Kvdiyy8q2:1:1:1:1:1
author:zs047RckAhJH6:1:1:1:1:0
guest:ZX9XTlIfPvdGE:1:0:0:0:0

What should it be changed to? I've tried erasing parts of it, but then when clicking through to admin, I get page cannot be found.

Thanks for your help.
Quote Reply
Re: [ceniti] confused in tutorial In reply to
Hi, in the default pass file, you can remove all the 'user' entries so your file would simply have the field names identified in the first row. Like this:

# UserID : Password : View : Add : Del : Mod: Admin


Just be sure to upload/download your file in ascii text mode and you should be fine. Login to the database and create a new user named 'admin' (always works best for setting up/testing out things ~ easy to remember :) with password 'admin'. Once you logged into the database, go to the admin functions (link at bottom of screen) and assign permissions for admin. Once you're sure you can login and maneuver about, you can change admin's password ... again using the admin functions.
Quote Reply
Re: [Karen] confused in tutorial In reply to
Karen:

Thanks for your quick reply. I did as you suggested, the saved the file and uploaded in ASCII mode. Still same problem. If you go to http://www.eyesontraffic.com/...db.cgi?signup_form=1, you''ll see what I see. By the way, this is not the site the db is going on. Eyesontraffic is a site I'm working on, and seemed to be a good place to test dbman without traffic.

I still don't know what I'm doing wrong...
Quote Reply
Re: [ceniti] confused in tutorial In reply to
The error has the url as:

The requested URL /cgi-bin/dbman/db.cgi was not found on this server.

And the url to the signup form is:
http://www.eyesontraffic.com/cgi-bin/db.cgi?signup_form=1

Do you not have all the files in one directory?


Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] confused in tutorial In reply to
LoisC:

Sometimes the most obvious things are right under our nose, and we can't see it. You're right, all the files were not in the same directory. I put them all into the dbman folder, and Bingo! Thanks, Lois.

I have another question:
Do I go in and edit the default.cfg and html.pl of this sample database to make it look the way I want? And with the content of the database. How do I replace the sample db's data with mine? Is some GUI that I can use to make it easier?

Quote Reply
Re: [ceniti] confused in tutorial In reply to
Another question:

After erasing all entries in default.pass, I created a new account as you suggested called admin with password admin. But when I log on to the db, I don't see the link at the bottom of the page that you referred to for admin functions. Do I need to do something else to get it to show up?
Quote Reply
Re: [ceniti] confused in tutorial In reply to
As part of JPDeni's tutorial she includes a configurator.
If you enter your fields into this script it will create your .cfg file and samples for both your html_record_form and html_record display.

Then you would just need to adjust the layouts to your own look and feel.

I'm not sure why your 'admin' link is not appearing once you login? It should automatically show up when you are logged in as admin.





Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] confused in tutorial In reply to
Thanks Lois. I'll try the configurator.
And somehow I managed to get the admin link working.

I really like dbman. After working with it for a little while, I'm realizing just how customizable and powerful it really is. I'm happy that I'm not limited to a rigid format or layout.
Quote Reply
Re: [ceniti] confused in tutorial In reply to
When you get some time check out the FAQ you'll be amazed at what you can do with this script.

And how much information, and tips and tricks are available for DBMan.


Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] confused in tutorial In reply to
Lois, I registered and logged on to the FAQ. I can see several items referring to exporting to Access, but nothing about setting up a db in Access and importing. Are you able to direct me?
Quote Reply
Re: [ceniti] confused in tutorial In reply to
It might be easier to create your database in excel or offline in a simple text editor. I'm not sure what you are wanting to do, whether it's to have two copies available one in each version.

Here are some thread references in the forum relating to MSAccess. If the urls are old and don't work search by the subject to locate.

Thread reference: http://gossamer-threads.com/p/16382 ----- Macro for saving Excel to pipe-delimited file
Subject: Changing Excel sheet to pipe-delimited file
Alan33 - 5-May-00

Thread reference: http://gossamer-threads.com/p/97912
Subject: Sending delimited data to another app
rcrossland - 1-Aug-00

Thread reference: http://gossamer-threads.com/p/000940
Topic: Using an alternative to html_record for viewing records
luc_a - posted April 29, 1999

You can also search using the keyword "MS Access" to locate other threads.




Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/