Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Too long titles throws a non friendly error

Discussion in 'Showcase Resolved Bug Reports' started by MagnusB, Mar 4, 2013.

  1. MagnusB

    MagnusB Member Showcase

    Just saw that there was a few error in my server error log connected to a too long title of a showcase items. I tested it, and it threw a pretty unintuitive error message, which kinda explains why I did not see the item he tried to create:
    The following error occurred:
    Mysqli statement execute error : Data too long for column 'item_name' at row 1
    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591
    XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
    XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
    XenForo_DataWriter->save() in NFLJ/Showcase/ControllerPublic/Index.php at line 346
    NFLJ_Showcase_ControllerPublic_Index->actionAddSave() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in ~/public_html/index.php at line 13
    Optimally the input field should have maxlength equal to the maximum allowed characters for the title field (it defaults to 100, I think that isn't allowed in showcase).
  2. Bob

    Bob Developer Staff Member

    This has already been addressed and will be available in the next maintenance release.
    MagnusB likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.