i have my own MVC that works perfectly on my local machine (using xampp), but once i have uploaded it to godaddy`s server i get all sorts of problem.
now i get this error:
session_start() [function.session-start]: open(/var/chroot/home/cont
o1, O_RDWR) failed: Permission denied (13)
when i do ini_get("session.save_path
") on my local machine i get: C:\xampp/tmp but on the remote server i get: /tmp.
when i asked godaddy support about it (and i had the feeling that maybe i have uploaded my mvc to the wrong folder but they say that my files are in the right place) they say: we do not help with code issues. i say that it does not seem to me a code issue but they insist.
in my code i have a constant that determine the session placed like that:
define("__SESSION_NAME", preg_replace("/[^a-z0-9]/i", "", $_SERVER['HTTP_HOST']));
$sessionfoldername = md5("_sessiondata");
define("__SESSION_DIR", str_replace(".", "_", $_SERVER['HTTP_HOST']) . $sessionfoldername);
again,all works on local machine