0

Hi I would really appreciate some help. I get the following errors at http://www.bookapartmentsinyork.co.uk/

Warning: session_start() [function.session-start]: open(/home/content/05/11475705/tmp/sess_o4ml0j7uuo01pffbonlpdpi8p2, O_RDWR) failed: No such file or directory (2) in /home/content/05/11475705/html/wp-content/plugins/quitenicebooking/includes/quitenicebooking.class.php on line 141

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/05/11475705/html/wp-content/plugins/quitenicebooking/includes/quitenicebooking.class.php:141) in /home/content/05/11475705/html/wp-content/plugins/quitenicebooking/includes/quitenicebooking.class.php on line 141

I have tried so many thing but it's all got pretty confusing for me. I'm using GoDaddy, The error was caused after changing from a Windows to Linux server. I am very new so please try to help me in your explanations as I may get confused easily :) Thank you!

  • http://stackoverflow.com/questions/8812754/cannot-send-session-cache-limiter-headers-already-sent – john Sep 10 '14 at 12:30
  • Check your /tmp folder to see if www-data has the correct access rights – T00rk Sep 10 '14 at 12:31
  • possible duplicate of [How to fix "Headers already sent" error in PHP](http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php) – Wezy Sep 10 '14 at 12:34
  • possible duplicate of [Warning: session\_start() \[function.session-start\]: open(/tmp/sess\_e07..42c14904, O\_RDWR)](http://stackoverflow.com/questions/11779889/warning-session-start-function-session-start-open-tmp-sess-e07-42c14904) – Reinder Wit Sep 10 '14 at 12:43

2 Answers2

0

It looks like the 'quitenicebooking' plugin is trying to read session storage data which does not exist. The subsequent errors regarding headers already sent is just a consequence of the fact that the first error appears.

You could try changing the session storage location using ini_set().

Reinder Wit
  • 6,490
  • 1
  • 25
  • 36
-1

Be sure to set session_start() at the very beginning of your file.

You're getting this error because the header are already sent.

Wezy
  • 665
  • 1
  • 5
  • 14
  • No.. he's getting an error message that his session can't be found. Then he's getting the headers already sent error because of the output from above. – Mike B Sep 10 '14 at 12:43