Page 1 of 1

Change the Path of DOCUMENT_ROOT

Posted: 14 Jun 2017, 01:05
by Skeledzic
Where i can change the document Root, because in the php the script takes the wrong path? couldn't found something about that in the forum. 
the _SERVER["CONTEXT_DOCUMENT_ROOT"] and _SERVER["DOCUMENT_ROOT"] 
look at http://www.fctba.ch/IVx3/ 

Re: Change the Path of DOCUMENT_ROOT

Posted: 14 Jun 2017, 01:16
by mjau-mjau
You never change _SERVER["DOCUMENT_ROOT"] . This is setup on server level, and should point to the absolute location on server where your web root starts from.

My guess is that it's something else (unless you failed to upload all files). For example where is this file that should be uploaded?
http://www.fctba.ch/IVx3/app/cache.inc.php

You are using some redirect or something? I can only diagnose further if you provide FTP login.