PDA

View Full Version : sessions directory


Absynthe
06-20-2006, 09:57 PM
Hi, I want to inform you about a bug I met when I have installed PP.

As several thousands french people, my website is hosted by my Internet provider "Free".
The problem is that the default sessions directory doesn't exist. So after the installation of PP it's impossible for us to log on and makes a lot of php errors.

It could be a problem for people who don't know the issue of this problem.
So I think you should automatically create it if it doesn't exist to avoid problems.

// In 'admin/install.php'
$dir = session_save_path();
if (!is_dir($dir))
{
mkdir($dir);
}

Regards.

GeoS
06-20-2006, 10:02 PM
OK. Better solution will be to inform user about this problem. That isnt Pixelpost issue but poor configuration of server :/

Now there will be info with that path in General info from Admin panel. Now we should to add info about empty path in some smart way to show it to user getting problems.