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?
Oct 15, 2003, 11:35 PM
New User (4 posts)
Oct 15, 2003, 11:35 PM
Post #2 of 5
Views: 3326
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?
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?
Oct 16, 2003, 1:29 AM
Veteran / Moderator (3034 posts)
Oct 16, 2003, 1:29 AM
Post #3 of 5
Views: 3353
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/
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/
Oct 16, 2003, 10:06 PM
Veteran / Moderator (3034 posts)
Oct 16, 2003, 10:06 PM
Post #5 of 5
Views: 3308
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/
<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/