pekos Posted June 4, 2016 Share Posted June 4, 2016 Can anyone explain why i cannot use the word "accessories" as a title for a product category? When i give this name to a category then i get a blank page (not 404). When i change the title of this category to something else then it shows up. I don't know if the following makes it easier or harder to understand, the translated word to greek used as the title of the category in greek, produces the same error. Anyone knows if this is normal behavior or I have a setting in my configuration that prevents the word "accessories" from being use as a title for a category? Regards Link to comment Share on other sites More sharing options...
shokinro Posted June 4, 2016 Share Posted June 4, 2016 I do not think it should affect, you should be able to use any category name. I also just tried at our development environment, it seems working fine when I changed one of category to "accessories". It works fine both at back office and front store. Link to comment Share on other sites More sharing options...
rocky Posted June 5, 2016 Share Posted June 5, 2016 Edit config/defines.inc.php and change '_PS_DEV_MODE_' from false to true. You should then get an error message instead of a blank page. Paste the error here and it may help us find the problem. Link to comment Share on other sites More sharing options...
pekos Posted June 5, 2016 Author Share Posted June 5, 2016 Hi this is what I get: Strict Standards: Declaration of Link::getCategoryLink() should be compatible with LinkCore::getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) in /var/www/vhosts/pekos.gr/trans-hellas.com/override/classes/Link.php on line 0 Link to comment Share on other sites More sharing options...
pekos Posted June 5, 2016 Author Share Posted June 5, 2016 Hi I just show that this message comes to all other pages above the header, so i don't think this warinng is related to my problem. I am running php version 5.6 Regards Link to comment Share on other sites More sharing options...
shokinro Posted June 6, 2016 Share Posted June 6, 2016 The error message tells you that class method signature override of class Link.php does not match. This might be the cause of the issue, please try to fix the error and see if it will fix your issue. You can replace the signature of method getCategoryLink() with following line in file /override/classes/Link.php public function getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) 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