Spacecop, hang in there
I might have a solution for you... please do not use my suggestion yet...
Matteo... coding question for you:
this function causes the problem when the safe_mod or open_basedir is in effect:
function called by lines:
so the function explodes a path into this:
and then you check if each element is a folder and if not, you recreate it with
so in this case, the restriction in effect, does not allow folder /users to be even checked... then my question is, why can't we just do the checking for any folder ONLY inside the $_contentDir? why checking the full path?

Matteo... coding question for you:
this function causes the problem when the safe_mod or open_basedir is in effect:
function called by lines:
PHP Code:
// copy file
if (!makeDir($settings->_contentDir . $dir)) return false;
so the function explodes a path into this:
PHP Code:
Array (
[0] =>
[1] => users
[2] => schule
[3] => www
[4] => 1
[5] => download
[6] => 1048576
[7] => 1
[8] => 4
[9] => )
and then you check if each element is a folder and if not, you recreate it with
PHP Code:
if( !is_dir( $mkfolder ) ){
$res=@mkdir( "$mkfolder" , 0777);
if (!$res) return false;
}
so in this case, the restriction in effect, does not allow folder /users to be even checked... then my question is, why can't we just do the checking for any folder ONLY inside the $_contentDir? why checking the full path?