How to Remove Alternate Storage Directory
Permalink
I experimented with Alternate Storage Directory and would now like to remove the Alternate Storage Directory that I added. I go to File Storage Locations and remove the path and name but when I click Save the path and name come right back.
Is there a way to remove the Alternate Storage Directory?
thank you, Chuck
Is there a way to remove the Alternate Storage Directory?
thank you, Chuck
I can see the default path displayed in the same dialog box where you enter the alternate. I added your line of code but that comes up with a directory that is outside of public_html/hodan where the concrete5 website is located. I put that path in anyway and concrete5 created a /files folder in my website root, outside of the installation. It appears that the default would be hodan/files but when I put that in and check a file in file manager I get the two choices, both the same location. I suppose that is not a big deal but I thought this might possibly be the cause of my issue with images not showing when I edit a content block.
If I knew where to look I would guess that the alternate location could be removed completely using phpMyAdmin Anyone have a hint about that?
If I knew where to look I would guess that the alternate location could be removed completely using phpMyAdmin Anyone have a hint about that?
Sorry, I just tried my trick on a site that is set up off the main domain such as yours is and you would need to add '/hoden' before '/files' since the DOCUMENT_ROOT just gets you to your root.
Yes, I figured that was how it went. I guess it is ok as it is but I still have the option of two storage locations, both pointing to the same place.
Just picky of me I suppose but I would like to remove the second option.
Just picky of me I suppose but I would like to remove the second option.
Found it!
Used phpMyAdmin and found FileStorageLocations then deleted the row that had the name of my Alternate Storage Directory.
No more Alternate Storage Directory!
Used phpMyAdmin and found FileStorageLocations then deleted the row that had the name of my Alternate Storage Directory.
No more Alternate Storage Directory!
Yes, I mentioned this on the other thread we have going on this issue. Remember... one thread per issue.
Glad you sorted it out. There really should be a way to delete old locations through the dashboard.
Glad you sorted it out. There really should be a way to delete old locations through the dashboard.
Cut 'n paste the echoed output into the top box on the Alternate Locations dialog and see what happens.