Migrated to a new server and my server path has changed.
I changed the path in all the file upload preferences etc. but Pixel and Tonic Assets seems to want to hold on to the original path.
If I look at the database in MySQL, the old paths are there. When I go to Assets and hit "Update" indexes", nothing happens and the button gets greyed out. When I go to the Assets file manager there are no files. Just the spinning icon to the right.
So I figured I would just change the paths in the
config.php file as such:
$config['upload_preferences'] = array( 6 => array( // ID of upload destination 'name' => 'Homepage Images', // Display name in control panel 'server_path' => '/home/content/02/xxxxxxxxx/html/images/uploads/homepage/', // Server path to upload directory 'url' => 'http://www.xxxxxxxxx.com/images/uploads/homepage/' // URL of upload directory ), 5 => array( // ID of upload destination 'name' => 'Images', // Display name in control panel 'server_path' => '/home/content/02/xxxxxxxxx/html/images/', // Server path to upload directory 'url' => 'http://www.xxxxxxxxxxxxx.com/images/' // URL of upload directory ) );
But that does not seem to help either. There are a lot of files. Do I just need to leave it on the Assets file manager page and wait for the spinning icon to stop?