Search…

X3 Photo Gallery Support Forums

Search…
 
Skeledzic
Topic Author
Posts: 1
Joined: 13 Jun 2017, 16:50

Change the Path of DOCUMENT_ROOT

14 Jun 2017, 01:05

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/ 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Change the Path of DOCUMENT_ROOT

14 Jun 2017, 01:16

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.