
error: "../../../../iS_admin/userfiles/" could not be created

I can't see anything wrong with the paths in the error message but since it's being triggered by the mkdir() comand, have you tried deleting that folder and letting it create it from scratch?