php - Getting a session_start warning on my site can someone give me a detailed solution on how to fix this -


warning: session_start() [function.session-start]: open(/home/content/58/7146558/tmp/sess_9ecd6l48tgu3kgmdottq5hm8v1, o_rdwr) failed: no such file or directory (2) in /home/content/58/7146558/html/upload/include/fgcontactform.php on line 63

here code

class fgcontactform { var $receipients; var $errors; var $error_message; var $name; var $email; var $message; var $from_address; var $form_random_key; var $conditional_field; var $arr_conditional_receipients; var $fileupload_fields; var $captcha_handler;  var $mailer;  function fgcontactform() {     $this->receipients = array();     $this->errors = array();     $this->form_random_key = 'htgsjhartag';     $this->conditional_field='';     $this->arr_conditional_receipients=array();     $this->fileupload_fields=array();      $this->mailer = new phpmailer();     $this->mailer->charset = 'utf-8'; }  function enablecaptcha($captcha_handler) {     $this->captcha_handler = $captcha_handler;     session_start(); }  function addrecipient($email,$name="") {     $this->mailer->addaddress($email,$name); } 

give permission chown -r apache:apache /path/to/session/folder


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -