Closed lmeyer1 closed 3 years ago
This seems like mysterious: how can the class
Tools
be missing ? The file is there insclasses\Tools.php
. I also deletedvar\cache\prod\class_index.php
, but this does not help either.
The file being there is not enough. By Uncaught Error: Class 'Tools'
what PHP is telling you is rather "I was not able to load this class" so the issue seems to come from autoload.
I made a second installation, the error does not reproduce now, but the garbled design in the FO does.
Bug
The two themes classic
and classic-rocket
cannot be used simultaneously in two different stores of a multistore environment.
How to reproduce
classic-rocket
themeclassic-rocket
themeclassic
displays correctly, but the store with classic-rocket
displays garbled.classic-rocket
on the other storeScreenshots This is what displays garbled means for me:
I'm not sure that tis is a bug with classic-rocket theme ore with core Prestashop. I nevertheless post this issue here. Crossposted from https://www.prestashop.com/forums/topic/1029665-unable-to-switch-template-for-a-single-store-in-a-multistore-setup/
I have a clean installation of 1.7.6.7. I added the classic-rocket theme under Appearance - Theme - Add a theme. I have multistore enabled, and just two basic stores.
When I go into single store context, and then switch the theme only for this store, I get a Error 500, and afterwards, the FO of the two shops doesn't display correctly due to wrong/mixed CSS getting loaded.
The details of the error are here:
This seems like mysterious: how can the class
Tools
be missing ? The file is there insclasses\Tools.php
. I also deletedvar\cache\prod\class_index.php
, but this does not help either.