rrr321 Posted June 23, 2017 Share Posted June 23, 2017 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 More sharing options...
shokinro Posted June 24, 2017 Share Posted June 24, 2017 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 More sharing options...
Tompa75 Posted June 24, 2017 Share Posted June 24, 2017 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 More sharing options...
shokinro Posted June 25, 2017 Share Posted June 25, 2017 Please try to enable DEV mode by setting _SP_MOD_DEV_ to true in following file /config/defines.inc.php You should see more detailed error messages in DEV mode, so you will know where is the problem. Link to comment Share on other sites More sharing options...
rrr321 Posted June 26, 2017 Author Share Posted June 26, 2017 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 More sharing options...
shokinro Posted June 26, 2017 Share Posted June 26, 2017 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 More sharing options...
rrr321 Posted June 26, 2017 Author Share Posted June 26, 2017 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 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