XF 1.1 Can't create/write to file (Errcode 13)

DBA

Well-known member
I get the following error whenever I view a personal conversation.

Code:
Server Error
 
Mysqli statement execute error : Can't create/write to file '/tmp/#sql_7cf_0.MYI' (Errcode: 13)
 
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 XenForo/Model.php at line 218
XenForo_Model->fetchAllKeyed() in XenForo/Model/Conversation.php at line 113
XenForo_Model_Conversation->getConversationRecipients() in XenForo/ControllerPublic/Conversation.php at line 204
XenForo_ControllerPublic_Conversation->actionView() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /var/www/vhosts/***********.com/httpdocs/content/index.php at line 13


Disabled all the caching and added the below to the config file but still get the error.
Code:
$config['enableListeners'] = false;
 
It can't write to /tmp. Possibilities include:

1) Partition is full.

2) Directory doesn't exist.

3) Permission problem with that directory.

So basically check the /tmp directory on your server and make sure everything is kosher. Or contact your host.
 
  • Like
Reactions: DBA
3) Permission problem with that directory.
After I noticed that it wasn't just XF that was acting up I did some digging and figured out that somehow the /tmp permission had changed to:
drwsr-xr-x

What would cause this to change?

I've noticed some hinky things going on over the weekend, better call my server guy and see if the server got hacked. :mad:


BTW thanks for the quick response!
 
Top Bottom