Wedge

Public area => The Pub => Plugins => Topic started by: Arantor on December 23rd, 2012, 11:37 PM

Title: Attachment errors
Post by: Arantor on December 23rd, 2012, 11:37 PM
For some reason, attachment handling is broken. If I upload an attachment, I have all sorts of issues afterwards with topics failing to be made because I have attachments still in session, even though they're not in the temporary area.

E.g.
Code: [Select]
stat failed for /.../attachments/post_tmp_2367_1 in /.../Plugins/Multi-Attach/plugin.php on line 36

I don't know if that's solely due to the multi attach plugin but it's damned irritating.
Title: Re: Attachment errors
Post by: Nao on December 27th, 2012, 04:45 PM
I noticed that, but don't know what causes it.
I'm disabling the mass upload plugin, please try again.

Also, in IE10 at least, disabling a plugin doesn't update the button. Maybe we should ensure the cache is refreshed...
Title: Re: Attachment errors
Post by: Arantor on December 27th, 2012, 04:55 PM
Quote
Also, in IE10 at least, disabling a plugin doesn't update the button. Maybe we should ensure the cache is refreshed...
That's clever since it's a complete new page load...
Title: Re: Attachment errors
Post by: Nao on December 27th, 2012, 05:20 PM
I don't know, but IE10 is bound to get a fair market share in the future, so we might as well ensure we do something about it...

So, what about your upload issue..?
Title: Re: Attachment errors
Post by: Arantor on December 27th, 2012, 05:27 PM
I guess I can find something to upload somewhere...
Title: Re: Attachment errors
Post by: Nao on December 28th, 2012, 12:47 AM
No issue then?
Title: Re: Attachment errors
Post by: Arantor on December 28th, 2012, 12:53 AM
Nope, I haven't found anything I actually want to upload anywhere.

It only kicks in *after* the attachment is made - the attachment appears to go fine, but it isn't purging properly afterwards. I'm still inclined to think this is actually a core bug not a plugin bug, though.

I've been busy working on code some more (and the commit is going to be crazy huge when it does land)