Gossamer Forum
Home : Products : DBMan : Installation :

Short/Long Display - 500 error

Quote Reply
Short/Long Display - 500 error
Simply put, what syntax am I missing or have out of place? default.txt, db.txt and html.txt @ http://www.flash.net/~murgnam/
Quote Reply
Re: Short/Long Display - 500 error In reply to
Joe - could you please explain or tell us where to look for the problem you are having?

------------------
donm
Quote Reply
Re: Short/Long Display - 500 error In reply to
Took JPD's Mod, updated the page title to Izmir Alumni database, changed the record form and incorporated
print qq|
<a href="$long_url">$rec{'Last Name in School'}</a>
|;
to the record, defined my record in sub html_record and added the sub html_send_email_form { and sub html_send_email_success {

All the above changed in html.pl. All other files the same. Uploaded to the server, get the 500 error.

Over

JR
Quote Reply
Re: Short/Long Display - 500 error In reply to
The first problem with your html.pl file is that you're missing a closing } at the end of sub html_record_long.

You have an extra } at the end of sub html_send_email_success.

You have spaces in a variable name--
$Izmir Alumni Database. Do a global "search and replace," replacing

$Izmir Alumni Database

with

$Izmir_Alumni_Database

After you fix those three things, your html.pl file will not have any more syntax errors.

I checked your db.cgi file for syntax errors, but there weren't any.


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





Quote Reply
Re: Short/Long Display - 500 error In reply to
WOW!!! That was just too d* simple. THANK YOU, THANK YOU, THANK YOU.
Quote Reply
Re: Short/Long Display - 500 error In reply to
Uhhh. Maybe not that simple. Now that I see it "working", what do I need to display the List All Alphabetically by Last Name (db key 4) -v- ID # (db key *). I searched the forum for search, so, et al. Hint's as to where to search in the forum?
Quote Reply
Re: Short/Long Display - 500 error In reply to
Add &sb=4 to the "List All" link.


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





Quote Reply
Re: Short/Long Display - 500 error In reply to
Don't want to cross post, but I need help.

At my http://www.flash.net/cgi-bin/cgiwrap/murgnam/dbman/db.pl I've got the print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*">List All</A> ! if ($per_view);

At my http://www.flash.net/cgi-bin/cgiwrap/murgnam/Directory/db.pl I've got the
print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*&sb=4">List All</A> ! if ($per_view);

My goal is to have the short/long display alpha by last name (field #4). Site one gives me the gist; all I've changed in site two is add the &sb=4, but it's all out of wack.

Where to look now?

[This message has been edited by joebagodonuts (edited October 02, 1999).]