gorki75 Posted October 8, 2016 Share Posted October 8, 2016 Hello, my friendly URL disappeared option SETTING THE LINKS Do not know how to fix it Help Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted October 8, 2016 Share Posted October 8, 2016 Odd, did you upgrade? PrestaShop version? Link to comment Share on other sites More sharing options...
gorki75 Posted October 8, 2016 Author Share Posted October 8, 2016 (edited) Odd, did you upgrade? PrestaShop version? If you upgrade to 1.6.17 yesterday, I thought it would be fine, but remains the same He has also disappeared "FORMAT OF LINKS", which is below Edited October 8, 2016 by gorki75 (see edit history) Link to comment Share on other sites More sharing options...
gorki75 Posted October 8, 2016 Author Share Posted October 8, 2016 this is a very serious problem for me, I now links appear, ....... index.php? id_product = 4002804 & controller = product & id_lang = 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 8, 2016 Share Posted October 8, 2016 using phpmyadmin open table ps_configuration look for PS_REWRITING_SETTINGS if not present then add it, value = 0 no friendly 1 friendly hope that helps. Link to comment Share on other sites More sharing options...
gorki75 Posted October 8, 2016 Author Share Posted October 8, 2016 using phpmyadmin open table ps_configuration look for PS_REWRITING_SETTINGS if not present then add it, value = 0 no friendly 1 friendly hope that helps. Thanks El Patron, PS SETTINGS REWRITING had the value = 0, I changed to value = 1 But continuous equal "Friendly URL" does not appear Link to comment Share on other sites More sharing options...
El Patron Posted October 8, 2016 Share Posted October 8, 2016 Thanks El Patron, PS SETTINGS REWRITING had the value = 0, I changed to value = 1 But continuous equal "Friendly URL" does not appear I have never seen this issue so like others, this is difficult to diagnosis from afar. maybe there is bug that would be exposed if you enable ps debug mode. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
gorki75 Posted October 8, 2016 Author Share Posted October 8, 2016 I have never seen this issue so like others, this is difficult to diagnosis from afar. maybe there is bug that would be exposed if you enable ps debug mode. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ in debug mode does not let me to backoffice, attached image Link to comment Share on other sites More sharing options...
rocky Posted October 9, 2016 Share Posted October 9, 2016 It seems you have an override that is not compatible with your PrestaShop version. Make sure the getCategoryLink function in override/classes/Link.php looks like this: public function getCategoryLink($category, $alias = null, $id_lang = null, $selected_filters = null, $id_shop = null, $relative_protocol = false) You may also need to adjust a parent::getCategoryLink call if the override calls the parent function. 1 Link to comment Share on other sites More sharing options...
gorki75 Posted October 9, 2016 Author Share Posted October 9, 2016 It seems you have an override that is not compatible with your PrestaShop version. Make sure the getCategoryLink function in override/classes/Link.php looks like this: public function getCategoryLink($category, $alias = null, $id_lang = null, $selected_filters = null, $id_shop = null, $relative_protocol = false) You may also need to adjust a parent::getCategoryLink call if the override calls the parent function. in line missing relative ..... $ protocol = false) Now if I can access the debug mode backoffice Thank you Link to comment Share on other sites More sharing options...
gorki75 Posted October 9, 2016 Author Share Posted October 9, 2016 I have an error...... Warning: Illegal offset type in isset or empty in /home/ge1tuy8t/public_html/classes/Tools.php on line 1397 Link to comment Share on other sites More sharing options...
El Patron Posted October 9, 2016 Share Posted October 9, 2016 I can take a closer look at it today if you would like. I've pm'ed you for access. Link to comment Share on other sites More sharing options...
El Patron Posted October 9, 2016 Share Posted October 9, 2016 in AdminMetaController, and I had forgot about this, there is call to Tools.php/modRewriteActive() This check is failing on your server, i.e. existence of mod_rewrite enabled, so the option to display Friendly URL is not presented. Here the check obviously returns false and you do not see Friendly URL. However when I visit your shop I do see Friendly URL's. Other observations: back office-->advanced-->performance These should be enabled CCC (COMBINACIÓN, COMPRESIÓN Y CACHE) You have on performance page also set 'disable 3rd party modules'. 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