I’m trying to use an old script I made. But for some reason it worked before and gives me errors today. What do these errors mean?
[code=php]
Warning: session_start() [function.session-start]: open(/public/tmp/sess_ea2351a0fe991d4f0a896f479105b8d6, O_RDWR) failed: No such file or directory (2) in /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php:3) in /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php:3) in /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php on line 3
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /public/sites/www.kunstopdekoffie.nl/cms/img/imageManager.php on line 10
Warning: Unknown: open(/public/tmp/sess_ea2351a0fe991d4f0a896f479105b8d6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/public/tmp) in Unknown on line 0
This is the first part of the script I use:
[code=php]<?php
require_once(‘../pages/database.php’);
require_once(‘../pages/config.php’);
//|||||||||||Start Session to remember table and id ||||||
session_start();
header(“Cache-control: private”); //IE 6 Fix
if ($destroy){
$_SESSION[‘tableName’] = $_GET[‘tableName’];
$_SESSION[‘id’] = $_GET[‘id’];
}
//set time limit off
set_time_limit(0);
Hope someone can help me with this.
Thanks zeb