Quote:
Originally Posted by AndrewD
Did you by any chance move from a server that was running Apache to one that is running Windows IIS with php in cgi mode? (You can find out on your VB/admincp home page.)
By default, IIS in cgi mode does not provide one of the location variables (DOCUMENT_ROOT) that LDM uses to find files on your local server.
If this is the problem, there are three possible solutions:
- get DOCUMENT_ROOT defined (I'm not an expert on configuring web servers, so get some advice or search on Gogle)
- upgrade to version 2.2.6 which fixes this problem - you have to make a small code change
- use the LDM admin settings local_file_root and local_file_root_ settings to get LDM pointed at the right place in your server file system.
If this is not the problem, send me a PM and I'm happy to take a look at your site.
|
HI, no im not on Windows server, it is a linux server. Although it is clustered.
i am not sure about local_file_root and local_file_root_settings
my files are in a folder off the root, so they are in a folder called files/
I get the following error:
The following setting(s) are invalid
upload_dir : /files
Directory /files (/mnt/Target01/var/www/files) doesn't exist and I can't create it
Its got the wrong address to my root... I know what the correct path should be, LDM is missing part of the address
how would i configer it? I have no clue either.
EDIT:
OK, i got it to work, what i did was edit the local_links_init.php ....... should i be editing the local_links_init.php ? what else can i use apart from the document_root? I tried adding a line underneath in the part you meant to define your own document root. It works now.