• Resolved jabbamonkey

    (@jabbamonkey)


    I recently updated CM ANSWERS and everything seemed to be working fine. Then, this morning, the following error messages started appearing at the top of EVERY PAGE of my site. Please help!!!

    Warning: session_start(): open(/tmp/sess_0555544ed8228531dc93ce518d6f1575, O_RDWR) failed: No space left on device (28) in /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php on line 158

    Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php:158) in /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php on line 158

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php:158) in /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php on line 158

    Warning: Cannot modify header information – headers already sent by (output started at /home/sitename/public_html/wp-content/plugins/cm-answers-pro/lib/controllers/BaseController.php:158) in /home/sitename/public_html/wp-content/themes/ThemeName/header.php on line 25

    The error just appeared, and then disappeared 20 minutes later. How do I keep this from happening again?

    https://wordpress.org/plugins/cm-answers/

Viewing 5 replies - 1 through 5 (of 5 total)
  • inspektorsowa

    (@inspektorsowa)

    Hi jabbamonkey,
    this error is not related directly to the CMA plugin but to the server configuration. CM Answers uses the PHP sessions and due to the error description it’s clear that there’s no more disk space in your server for storing the temporary files (including sessions) in the Linux tmp directory. It sometimes happens when admin doesn’t clear the temporary files. If happen again please contact your hosting administrator.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    We had the webhost clear the temp folder. They said…

    “We have corrected this. We have also setup a cron to clear /tmp folder.”

    However, the problem came back 20 minutes later. This error only occurs when your plugin is activated, and since the last update.

    Thread Starter jabbamonkey

    (@jabbamonkey)

    Any update? As I mentioned, this problem only occurs when the plugin is activated, and since the last update. The space shouldn’t be an issue…

    Is there a way to disable the session request? (on line 158 of BaseController.php). Or place a conditional statement (if there is no space, don’t do the session_start()?

    inspektorsowa

    (@inspektorsowa)

    Hi jabbamonkey,
    we didn’t modified anything related to sessions. Could you ask your administrator what is the sessions’ files size and why it fill the tmp directory so fast?

    Thread Starter jabbamonkey

    (@jabbamonkey)

    I forwarded over your message to my webhost and they said it has been fixed. So far, no problems … I then asked what they did, and they responded with…

    This was due to nginx the inode usage was fulled on the server and because of this you were received “failed: No space left on device (28)” error. We have already corrected it and now and you should not see any further issues.

    I assume they didn’t speak English well (based on the grammer) … but hopefully their response will help other people who possibly have this issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Session Error Messages !!!!’ is closed to new replies.