If you want to set up a screen sharing session I can try to help you debug it.
My guess is that the code is having difficulty calculating the root folder or changing the working directory. I can't say why or where but I'd happily help debug it. If it isn't a server configuration issue I won't charge you for my time.