Jump to content

failed upgrade 1.6


Recommended Posts

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

  • 2 years later...

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 by kirubanidhi (see edit history)
Link to comment
Share on other sites

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 by kirubanidhi (see edit history)
Link to comment
Share on other sites

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 by kirubanidhi (see edit history)
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...