cancel
Showing results for 
Search instead for 
Did you mean: 

/** * Application entry point * * Example - run a particular store or website: * -------------------

/** * Application entry point * * Example - run a particular store or website: * -------------------

/** * Application entry point * * Example - run a particular store or website: * -------------------------------------------- * require __DIR__ . '/app/bootstrap.php'; * $params = $_SERVER; * $params[\Magento\Store\Model\StoreManager:Smiley TongueARAM_RUN_CODE] = 'website2'; * $params[\Magento\Store\Model\StoreManager:Smiley TongueARAM_RUN_TYPE] = 'website'; * $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $params); * \/** @var \Magento\Framework\App\Http $app *\/ * $app = $bootstrap->createApplication(\Magento\Framework\App\Http::class); * $bootstrap->run($app); * -------------------------------------------- * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ try { require __DIR__ . '/app/bootstrap.php'; } catch (\Exception $e) { echo <<

Autoload error

{$e->getMessage()}

HTML; exit(1); } $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); /** @var \Magento\Framework\App\Http $app */ $app = $bootstrap-

 

>createApplication(\Magento\Framework\App\Http::class); $bootstrap->run($app);

 

apache 2.4.39

php 7.2.18

magento 2.3.2

Thank you in advance

1 REPLY 1

Re: /** * Application entry point * * Example - run a particular store or website: * ---------------

Hello @gloria_ lozinsk 

Is it a multistore/mutli website setup?

If yes then please Make sure you have followed all the points mentioned in blog tutorial related to setup, one of them you can find here

https://www.dckap.com/blog/how-to-setup-multiple-stores-in-magento2/

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now