A little closer
I've got a little closer. This is the reply I got from support (nice and quick as well)...
The image upload path is a concatination of the $WAGLOBAL_Root_URL + $WAGLOBAL_Images_FolderSo I changed
So if the root:
$WAGLOBAL_Root_URL = "http://www.mydomain.com/"
and thye image folder:
$WAGLOBAL_Images_Folder = "images/"
The full path will be:
Most likely in the WA_Globals.php file, you have the root URL set to the root of your domain, not the root of the CMS Files as it should be.
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/"
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/cms/"
Now this worked - I just assumed that "//Absolute path to your site folder." meant the absolute path to the site folder not the absolute path to the cms files folder if the cms files aren't in the root of the site. :rolleyes:
Using 'Browse Server' now uploads to to "http://www.mysite.co.uk/cms/cms_images/" and places the correct URL in the code. :)
HOWEVER if I try to upload using the 'Upload' tag in Image Properties with the same settings the file is placed in a different place (""http://www.mysite.co.uk/cms/"") and although it appears in the editor it doesn't show in the Resouces Browser. :(
So the task now is to get images uploaded to the same place whichever method is used.
Just to be clear this is my WA_Globals file (config.php is still unmodified)
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/cms/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "Admin" ;
$WAGLOBAL_localRoot = "/cms/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/cms/"; //relative path to your PowerCMS files on your remote server.
//iRite Images upload settings
$WAGLOBAL_Images_Folder = "cms_images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "cms_swf/"; //relative path to your swf folder.
// Admin Settings
$WAGLOBAL_Admin_UserName = "*****" ;
$WAGLOBAL_Admin_Password = "*****" ;