error wrote: Warning: session_start(): open(/sess_68056dae694c4429d94d1b66bb952b80, O_RDWR) failed: Permission denied (13) in /vservers/silversteep/htdocs/mc2fm/incl/classes.inc.php on line 366
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /vservers/silversteep/htdocs/mc2fm/incl/classes.inc.php:366) in /vservers/silversteep/htdocs/mc2fm/incl/classes.inc.php on line 366
Warning: Cannot modify header information - headers already sent by (output started at /vservers/silversteep/htdocs/mc2fm/incl/classes.inc.php:366) in /vservers/silversteep/htdocs/mc2fm/admin.php on line 267
MC2 FileManager v2.0
Warning: Unknown(): open(/sess_68056dae694c4429d94d1b66bb952b80, O_RDWR) failed: Permission denied (13) 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 () in Unknown on line 0
Warning: session_start(): open() failed: Permission denied
Moderator: General Moderators
Warning: session_start(): open() failed: Permission denied
I was editing an application... didn't even really do anything to it, and I'm pretty sure I undid all the changes I made, but for some reason this is all I get now... wTF??
All I changed was a line in my functions script:
I changed this from
to this:
I looked at the page and BLAMO! Error central... so I changed it back and it's still broken!!
I changed this from
Code: Select all
function get_linked_path($path,$base_url) ## Get path with links to each folder
{
$string = "<a href='$base_url'>Data Site</a> / ";
$array = explode("/",htmlentities($path));
unset($array[count($array)-1]);
foreach ($array as $entry)
{
@$temppath .= $entry."/";
$string .= "<a href='$base_url&path=".htmlentities(rawurlencode($temppath))."'>$entry</a> / ";
}
return $string;
}Code: Select all
function get_linked_path($path, $base_url, $user_dir="/") ## Get path with links to each folder
{
$string = "<a href='$base_url'>" . $user_dir . "</a> /";
$array = explode("/",htmlentities($path));
unset($array[count($array)-1]);
foreach ($array as $entry)
{
@$temppath .= $entry."/";
$string .= "<a href='$base_url&path=".htmlentities(rawurlencode($temppath))."'>$entry</a> / ";
}
return $string;
}well, the problem is obvious:
You may try to use session_save_path() to point session storage engine to the correct directory (usually '/tmp/')
PHP tries to save session data to the root folder (which isn't writeable on any sane Unix system).Warning: session_start(): open(/sess_68056dae694c4429d94d1b66bb952b80, O_RDWR) failed
You may try to use session_save_path() to point session storage engine to the correct directory (usually '/tmp/')