Attachment errors

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Attachment errors
« 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.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Attachment errors
« Reply #1, 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...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Attachment errors
« Reply #2, 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...

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Attachment errors
« Reply #3, 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..?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Attachment errors
« Reply #4, on December 27th, 2012, 05:27 PM »
I guess I can find something to upload somewhere...

Nao

  • Dadman with a boy
  • Posts: 16,082

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Attachment errors
« Reply #6, 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)