Pablo Posted December 22, 2017 Share Posted December 22, 2017 Hey guys, I have this issue after i want to change my default themes Current theme unselected. Please check your theme configuration. at line 117 in file config/config.inc.php Any help Please? 112. /* Initialize the current Shop */ 113. try { 114. $context->shop = Shop::initialize(); 115. $context->theme = new Theme((int)$context->shop->id_theme); 116. if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_')) { 117. throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.')); 118. } 119. } catch (PrestaShopException $e) { 120. $e->displayMessage(); 121. } 122. define('_THEME_NAME_', $theme_name); Link to comment Share on other sites More sharing options...
bellini13 Posted December 22, 2017 Share Posted December 22, 2017 Do you want to provide some context as to what you did that lead you to receive this error? Did you perform an upgrade? Did you try to delete your existing theme? Add a new theme? Link to comment Share on other sites More sharing options...
Pablo Posted January 3, 2018 Author Share Posted January 3, 2018 (edited) On 12/22/2017 at 7:53 PM, bellini13 said: Do you want to provide some context as to what you did that lead you to receive this error? Did you perform an upgrade? Did you try to delete your existing theme? Add a new theme? Hi, Sorry for late reply i was trying to add a new theme and still got this issue until now and no idea how to fix this Edited January 3, 2018 by Pablo (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted January 3, 2018 Share Posted January 3, 2018 Perhaps the new theme is not packaged correctly. Perhaps you should seek help from the theme author Link to comment Share on other sites More sharing options...
marpergal Posted July 2, 2019 Share Posted July 2, 2019 I have the same problem. In my case I created a theme by adding the missing files of the theme by default. Now it does not load one topic or another. I work in a local with MAMP and iMac. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now