• Jimako
    Main Admin
    Posts: 359
    Joined: 1 year ago
    Thu May 25 2017, 09:27  Jimako

    If you need to install e107 without prefix or with different prefixs, you can do it after installation in e107_config.php or before installation.  If you prefer later option, you need:

    BEFORE

    - rewrite folder's names

    - open install.php and change 2 lines (look for e107_handlers and e107_admin) 

    $HANDLERS_DIRECTORY  = "e107_handlers/"; // needed for e107 class init
    require_once("e107_admin/ver.php");

    - open e107_class.php in you new handlers folder, find public function defaultDirs()  and change directory names there

    Run installation process.

    If your installation screen looks bad, it means you forgot to change something. (blank page - e107_handler, bad look - e107_themes folder etc)

    AFTER

    After installation open .htaccess file and change e107_images and e107_files.  Of course delete install.php.

    Next core update is not problem, because after installation e107 works with configuration in e107_config.php.

  • Jimako
    Main Admin
    Posts: 359
    Joined: 1 year ago
      

    Just note. If you want to change folder name after installation, you need to add this to e107_config.php:

    $CORE_DIRECTORY = 'core/';
    $WEB_DIRECTORY = 'web/';

    And of course, changing .htaccess and then to get new hash folders in media and system folder (resave prefs and clear cache).

  • Jimako
    Main Admin
    Posts: 359
    Joined: 1 year ago
    Wed Jun 02 2021, 14:23  Jimako

    Update for 2.3.1 

    - classic installation (from github)

    - renamed all folders (deleted e107_tests folder)

    - changed e107_ prefix in .htaccess (2x)

    - changed e107_config.php:

    •   removed prefix e107_ 
    •   added  $CORE_DIRECTORY = 'core/';

    Log in, check everything. Not working avatar is first sign that something is wrong.

    With this installation and changes above - no issues. 

    EDIT: Else this is needed, but you find this only after log in to admin area:

    $WEB_DIRECTORY = 'web/';