I have a subdomain “dev.” where the site was working fine. I then created a new subdomain on the same server called “staging” and copied all my site files from dev into that. I also created a new database for staging and imported everything from dev into that.
I followed the migration instructions as I always do, exactly. https://docs.expressionengine.com/v2/operations/moving.html
Updated all paths, etc. But for some reason, none of the images show on the site that were uploaded to directories. All of the images exist in their appropriate folders on “staging.”
However, there is nothing in my file upload preferences and nothing in my file manager. It’s as if everything disappeared.
If I try to recreate an upload directory in file upload prefs, i get this error “An Error Was Encountered The name of your directory is already taken.”
Also, when I looked in the exp_files table in the db, all the rel_paths still have the “dev” name associated with it.
I checked and re-checked everything, all my paths are correct in config, all of my directories have the correct permissions. I’m at a loss at this point.
EE 2.11.2 on a Windows Server.
I never work on a windows server with EE, but in this instance I had to. It has been nothing but a pain. Any help in the right direction is much appreciated at this point.