Jump to content

friendly Url - error


gorki75

Recommended Posts

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

 

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

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

post-732358-0-01976800-1475957167_thumb.png

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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

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

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