1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Any help for Datawriter.php error please

Discussion in 'Troubleshooting and Problems' started by webber22, Jul 4, 2016.

  1. webber22

    webber22 New Member

    hi all,

    Ive got my forum up and running. Everything is good and people can post /login etc.

    The problem I have is that if you do anything that means it should throw an error message such as " you must enter a title to the post" it just crashes to this

    So this is created if you dont put data in a field and press submit.

    Attached Files:

    • new.jpg
      File size:
      77.8 KB
  2. webber22

    webber22 New Member

    XenForo_Exception: Please enter a valid message. - library/XenForo/DataWriter.php:1359
    Generated By: ******************, 53 minutes ago

    Stack Trace
    #0 /home/******************/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
    #1 /home/******************library/XenForo/ControllerPublic/Forum.php(828): XenForo_DataWriter->save()
    #2 /home/******************/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Forum->actionAddThread()
    #3 /home/******************/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/******************/******************/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
    ["url"] => string(68) "http://******************/boards/******************/add-thread"
    ["_GET"] => array(0) {
    ["_POST"] => array(12) {
    ["title"] => string(0) ""
    ["message_html"] => string(11) "<p><br></p>"
    ["_xfRelativeResolver"] => string(71) "http://******************/boards/*************/create-thread"
    ["attachment_hash"] => string(32) "d5382f2314c89959e9581bed9e8d9273"
    ["watch_thread_state"] => string(1) "1"
    ["discussion_open"] => string(1) "1"
    ["_set"] => array(2) {
    ["discussion_open"] => string(1) "1"
    ["sticky"] => string(1) "1"
    ["poll"] => array(5) {
    ["question"] => string(0) ""
    ["responses"] => array(2) {
    [0] => string(0) ""
    [1] => string(0) ""
    ["max_votes_type"] => string(6) "single"
    ["change_vote"] => string(1) "1"
    ["view_results_unvoted"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(42) "/boards/******************s/create-thread"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  3. Mike

    Mike XenForo Developer Staff Member

  4. webber22

    webber22 New Member

    I havent insalled any extensions in the 2 years ive had this server running with the main site..

    Whats next ? go into WHM and get the details of my php install ?

    I am stuck
  5. webber22

    webber22 New Member

    Installed PHP Extension(s) and Application(s) Module Name Version Actions

    Archive_Tar 1.4.0 Update Reinstall Uninstall Show Docs

    Console_Getopt 1.4.1 Update Reinstall Uninstall Show Docs PEAR 1.10.1 Update Reinstall Uninstall

    Show Docs Structures_Graph 1.1.1 Update Reinstall Uninstall Show Docs XML_RPC 1.5.5 Update Reinstall Uninstall

    Show Docs XML_Util 1.3.0 Update Reinstall Uninstall Show Docs
  6. webber22

    webber22 New Member

    the only extension ive installed is
  7. webber22

    webber22 New Member

    PHP 5.4
  8. webber22

    webber22 New Member

    In easy apache it shows this..could this be an issue ? or my version 5.4 of php ? let me know mate

    EAccelerator for PHP [More Info ↑] Caches compiled PHP pages ONLY when running in a persistent (DSO/FCGI
  9. webber22

    webber22 New Member

    I change the route filter from /forum/ to /boards/

    Do I need to change .htaccess could this be an issue ?
  10. webber22

    webber22 New Member

    also using cloudflare
  11. Mike

    Mike XenForo Developer Staff Member

    It's very possible that IonCube and Eaccelerator are causing problems. We've commonly seen problems with PHP 5.4 and APC, so Eaccelerator may have the same issues. If possible, I'd probably recommend upgrading to PHP 5.6 or newer, but that may not be viable.

    Restarting your PHP server (the web server or PHP-FPM server) may also help, but it can be temporary.
  12. webber22

    webber22 New Member

    ok i will recompile without ioncube and Eaccelerator.

    I cant see any issue recompiling to apache 5.6, its only a wordpress install. thanks I will let you know
  13. webber22

    webber22 New Member

    hey Mike!! =)

    I recompiled @ php 5.4 without Eaccelerator only and its now working. good stuff =)
    Mike likes this.

Share This Page