Gossamer Forum
Home : Products : DBMan : Installation :

file upload

Quote Reply
file upload
I'm psyched about the file upload mod and have it working except for one part. After a file is uploaded I get an error message that states:

ERROR: Unknown action
The database program received a command that it did not understand.

I assume this is connected to the code from fileupload.txt that states:
###############################################################################
# file: db.cgi #
# sub main #
# somewhere other "elsif" statments #
# add the following #
###############################################################################

elsif ($in{'upload_success'}) { &html_upload_success; }


---------

Which causes me problems when added.

Any ideas.

This is one of the best forums I've seen.

Thanks
Quote Reply
Re: file upload In reply to
Make sure that you have the following codes:

Code:
elsif ($in{'upload_success'}) { &html_upload_success; }

in the list of elsif statements in the sub main routine in the db.cgi file.

BTW: The better forum to post this type of question is in the Discussion Forum since it relates to customizing your datbase, not installing the original copy of DBMAN.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------







Quote Reply
Re: file upload In reply to
Do I also need to add the:

else { &html_unauth; } }

after as in the syntax of the other elsif statements? It seems to hang either way.

Thanks