G'day,

Most likely they haven't pointed it to the right place (or maybe
permissions?  Doubt it would give this error for that).

Session information is usually stored in /tmp on the hosting server (and on
unix servers /tmp is actually a disk partition with a set size).

There are a lot of applications on a hosting server that might use /tmp to
store temporary files, so I suppose it is possible that something has filled
/tmp up and PHP simply can't write to it because there is no where to write
to!

Call your host is my advice.

Best Regards
Bob Irwin
Server Admin & Web Programmer
Planet Netcom
----- Original Message -----
From: "Beau Hartshorne" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Thursday, August 22, 2002 12:24 PM
Subject: [PHP] Session problems: "Warning: write failed: Disk quota
exceeded"


> Hi,
>
> Recently, my php app has started to throw these warnings:
>
> Warning: write failed: Disk quota exceeded (122) 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
>
> I narrowed it down to this code:
>
> <?php
> session_start();
> session_register('anything');
> ?>
>
> (A test file containing only that will throw those two warnings.)
>
> The php version is 4.2.2. This script is running in a shared hosting
> environment. My guess is that the ISP has misconfigured php, and has not
> set the appropriate permissions to the /tmp directory.
>
> Does this make sense? Or is there something that I've missed?
>
> Thank you,
>
> Beau
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> Scanned by PeNiCillin http://safe-t-net.pnc.com.au/
>
> Scanned by PeNiCillin http://safe-t-net.pnc.com.au/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to