Jump to content

Problem with multisite: second store url show blank page


arsse

Recommended Posts

Hello.

I did not know where should post this problem therefore i posted in this sub-forum.

I have installed prestashop 1.7.7.5.

I create 2 shop by enabling multistore.

Main shop show properly to customers but second shop always blank white.

I enabled dev and see this message when use url of second shop in browser:

 


Whoops, looks like something went wrong.
(1/1) ContextErrorException

Notice: Trying to get property 'precision' of non-object
in Context.php line 467
at ContextCore->getComputingPrecision()in Cart.php line 2164
at CartCore->getOrderTotal(false, 1)in CartPresenter.php line 327
at CartPresenter->present(object(Cart))in FrontController.php line 501
at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 567
at FrontControllerCore->initContent()in IndexController.php line 37
at IndexControllerCore->initContent()in Controller.php line 306
at ControllerCore->run()in Dispatcher.php line 518
at DispatcherCore->dispatch()in index.php line 28

I check it with PHPs 7.0 to 7.4 all show blank page.

Please help.

Link to comment
Share on other sites

4 hours ago, Zohaib-fk said:

Hi,

I hope below demo video help "PrestaShop how to enable multi-store and add multiple shops on version 1.5,1.6 and 1.7"

 

 

Thanks a lot.

Your Help is very useful and i only cloud create multi shop with virtual url when i created a group for each store.

But now i see other problem.

1- new shop theme is not work and only text without style is shown.

2- after i click on admin>theme section it not work and show me this:

The page isn’t redirecting properly

An error occurred during a connection to shop.mydomain.com.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

Edited by arsse (see edit history)
Link to comment
Share on other sites

Problem solved:

1) for creating multi store we must create a group for each shop like our friend shown in film above.

 

2) for:

But now i see other problem.

1- new shop theme is not work and only text without style is shown.

2- after i click on admin>theme section it not work and show me this:

The page isn’t redirecting properly

An error occurred during a connection to shop.mydomain.com.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

Problem was about session saving. we must check config of session saving on server: (save in file, or memcache or memcached or radis or ...) this configuration is in PHP configuration in some host control panel.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...