• Hi

    Today I attached a file (XSL) and when I clicked submit the reply was created. But then I noticed that the attachment showed “Upload Error” and that XSL was not a supported file type.

    So I ZIPped the file and edited the reply and attached that. All good. But it raised two thoughts:

    1/ Is there no way to check the attachments before the topic is actually submitted so that I can fix it before it is visible in the forum?

    2/ Is there a way to drill down to the upload error (just incase the user doesn’t realise there was a problem)?

    I am sure you have considered these features before.

    Thanks.

    Andy

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Chuckie

    (@ajtruckle)

    Also, why is it that even though I subsequently added the ZIP attachment that the upload error remains?

    https://ibb.co/992jTwq

    Thread Starter Chuckie

    (@ajtruckle)

    Any update?

    Plugin Author Milan Petrovic

    (@gdragon)

    Hi,

    Finally, I have found the issue here: if the upload fails, and the error should be displayed, it does not show if there are no valid attachments. This was problem with Pro version, and it was fixed recently, and the fix for Free plugin is coming next week.

    Milan

    Plugin Author Milan Petrovic

    (@gdragon)

    Hi,

    There are points in your original topic I didn’t address. My free time is almost non-existent, so support for free plugins suffers, but I am trying to check more often what happens on www.remarpro.com.

    1. The free plugin version uses a normal HTML upload form element, and it uploads files as they are. The Pro plugin has an enhanced upload (JavaScript-powered) that previews the file you want to upload, and it also performs a bunch of validations to see if the file is the right size or if the extension is allowed. It also has a whole system for control over allowed file types and for adding new file types. All that is going to remain in Pro version, because Pro version has many different attachments implementation, that has moved on from the Free plugin implementation years ago.

    2. The error displayed when the file upload fails is received from the WordPress (for most of the upload errors), and it doesn’t provide any additional information to display – what my plugin gets from WordPress, that is displayed, there is no extra information provided.

    After some testing, the Free plugin doesn’t suffer from the error display issue that was a problem with the Pro, so there is nothing to fix there. The point about showing errors still after the successful upload is valid, but, the errors are not visible to regular users (only topic author and admins see them), and the plugin doesn’t save timestamps for these events to know if the error happens before the successful upload. The only thing I can do is to add an option to remove upload errors the topic author or admin can click to clear the error. That will be added in the next update.

    Milan

    Thread Starter Chuckie

    (@ajtruckle)

    Ok, thank you. I would love to use your pro version but unfortunately I can’t afford to pay the fees. If it was a one off fee I could do so but annual renewal I can’t justify. I already have to fund the digital certificate and webspace and this project is not commercial and doesn’t create revenue.

    I understand the benefits of using the pro edition and it sounds wonderful but I have to stick with the free edition for the aforementioned reasons.

    Plugin Author Milan Petrovic

    (@gdragon)

    All my plugins have annual and lifetime licenses, some users prefer one or the other, so why limit the choice. And, if you decide to get it, let me know (https://www.dev4press.com/contact/), I can set you up with a discount coupon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How errors are raised’ is closed to new replies.