I recieve the following error while trying to create a session with the code below - can some please help!.
ERROR:
Warning: open(/tmp\sess_606f841ec6dce0a7319a495c77753fee, O_RDWR) failed: No such file or directory (2) in C:\Intranet\php\database\MysqlConnect.php on line 3
Parse error: parse error, unexpected T_FUNCTION, expecting ',' or ';' in C:\Intranet\php\errorLogging\ErrorLogging.php on line 10
Warning: open(/tmp\sess_606f841ec6dce0a7319a495c77753fee, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
CODE:
<?php
session_start();
include ("../errorLogging/ErrorLogging.php");
class MysqlConnect
{
/** Database connection properties **/
var $_mysql_host;
var $_mysql_user;
var $_mysql_password;
etc.....
Session Errors - Please Help!!!
Moderator: General Moderators
-
liquidchild
- Forum Newbie
- Posts: 9
- Joined: Sun Nov 03, 2002 6:25 am
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
-
liquidchild
- Forum Newbie
- Posts: 9
- Joined: Sun Nov 03, 2002 6:25 am