mgo3 Posted November 10, 2015 Share Posted November 10, 2015 Hello, I've upgrade my prestashop www.rocaynieve.com from 1.5 to 1.6 and I get "500 Server Error" when loading the web. I've already activate the web. Somebody could help me please? Thank you so much. Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2015 Share Posted November 10, 2015 Switch in error reporting it may help identify the issue Log into your hosting admin dashboard, control panel, SSH, or FTP client. Navigate to the PrestaShop 1.5/1.6 root folder. From there, navigate the path /config/defines.inc.php Open up the defines.inc.php file in your preferred text editor. Find the line of code that reads “define(‘_PS_MODE_DEV_’,false);“ This is line 28 by default as of PrestaShop 1.5.6 Change it to read “define(‘_PS_MODE_DEV_’,true);“ Save the defines.inc.php file back to the path, overwriting the existing file if needed Link to comment Share on other sites More sharing options...
mgo3 Posted November 10, 2015 Author Share Posted November 10, 2015 (edited) Thank you so much haylau, that's the result: [PrestaShopException]Tema actual no disponible "default". Por favor verifique el nombre del directorio de temas y licencias.at line 259 in file classes/controller/FrontController.php 254. Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));255. }256.257. /* Theme is missing */258. if (!is_dir(_PS_THEME_DIR_)) {259. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));260. }261.262. if (Configuration::get('PS_GEOLOCATION_ENABLED')) {263. if (($new_default = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($new_default)) {264. $this->context->country = $new_default; FrontControllerCore->init - [line 170 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] I've tried to change my current theme but I take this error message: INSERT INTO `ps_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) VALUES (110, 1, 0, 1) Thank you so much. Edited November 10, 2015 by mgo3 (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2015 Share Posted November 11, 2015 Is your current theme 1.6 compliant? Have you checked the folders: is the them actually there and in the right place? Have you tried reverting to the default them? Link to comment Share on other sites More sharing options...
mgo3 Posted November 14, 2015 Author Share Posted November 14, 2015 I'm using default theme. Link to comment Share on other sites More sharing options...
mattwilkie Posted January 9, 2016 Share Posted January 9, 2016 I have the same issue from updating from 1.4 backend works but can't get it to swap out the theme. When you try to change it to the new "default" that came with updating to 1.6 I get this error and it refuses to update to the default theme for 1.6 Duplicate entry '10-0-1' for key 'PRIMARY' INSERT INTO `ps_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`) VALUES (10, 1, 0, 1) Link to comment Share on other sites More sharing options...
mattwilkie Posted January 9, 2016 Share Posted January 9, 2016 Reply SOLVED IT - What I needed to do was reload the old theme into the Themes folder so it recognised there was an "existing". As it seems when it removed it on the auto update that Prestashop was locked into the original theme I had on 1.4 but it had removed it so couldn't default to the new theme. Now once it recognises your old theme in the backend just go to Preferences>Themes> Advanced Settings (Top right of your theme). Now you will see an option of your old "default" theme or choosing the new default-bootstrap so just swap them over and it will load the new theme and get rid of the bug. Link to comment Share on other sites More sharing options...
Nyla C. Posted January 15, 2016 Share Posted January 15, 2016 Did you ever find a solution to your problem? Hello, I've upgrade my prestashop www.rocaynieve.com from 1.5 to 1.6 and I get "500 Server Error" when loading the web. I've already activate the web. Somebody could help me please? Thank you so much. 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