LaurentiuA Posted December 25, 2014 Share Posted December 25, 2014 Hello, I have done an upgrade from 1.4 to 1.6 but may shop wont work. Please help me with the following issue. [PrestaShopException] Current theme unavailable "prestashop". Please check your theme directory name and permissions.at line 176 in file classes/controller/FrontController.php 173. /* Theme is missing */174. if (!is_dir(_PS_THEME_DIR_))175. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\'))))); 176. FrontControllerCore->init - [line 163 - classes/controller/Controller.php] 157. /**158. * Start controller process (this method shouldn't be overriden !)159. */160. public function run()161. {162. $this->init();163. if ($this->checkAccess())164. {165. // setMedia MUST be called before postProcess166. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))167. $this->setMedia(); ControllerCore->run - [line 373 - classes/Dispatcher.php]367. // Execute hook dispatcher368. if (isset($params_hook_action_dispatcher))369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370. 371. // Running controller372. $controller->run();373. }374. catch (PrestaShopException $e)375. {376. $e->displayMessage();377. } DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
tuk66 Posted December 28, 2014 Share Posted December 28, 2014 "prestashop" is the old 1.4 theme. You should switch to a 1.6 theme (default-bootstrap). 1 Link to comment Share on other sites More sharing options...
kirubanidhi Posted July 14, 2017 Share Posted July 14, 2017 (edited) I have the same issue. please let me know the correct solution of this problem. I am migrated prestsahop 1.5.6 version to 1.6.1 version. Migrated complete properly . Backoffice working correctly but front office not working its getting the "Current theme default unavailable ". Set yes Disable non-native module set yes upgrade the default theme Edited July 14, 2017 by kirubanidhi (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 15, 2017 Share Posted July 15, 2017 in the back office, visit the Themes page and ensure the "default bootstrap" theme is selected and enabled. Link to comment Share on other sites More sharing options...
kirubanidhi Posted July 17, 2017 Share Posted July 17, 2017 (edited) I am migrated prestsahop 1.5.6 version to 1.6.1 version. Migrated complete properly . I am selected "default-bootstrap" theme in back-office. I clicked to "save" button its getting below error. INSERT INTO `ps_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) VALUES (68, 1, 0, 1) How to resolve it. Edited July 17, 2017 by kirubanidhi (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 17, 2017 Share Posted July 17, 2017 That is not an error. That is a normal SQL insert statement, which is adding a new module position. Link to comment Share on other sites More sharing options...
kirubanidhi Posted July 17, 2017 Share Posted July 17, 2017 (edited) okay. Thanks belIini, I have one doubt. I am using 1-click upgrade module. Let me know If it is possible to migrate prestashop multi-store shop. Edited July 17, 2017 by kirubanidhi (see edit history) Link to comment Share on other sites More sharing options...
kirubanidhi Posted July 18, 2017 Share Posted July 18, 2017 (edited) I am migrated prestashop 1.5.6 to 1.6.1 version. Migrated work successfully done. I am going to check back-office and its working fine. Then checking front-office its getting some error. Error: Fatal error: Undefined class constant 'ONLY_HAZMAT' in /var/www/html/cy_prestashop/override/classes/Cart.php on line 241 Fatal error: Undefined class constant 'ONLY_POISON' in /var/www/html/cy_prestashop/override/classes/Cart.php on line 241 Fatal error: Undefined class constant 'ONLY_Refrigerated' in /var/www/html/cy_prestashop/override/classes/Cart.php on line 241 How to resolve it. Edited July 18, 2017 by kirubanidhi (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 18, 2017 Share Posted July 18, 2017 you have overrides installed, which is a customization to your store. You need to figure out what module installed these, and likely either remove them or locate an upgrade to them that will work properly with PS v1.6 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