Gossamer Forum
Home : Products : DBMan : Customization :

Another Upload Problem

Quote Reply
Another Upload Problem
Here we go again. When I add or modify a record that includes a graphic all the other graphics in the upload directory are deleted and I am left with only 1 file. It does have the proper file name such as 84.jpg but it is the only freaking one there.

My files are at:
http://www.sunrisemarina.com/db_cgi.txt
http://www.sunrisemarina.com/default_cfg.txt
http://www.sunrisemarina.com/html_pl.txt

I hope someone can help. This is getting very tiresome and the client is becoming impatient.

Thanks to everyone.

Will
Webmaster
FishHoo! Search Index for Fishermen
http://www.fishhoo.com/
Quote Reply
Re: Another Upload Problem In reply to
Anyone know what is causing this?

Will
Webmaster
FishHoo! Search Index for Fishermen
http://www.fishhoo.com/
Quote Reply
Re: Another Upload Problem In reply to
I'm only here for a few minutes this morning, and don't have time to look at your files.

Search in your script to where you inserted the codes to delete the files and be sure they are placed in the proper location according to the mod's instructions.

It should include "unlink" within the codes.

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: Another Upload Problem In reply to
Hi Will, the only thing I spotted which was different from the instructions is that you have commented out the $db_key line in sub html_record. When working with short/long you need to keep in mind that changes need to be reflected in both html_record and html_record_long both unless specified otherwise. Try removing that # sign and give the scripts a go.

my (%rec) = @_;
# $rec{$db_key} =~ s/<.?B>//g;

~ Karen

Quote Reply
Re: Another Upload Problem In reply to
Thanks Karen but that make no difference. Guess I'll start over from scratch.

Will
Webmaster
FishHoo! Search Index for Fishermen
http://www.fishhoo.com/