Frontendusers - Delete Image (as FEU user), BUG
Frontendusers - Delete Image (as FEU user), BUG
Whenever an image is set as a (feu) user property and the front end user uploaded the image in his settings, he can not remove it! It is already reported as 3734 bug against FEU 1.6.7 (not solved) and again against FEU 1.6.9 (bug 4000) where it still occurs. I just need a fix or workaround or ... Any help is appreciated! Thanks in advance!
-
- Forum Members
- Posts: 48
- Joined: Tue Nov 14, 2006 9:06 pm
Re: Frontendusers - Delete Image (as FEU user), BUG
I'm having the same problem. Any fixes out there?
Re: Frontendusers - Delete Image (as FEU user), BUG
Actually, i tried to find the problem in the code.. it seems there is only ONE place where the unlink part (delete if you are unfamiliar with php) takes place. Adding some echoes, i see the code is only reached when the "clear" checkbox is ticked in the backend! Ticking the box in the frontend and submiting, he never reaches the unlink part ...
All form fields are set correctly and are send, you can get the fields.. but as it seems that the image part especially the clear is never evaluated, it is no surprise it is not deleted.
I actually have a "hack" workaround, but I have to check whether it is "safe" to use for others or to show the code.. it is a smarty tag you have to embed which checks for the image form fields, escpecially the clear and then performs the steps FEU fails to do... I am currently in office but I will check it when back home and post it then
All form fields are set correctly and are send, you can get the fields.. but as it seems that the image part especially the clear is never evaluated, it is no surprise it is not deleted.
I actually have a "hack" workaround, but I have to check whether it is "safe" to use for others or to show the code.. it is a smarty tag you have to embed which checks for the image form fields, escpecially the clear and then performs the steps FEU fails to do... I am currently in office but I will check it when back home and post it then
Re: Frontendusers - Delete Image (as FEU user), BUG
If this problem still excist in release 1.16.11, you better put in another bugreport...
http://dev.cmsmadesimple.org/bug/list/14
And add this fix (or a link) into it, perhaps it will help the developper.
Grtz, Rolf
http://dev.cmsmadesimple.org/bug/list/14
And add this fix (or a link) into it, perhaps it will help the developper.
Grtz, Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -