Files/Images deleted upon "update"?

R

Rob Cole

Guest
I read through these forums and found one possible solution, but it didn't work with my version (2.2.1 Beta); at least I couldn't get it to work. Anyway, every time a user in my database is updated, it automatically reverts the fields for files (images and generic files) to blank. Then, when update is pressed, the fields become blank in the new DB...

Is there any way to fix this?

thanks,
Rob
 
G

grz

Guest
There's already a discussion about this somewhere on this forum

Here you'll find what u need :
http://grz.free.fr/business_logic.php

You just have to replace your business_logic.php with this one.

Tell me if u have any trouble.

bug: u can't revert an upload field to an empty value for the moment.

it work just find for me with Latest version: v 2.2.1 beta.

i've installed a demo here : http://grz.free.fr/db/ but i've some
rights problems with the upload folder ... :( should be fixed soon :)

Regards,

Elie.
 
Top