Jump to content

Problems with link_rewrite after 1-click upgarde


Recommended Posts

I made a 1-click upgrade from 1.5.2 to 1.5.4 (due to major problems with the display of products in various browser and other things..)

I have only danish set as the primary language.

Now if you try to modify / create a product, I get the following error:

 

The field link_rewrite (English (English)) is invalid.

The field link_rewrite (Português (Portuguese)) is invalid.

The field link_rewrite (Deutsch (German)) is invalid.

The field link_rewrite (Español (Spanish)) is invalid.

The field link_rewrite (Français (French)) is invalid.

The field link_rewrite (Italiano (Italian)) is invalid.

The field link_rewrite (English) is invalid.

 

If I try to duplicate a product the site crashes comletely with the following:

[PrestaShopException]

 

Property Product-> link_rewrite is not valid

at line 874 in file classes / ObjectModel.php

......

 

I do not know if anyone has a viable explanation for these problems?

I have tried changing the SEO so that there is no Danish letters mm, without effect.

User friendly URL has been activated and deactivated, but this is not the problem.

 

1-click upgrade has created a lot more problems than I had with ver. 1.5.2 (which had a lot of bugs).

 

Does anyone have an explanation?

Thanks a lot guys...

Link to comment
Share on other sites

hi Frédéric,

No unfortnutaly there has been no repsonse. I think it's safe to say, that you should keep away from 1-click updates and stick to what you have. I have decided to make install a clean version and move all products and theme over til that clean version. It seems that Prestashop is not as bug free as I'd hoped. Best of luck to you.

Regards,

Loïc / webdisplay

Link to comment
Share on other sites

  • 1 month later...

I get the same error here after updating from 1.5.2 to 1.5.4.1.

  • The link_rewrite field (Português (Portuguese)) is invalid.
  • The link_rewrite field (Deutsch (German)) is invalid.
  • The link_rewrite field (Español (Spanish)) is invalid.
  • The link_rewrite field (Français (French)) is invalid.
  • The link_rewrite field (Italiano (Italian)) is invalid.
  • The link_rewrite field (Catalan) is invalid.
  • The link_rewrite field (Galician) is invalid.

 

Does anyone have any ideas?

Link to comment
Share on other sites

For us, it was beacuse there were Danish letters in the product names. We could create new products with the 3 Danish letters (ÅÆØ) in the title, but not edit existing products. We solved this by creating SQL scripts. Not an easy and simple task, but otherwise effective. An example of the scripts is:

 

Update

ps6_product_lang

set link_rewrite = replace(link_rewrite,'æ','ae')

where link_rewrite like '%æ%'

 

We have encountered numerous other problems asscociated with the 1-click update. The mobile version was also not functioning correctly, so we had to upload a fresh "mobile" folder to the solution. We strongly do not recommend the 1-click update (unless the module has been optimized since we used it last?)

  • Like 1
Link to comment
Share on other sites

Hi and thanks for the answer

 

After some digging we came to the same conclusion but in our case it was the accents in Spanish causing the problem. We are also not able to edit existing products something that was working ok in 1.5.2. Thanks for the tip about the mobile version, we will have to recheck that to see if there are any issues.

 

We also posted a bug report here:

http://forge.prestashop.com/browse/PSCFV-9513

since this is a basic feature that must be working.

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...