Jump to content

Prestashop 1.7.1.2 Internal server error 500


rrr321

Recommended Posts

Hello, when i try to use product filtering in category with layered navigation module i always get Internal server error 500 while debug mode is on. When debug mode is turned off its working, but generate errors in error log : 

 

Trying to get property of non-object in /myshopurl/presta10/app/cache/prod/smarty/compile/50/e9/2d/50e92d95ea5a043aab2d01bda8651db1d4578243.file.products.tpl.php on line 139

 

Trying to get property of non-object in /myshopurl/app/cache/prod/smarty/compile/50/e9/2d/50e92d95ea5a043aab2d01bda8651db1d4578243.file.products.tpl.php on line 136

 

Undefined index: configuration in /myshopurl/app/cache/prod/smarty/compile/50/e9/2d/50e92d95ea5a043aab2d01bda8651db1d4578243.file.products.tpl.php on line 235

 

Im using custom theme, when i use the default classic theme there is no errors and all filter working.

 

What files do i need to mod in my custom theme to get it working without errors ?

 

Thanks for reply.

Link to comment
Share on other sites

First of all, in 1.7x it is called Faceted Search instead of  

I think your custom theme is not compatible with PrestaShop 1.7x or at least the files related to the modules.

 

Maybe your theme override the module and module theme files.

You can try to copy it from default theme to see if it works, otherwise you need talk to your theme developer.

 

/themes/classic/modules/ps_facetedsearch/*

 

to 

 

/themes/YourTheme/modules/ps_facetedsearch/*

 

Link to comment
Share on other sites

OK, now I´m getting desperate. I can´t access the admin-page at all. I only get the message in browser "HTTP Error 500".

How can I make any changes, how can I fix this, when I can't access anything?

 

Most grateful for som very simple, step-by-step instruktions.

Thank you

 

T

Link to comment
Share on other sites

First of all, in 1.7x it is called Faceted Search instead of  

I think your custom theme is not compatible with PrestaShop 1.7x or at least the files related to the modules.

 

Maybe your theme override the module and module theme files.

You can try to copy it from default theme to see if it works, otherwise you need talk to your theme developer.

 

/themes/classic/modules/ps_facetedsearch/*

 

to 

 

/themes/YourTheme/modules/ps_facetedsearch/*

Hello, i tried to uninstall facetedsearch module and delete the ps_facetedsearch folder from presta modules and theme modules folder and reinstall, but it's not working.

Link to comment
Share on other sites

I do not know if you need to uninstall or delete the original faceted search module, since the override module might be still depend on this. It total depend on implementation of the override module - what I suggested is to copy the original one to your theme if it is applicable.

Link to comment
Share on other sites

I do not know if you need to uninstall or delete the original faceted search module, since the override module might be still depend on this. It total depend on implementation of the override module - what I suggested is to copy the original one to your theme if it is applicable.

The file in the classic theme is the same.

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