Gossamer Forum
Home : Products : DBMan : Customization :

funny problem i had

Quote Reply
funny problem i had
hi , i just install the user friendly html.pl and the short/long display mod + the relational mod (not yet working), but an funny problem pop up

just run the url
http://sirboss.tacoshell.com/cgi-bin/dbman/db.cgi?db=provider

here is the source of the scripts
http://sirboss.tacoshell.com/problem.zip

nad about the validate mod , where do i insert this code , i 'm using the log/short display mod

i'm not understand what carol told me to do, pls tell me the exact location

|; # to close off any previous print qq| statement
if ($per_admin) {
print qq|<tr><td>Validated</td>
<td> |; print &build_radio_field($db_validated_field,$rec{$db_validated_field});
print "</td></tr>";
}
else {
print qq|<input type="hidden" name="$db_validated_field" value="$rec{$db_validated_field}">|;
}
print qq|

thanks

Quote Reply
Re: funny problem i had In reply to
You obviously are missing a right bracket in the html.pl file. I'll need you to place your html.pl file on the web, and change the filename to provider_html_pl.txt. I can't pick up your .zip file.

Don't install any other mod until the ones you currently have are working.

When everything else is working correctly, the code you posted goes into sub html_record_form.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: funny problem i had In reply to
the files are on http://sirboss.tacoshell.com/temp

db_cgi_.txt
features_cfg.txt - the many side
features_html_pl.txt
format_html_pl.txt
provider_cfg.txt - the one side
provider_html_pl.txt

thank u carol , u r great :)


Quote Reply
Re: funny problem i had In reply to
Your problem is in sub html_home (in provider_html.pl)

Code:

if (!%rec) {
print "Location: $db_script_url?db=provider&uid=$db_uid&add_form=1\n\n";
return;
}
Add the bracket that is in red above.

JPD
http://www.jpdeni.com/dbman/