Gossamer Forum
Home : Products : DBMan : Installation :

\@auth_default_permissions

Quote Reply
\@auth_default_permissions
I have modified the default.cfg files to define my new database and have tried to access it with both a sample database filled with the newly defined fields, and with a blank database.

I have also modified the html.pl file with the html generated by JPDeni's conflibulator Smile>

I had previously installed the default and got everything running fine.

Now I am getting the following error message.

Reason: syntax error at /home/k/ki/kingsley/public_html/cgi-bin/dbman/default.cfg line 112, near "Home Information "
In string, @auth_default_permissions now must be written as \@auth_default_permissions at /home/k/ki/kingsley/public_html/cgi-bin/dbman/default.cfg line 113, near "@auth_default_permissions"

I have uploaded dg.cgi and default.cfg to the following address. All help will be appreciated.

http://www.teisf.org/dbman_txt_files/

alan
Quote Reply
Re: \@auth_default_permissions In reply to
Here are some problems....

1) You need to add the \ before the @ sign in the email address field in your default.cfg file, like the following:

Code:
name\@company.com

2) Also, in your %db_radio_fields hash, you need to add commas after each field, like the following:

Code:
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = (
Status => 'Member,Associate',
Home Information Available => 'Yes,No',
TEI Officer/Director => 'Yes,No',
Preferred Address => 'Home,Work'
);

Everything else looks fine...

Good luck.

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: \@auth_default_permissions In reply to
I believe that I made your corrections properly. Now I am getting a similar error message. Perhaps you can spot another error?

I posted the txt files at the same location.

Thanks.

Alan

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: In string, @auth_default_permissions now must be written as \@auth_default_permissions at /home/k/ki/kingsley/public_html/cgi-bin/dbman/default.cfg line 113, near "@auth_default_permissions"
syntax error at /home/k/ki/kingsley/public_html/cgi-bin/dbman/default.cfg line 146, near "# logging on, but require log in if they want to add/modify"