Clutz134
  • Posts: 5
  • Joined: 18/02/2015
So I updated my forum from version 2.1.2 to 2.2.0 and am testing it locally before I put it live. However I tried to look at the new upload files facility and when I click the Upload New Files button the window appears for less than a second and then the page posts back and its gone. 😞

Help
Sponsor
Clutz134
  • Posts: 5
  • Joined: 18/02/2015
Just an update. When it posts back the querystring changes from:
~/forum/postmessage?f=70
to
~/forum/postmessage?g=postmessage&f=70

Managed to make it show the window by putting the button inside an updatepanel however now it seems to not upload files. I don't think the button would have anything to do with this so I'm stuck still.
What should it look like once it uploads a new file? I click on upload file and it does the progress bar incredibly (suspiciously) quickly and then the box empties. I thought this meant they would be in the list of attachments now but they are not.
tha_watcha
  • Posts: 4117
  • Joined: 06/03/2010
Originally Posted by: Clutz134

Just an update. When it posts back the querystring changes from:
~/forum/postmessage?f=70
to
~/forum/postmessage?g=postmessage&f=70

Managed to make it show the window by putting the button inside an updatepanel however now it seems to not upload files. I don't think the button would have anything to do with this so I'm stuck still.
What should it look like once it uploads a new file? I click on upload file and it does the progress bar incredibly (suspiciously) quickly and then the box empties. I thought this meant they would be in the list of attachments now but they are not.



Thanks for the report, issue will be fixed in 2.2.1. If you need a quick fix download the updated files from the GitHub repository from the commit

https://github.com/YAFNE...06ceafadcb193c21be82fa16 

and

https://github.com/YAFNE...e41dc70b49b63887c194645f 


UserPostedImage
Clutz134
  • Posts: 5
  • Joined: 18/02/2015
I tried the quickfix on the file yafsrc/YetAnotherForum.NET/controls/PostAttachments.ascx however it still seems to not upload the file
tha_watcha
  • Posts: 4117
  • Joined: 06/03/2010
Originally Posted by: Clutz134

I tried the quickfix on the file yafsrc/YetAnotherForum.NET/controls/PostAttachments.ascx however it still seems to not upload the file



So then there must be an error message in case anything goes wrong if the upload dialog doesnt close itself after the upload. Are you getting any error messages in the browser console, or yaf event log?
UserPostedImage
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved