ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: badmonkey on August 16, 2018, 12:34:43 pm

Title: 1.1.5 cannot remove attachments
Post by: badmonkey on August 16, 2018, 12:34:43 pm
This is on nginx 1.15.2, mariadb 10.3, php 7.2.9. Once an attachment is uploaded it can't be removed using the icon.
Title: Re: 1.1.5 cannot remove attachments
Post by: emanuele on August 16, 2018, 03:14:52 pm
Title: Re: 1.1.5 cannot remove attachments
Post by: emanuele on August 16, 2018, 03:15:36 pm
Title: Re: 1.1.5 cannot remove attachments
Post by: emanuele on August 16, 2018, 03:24:26 pm
hmm... with the above procedures looks good here.
Though we are on 1.1.4 (still, should update), but I can't see anything that would affect this in the 1.1.5 patch.
Could it be you had some error during one of the previous updates?
Can you attach here your Attachment.controller.php and Attachments.subs.php to start with something?
Title: Re: 1.1.5 cannot remove attachments
Post by: radu81 on August 16, 2018, 03:34:01 pm
Can't reproduce this on elkarte 1.1.5
Title: Re: 1.1.5 cannot remove attachments
Post by: badmonkey on August 16, 2018, 03:44:57 pm
Anything is certainly possible. It could be an issue on my setup. Two different elk deployments behave the same. It may also be pertinent to mention this happened on mobile. Chrome specifically. Lemme try a different browser. 
Title: Re: 1.1.5 cannot remove attachments
Post by: badmonkey on August 16, 2018, 03:46:19 pm
Indeed. FF behaves properly. 
Title: Re: 1.1.5 cannot remove attachments
Post by: radu81 on August 16, 2018, 04:39:56 pm
The test I made was with Firefox, I just tested with Chromium and same result: could not reproduce it
Title: Re: 1.1.5 cannot remove attachments
Post by: FF / MFG on August 17, 2018, 04:36:21 pm
Title: Re: 1.1.5 cannot remove attachments
Post by: FF / MFG on August 17, 2018, 04:36:48 pm
Title: Re: 1.1.5 cannot remove attachments
Post by: emanuele on August 17, 2018, 04:41:41 pm
The two above were Chrome Version 66.0.3359.170 on linux.
Could you describe a little more in details what you do and what happens? (Somehow like I did in the two posts above.)
Please be very specific, like you try to explain it to someone that doesn't know anything of a forum.

Once you have done it, give also some more details:
1) are you using minified css/js? If so, please try to clean them and let elk rebuild the cache (or even better try with the minification disabled),
2) using the browser developers tool (in chrome right button + inspect) is there any error in the console?