Simply put, what syntax am I missing or have out of place? default.txt, db.txt and html.txt @ http://www.flash.net/~murgnam/
Oct 2, 1999, 3:26 AM
User (258 posts)
Oct 2, 1999, 3:26 AM
Post #3 of 8
Views: 2282
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
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
Oct 2, 1999, 4:32 AM
Veteran / Moderator (8669 posts)
Oct 2, 1999, 4:32 AM
Post #4 of 8
Views: 2283
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
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
Oct 2, 1999, 6:25 AM
User (258 posts)
Oct 2, 1999, 6:25 AM
Post #8 of 8
Views: 2282
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).]
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).]