Gossamer Forum
Home : Products : DBMan : Installation :

HeLp!! File Not Uploading

Quote Reply
HeLp!! File Not Uploading
I've installed the single file upload mod, but the file doesn't seem to be uploading. When I check the folder that the file should be copied to it is empty. I'm so confused. I've been working on this mod for weeks...someone please helppppp!!! =(
Quote Reply
Re: HeLp!! File Not Uploading In reply to
Are there entries being written to your error logs that would give a clue to the problem?

Do you have the complete path to the upload directory identified in your config file? Does the upload directory have the correct permissions set (0777)?



Quote Reply
Re: HeLp!! File Not Uploading In reply to
Yes the directory permissions have been set to 777 and the path to the file is correct. I do not receive any error messages when I add the file either. I've tried turning on the debug statements but nothing shows up there either. I've gone ahead and posted my default.cfg, html.pl, and db.cgi files on the web.

http://www.geocities.com/reena_sud/default.txt
http://www.geocities.com/reena_sud/html.txt
http://www.geocities.com/reena_sud/db.txt

I'll try to look through all of the code again also just incase I made a mistake somewhere. Thanks!

Reena
Quote Reply
Re: HeLp!! File Not Uploading In reply to
Reena, I am getting a Server not Found error when I try to access the URL you have listed for the upload directory in the cfg file.

Quote Reply
Re: HeLp!! File Not Uploading In reply to
That's because the database is on an internal website so you cannot access the server.

Reena
Quote Reply
Re: HeLp!! File Not Uploading In reply to
Reena, in default.cfg try changing the Filename field as indicated below.

'Filename' => [ 33, 'alpha', 20, 255, 0,'',''],


To:

'Filename' => [ 33, 'alpha', 0, 255, 0,'',''], <<remove the trailing comma too





Quote Reply
Re: HeLp!! File Not Uploading In reply to
I tried doing what you said, but still no change. I'm thinking perhaps there is something wrong with the code i added in the db.cgi. Perhaps i should try reinstalling the mod. I want the field to be titled 'Filename'. The user does not have to upload a file. So with those two requirements in mind what scripts should I add to my html.pl and db.cgi files?

Reena
Quote Reply
Re: HeLp!! File Not Uploading In reply to
Hi Karen,
I'm lost =( I dont understand why it's not working. Do you think perhaps I am adding some of the scripts which are not needed? Please help me out. Can you just tell me which scripts i need to add, which ones I shoudn't add..thanks

=(

Reena