Warning Errors

#1070

Ryan
Keymaster

No that isn’t the same folder. Your webroot is where your web files go that are accessible to the internet. PHP sessions should go in another folder. In this case that other folder does not appear to be writable by your PHP installation for whatever reason. Try putting this PHP script I just made into a file into your webroot folder. Name it test.php or whatever. Then go to yoursite.com/test.php

[code]
<?php
$path = '/var/chroot/home/content/92/11054992/tmp/';

// test creating a file
if (!touch($path . 'testfile')) {
echo 'Unable to create file…
‘;
} else {
echo ‘File was created successfully!
‘;
}

// test removing a file
if (!unlink($path . ‘testfile’)) {
echo ‘Unable to remove file…
‘;
} else {
echo ‘File was removed successfully!
‘;
}
?>
[/code]