Quote:
Originally Posted by sam anders
installed this hack as per instructions and all loaded up all ok but when i go to update any settings in the admin section of local links the following is displayed:
The following setting(s) are invalid
upload_dir : forums/ldm_upload
Directory forums/ldm_upload (/var/www/vhosts/mydomain.com/httpdocs/_ldm/forums/ldm_upload) doesn't exist and I can't create it
i have the ldm_upload in the correct place but noticed in the full location the file says
httpdocs/_ldm/forums/ldm_upload
but the address should be
httpdocs/forums/ldm_upload which file do i edit to change this line?
|
That particular piece of code is using this logic:
-> if you've set the LDM/admin setting 'local_file_root', then it's simply concatenating 'local_file_root_prefix and 'upload_dir', both set on the LDM admin/settings page
-> Alternatively, it's concatenating LDM_DOCUMENT_ROOT, 'local_file_root_prefix' and 'upload_dir', where
LDM_DOCUMENT_ROOT is either:
-> taken from your php.ini' $_SERVER["DOCUMENT_ROOT"]
or
-> set in includes/local_init.php
My guess is that you've set local_file_root_prefix to _ldm on the ldm admin settings page.