Gossamer Forum
Home : Products : DBMan : Customization :

Need Help Troubleshooting Link Problem

Quote Reply
Need Help Troubleshooting Link Problem
Hi all, Happy Friday! I need help troubleshooting a problem I have with a link from the main menu

I have renamed $add, $del, and $mod (and cloned code for renamed permissions)

$add = $fa_add, $del = $cap_add (with code cloned from $add), $mod = $browse (code cloned from view)

My main menu Elsif looks like (only showing what is happening with fa_add):

if ($in{'fa_add_form']) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }

elsif ($in{'fa_add_record'}) ( if ($per_fa_add) { & html_fa_add_form; } else { &html_unauth; } }

etc...

this is the same as in the original DBman main menu with the exception of the 'fa_' ...

but I don't get the html_fa_add_form when I click on the link, it goes straight to the failure form with "Error: Unable to Add Record" and all the required fields listed!

I do have the preview record mod installed and working (pre-cloning/renaming), I'm trying to trouble shoot this and am at a loss as to where to look next. I didn't modify any code within add_form or Html_add_form, I just renamed throughout the forms.

Any suggestions would be helpful!

Thank you!
Lynette
Hollister, Ca

Last edited by:

Alex: Aug 5, 2003, 3:53 PM
Quote Reply
Re: [ltillner] Need Help Troubleshooting Link Problem In reply to
I logged in and tried the Add/Modify/Remove Fixed Asset and Capital Asset links and sure enough they link directly to fa_add_record but I think they should link to fa_add_form which seems to be the screen you want.

should be an easy fix.

These appear to be correct in the footer sub of the codes you posted but not in the functioning example, Hum? Any chance this menu comes from db.cgi main menu or maybe the folder you are updating is not right?

Sorry if that sounds dumb.

Are you creating the menu from another sub beside html_footer?

Happy friday to you tooooo.

35 mins til quitting time.Smile

Edit; I logged off, so the links will not work.

Last edited by:

Alex: Aug 5, 2003, 3:58 PM
Quote Reply
Re: [joematt] Need Help Troubleshooting Link Problem In reply to
Thanks! Leaving this until I was refreshed this morning (monday Unsure)... I found it in sub html_footer. DUHHHHHHH thanks for the trouble shooting tip though too!

Have a great weeK!
Lynette
Hollister, Ca