-
- 708 Posts
I've read other threads pertaining to this problem but the suggested solutions haven't worked for me. I'm sure it's something simple (still new to MODX).
I moved a site from the local server to the remote and everything went fine except that the 'Files' tab in the Doc Tree only shows an empty folder named 'Media'. Not sure if it's a setting I missed or something else. I'm using Revo 2.2.4
Thanks
[ed. note: todd.b last edited this post 11 years, 10 months ago.]
Todd
-
- 141 Posts
Have you checked the folder permissions are set right? One possibility is the filepaths have changed after the move and need to be updated in the config.php file. Did you run setup again after you moved?
-
- 24,544 Posts
First, check the path in the modx_workspaces table in the DB with PhpMyAdmin (through cPanel or the equivalent).
Try going to Tools -> Media Sources. Right-click on the FileSystem Media Source and select Update Media Source. Check the settings. Usually, the basePath and baseUrl are empty and both are set to 'relative'.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
- 708 Posts
Also, this problem doesn't exist with a clean install so it has to do with moving between servers.
Sure would like to get this fixed.
Todd
-
- 708 Posts
Something else I noticed: If I'm on either the Resources or Elements tab and click over to the Files tab the disclosure triangle for the Media folder is visible for just a second before it disappears.
I also did a clean install but imported the old db into the new install yet the Files tab is still empty save for the Media folder.
Todd
-
- 24,544 Posts
Quote from: todd.b at Jun 30, 2012, 07:47 PM
Hi Bob,
The modx_workspaces path shows
The basePath and baseUrl are indeed empty. See screenshot http://tinyurl.com/76mxwn4. Are you saying I should set it to 'relative'?
The Workspaces value is probably correct, although my install has the path to the core hard-coded (/home/username/public_html/core/).
Your Media Source looks fine too -- I meant to set relative to 'Yes' which is is.
When you say nothing shows up but the Media folder -- that's normal -- when you expand the media folder by clicking on it, you should see the /core and /manager folders (among others). Does that not happen?
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html