As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #1169884
Maximum string field length
Closed

Comments

  •  2
    Peter started the conversation

    How to store an encryption key in a wpDataTables field?

    I want to store a (long text value) value like: 

    wcBMA4kDXjH8+m6ZAQgAnWAOyneuiRM+kjGCqTKHkH+n6Mh8dF3xt3dSKTl4
    qkcUy88qxG5e2RHBJE1jdduUKteENlkXN80naYkhQBRWpJSymRFYvqPi2ZtR
    bfweJHdQuJEoET9nlU5+z0+hzEjv+EoJV5lcq4sp58iH8W920P+r2eIY0tly
    LYbqxgXWeCG7jT3zD6FDNudGR57GjHWLfKrNT6GUyt68T9Jz+qSx4OeArKSL
    HoLiCijgGGbvCFQUqj7hx2lEiIw+F59QFzdzKsX4W2jKIWiGRBnDPXnNR+g3
    V8yICZy6KR/Ug/fag5wfjPMr8G1X5Kzufq03X+oePXPoueWJaM4rLFP0kwf3
    f9JMATntHa7C13VEUlf8B8r+vrXfNa+fcTnaTEd29+rnc/UmXwdVzs8FUNmb
    JC+dG+a/9hbEEKZgr6UTEqM27QG9A0d6GnGpouYVuQUY9A==
    =zUjK

    However wpDataTables does not save this data.

    Thanks for your answer in advance.

    (Update: solved already: I have extended the field type to 'long text' in mySQL in PhpMyAdmin panel)

  •  1,896
    Miloš replied

    Hi Peter,
    Thank you for your purchase.

    Glad that you solved the issue.
    In case you need it I will write you a note about mysql text size

    "TINYTEXT is a string data type that can store up to to 255 characters.  TEXT is a string data type that can store up to 65,535 characters. TEXT is commonly used for storing blocks of text used for brief articles.  LONGTEXT is a string data type with a maximum length of 4,294,967,295 characters."

    So maybe this can be useful.

    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Peter replied

    Thanks a lot for this answer Bogdan. I now have changed my data type to 'text' instead of 'longtext' as text lenght will be sufficient. 

    Regards,

    Peter