Content / e107 Core / Hashed names for media and system folders

Hashed names for media and system folders

About hashed names for media and system folders

comments: 0
For security reasons, all media and system information are saved in unique subfolders under media and system repositories.

The subfolder name is hashed combination of database name and prefix.

How I find what subfolder is used for my site?


via FTP look inside e107_media folder

8964d8d98788

but with multisite or after reinstalling with new database name it can be harder:

3ff1d6ce40b1

So if you have there more than one folder, go to Admin area, Preferences, File Uploading setting, and last info is about your media folder:

5c190034c17c

What to do after changing the database name or prefix?


A. you need to find what is your new folder and move the content of the old folder to it (media and system folder)

OR

B. you can tell (make) the e107 system to use hash folder set by you

add to config file:

$E107_CONFIG['site_path'] = 'myoldhash';

Check:
18d4fbba4277

Note:

If your images are missing and only placeholders are displayed:
- check hash folder
- check htaccess
- clear cache