Jump to content

500 Server Error after upgrade


Recommended Posts

Hello,


I've upgraded my PrestaShop from 1.5 to 1.6.1.4 and I get "500 Server Error" when loading MyShop. I've already checked the error message by following "Benjamin Utterback"'s article and received this message.


"Current theme unavailable "default". Please check your theme directory name and permissions.


at line 259 in file classes/controller/FrontController.php"


and the line 259 in Red.



259. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\'))))); 

could Somebody help me, please?


 


Thank you so much.


post-1221083-0-74341900-1458602783_thumb.jpg

Link to comment
Share on other sites

So I tried to search in the InterWebz about this problem and it seems the problem is in the themes folder, I deleted the htaccess file but the problem still remains,post-1221083-0-01813600-1458603161_thumb.jpg post-1221083-0-66160400-1458603163_thumb.jpg

I also tried to change the theme but have received this error message:"Duplicate entry '67-0-1' for key 'PRIMARY'".post-1221083-0-81900500-1458602948_thumb.jpg

INSERT INTO `ps_hook_module` (`id_module`, `id_shop`, `id_hook`, `position`)
									VALUES (67, 1, 0, 1)
Link to comment
Share on other sites

It would seem you db for theme is not correct.

 

Here are screen shots of a non-multishop ps_shop and ps_theme tables, the ps_theme name must be located at themes/'theme name'.  for 1.6.1.4 it should be default-bootstrap.  If it just says default that would be from previous version.  Possible you can change ps_theme field name to fix.  Good luck.

 

03.21.2016-21.27.png
http://screencast.com/t/fZ9TGBEk

03.21.2016-21.28.png
http://screencast.com/t/eV7yOV0U

Link to comment
Share on other sites

  • 1 year later...

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...