function cache_write($file, $data) {
global $rootpath;
#if (is_writable($rootpath . "cache/$file.cache"))
chmod($rootpath . "cache/$file.cache", 0777);
file_put_contents($rootpath . "cache/$file.cache", serialize($data));
}
Вылазиет ошибка:
Warning: chmod(): Operation not permitted in /home/tracker/public_html/include/functions.php on line 27
Кто знает в чём дело?