Gossamer Forum
Home : Products : DBMan : Customization :

Cannot modify with multi upload

Quote Reply
Cannot modify with multi upload
I installed the multi upload mod. I can add records with and without uploaded files. I can delete with no problem. I can modify records without uploaded files but I CANNOT add a photo when I modify. If I have a photo, it is fine. The problem comes after I delete that photo and try to add a new one from the modify screen. The debug said "Error Message : unable to open directory. Reason: No such file or directory" Of course the directory is specified correctly in the config file--- it works to add a photo but not to delete! Any ideas?
Quote Reply
Re: [pdottcomm] Cannot modify with multi upload In reply to
I found the fix for this but one final problem is just making me crazy:

Now when I modify, the modification is successful BUT the file is uploaded with a zero file size. This ONLY happens on modify- initial uploading is fine.

Any ideas how to correct this?
Quote Reply
Re: [pdottcomm] Cannot modify with multi upload In reply to
It's hard to guess without seeing your html.pl and .cgi file whether you have the latest changes for the mod.

Can you provide a url to view both files as .txt files?

You might also want to check the FAQ noted below under "Images" for the latest updates for this mod.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Cannot modify with multi upload In reply to
I'll attach the files here as html (pl) and admin (cgi)

Thank you for looking at this!

(edited--- I uploaded the wrong pl file) It is the correct file now!

Last edited by:

pdottcomm: Oct 16, 2003, 8:28 AM
Quote Reply
Re: [pdottcomm] Cannot modify with multi upload In reply to
In sub html_modify_form_record you forgot to change:

<form action="$db_script_url" method="POST">

to:

<FORM ENCTYPE="multipart/form-data" ACTION="$db_script_url" METHOD="POST">

Let us know if that fixes the problem. I didn't check over your admin.cgi file.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/