1. Visiting from the US? Why not try DIYnot.US instead? Click here to continue to DIYnot.US.
    Dismiss Notice

Spurious "message to long" error

Discussion in 'Forum Information' started by ban-all-sheds, 4 Feb 2018.

  1. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    Been getting this sort of thing of late:

    upload_2018-2-4_15-49-45.png

    Closing the error popup and simply resubmitting always works, which makes me think it must be spurious, as does the fact that the messages simply are never "too long" - this most recent instance concerned a post with 1 line of text, and 2 images, each under 700 x 700, and totalling well under 1MB in size.
     
  2. DIYnot

    Staff Member

    Joined:
    17 Aug 2001
    Messages:
    2,353
    Thanks Received:
    434
    Country:
    United Kingdom
    Is this happening after you have cut and pasted something into the post in question by any chance?
     
  3. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    Yes - pasted in one of the images.
     
  4. DIYnot

    Staff Member

    Joined:
    17 Aug 2001
    Messages:
    2,353
    Thanks Received:
    434
    Country:
    United Kingdom
    Sometimes when things are copied & pasted, extra characters come along for the ride (not necessarily visible). This is most probably what has happened in this case. Depending on browser you can right click and 'paste as plain text' or if you use the 'Use the BB code editor' button on the reply boxes you can see the full text that has been pasted and get rid of an unnecessary. Current character limit per message is 10k.
     
  5. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    It was an image I posted, not text, so 'paste as plain text' wouldn't work....
     
  6. mattylad

    Joined:
    27 Apr 2008
    Messages:
    5,251
    Thanks Received:
    237
    Country:
    United Kingdom
    Maybe copying the image also copied the HTML from the page it was on and pasting it also pasted this?
     
  7. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    The images are not copied like that from a web page.
     
  8. bernardgreen

    Joined:
    3 Nov 2006
    Messages:
    19,552
    Thanks Received:
    1,742
    Location:
    Bedfordshire
    Country:
    United Kingdom
    BAS Can you let me know the brand and type of that junction box. I have an applocation for which that box could be ideal.

    Regards

    Bernard
     
  9. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    Ummm.....


    o_O
     
  10. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,401
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    FYI - just got the "error" again, pasting in an image from my copy buffer.

    This was the "text version" of the post - as you can see, no spurious HTML (I've put spaces after the [ to avoid it showing up as an image here)

    [ ATTACH=full]136400[ /ATTACH]

    The image is only 101KB in size.


    https://www.diynot.com/diy/posts/4089629/
     
    Last edited: 12 Feb 2018
Loading...

Share This Page