XF 1.5 Any help for Datawriter.php error please

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.
 

Attachments

  • new.jpg
    new.jpg
    77.8 KB · Views: 8

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"
}
}
 

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
 

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
 

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 0.9.6.1 for PHP [More Info ↑] Caches compiled PHP pages ONLY when running in a persistent (DSO/FCGI
 

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.
 
Top