Jump to content

Property Product->link_rewrite is not valid - After updating 1.6.1.13


antoniobaby78

Recommended Posts

Hello to all,
After updating prestashop to the version 1.6.1.13
I'm getting many errors in product modification.
Here are the errors I receive:
3 errors
The link_rewrite (Italian) field is invalid.
The product must be in at least one category.
This product must be in at least one default category.
In particular, I always get this error: Property Product->link_rewrite is not valid
Can anyone help me please?
I also tried to change the name of the product but I will not be able to save it because I always get the same error:
Property Product->link_rewrite is not valid

 

Link to comment
Share on other sites

In Prestashop 1.6 the product page consists technically out of different pages (each tab is loaded seperately). In each page you can have an error while the other pages keep functioning. If that is the case you will get an error on submission because the pages with an error will not submit their values.

 

So the first step should be to check whether the SEO page (link_rewrite) and the Associations page (categories) are loaded correctly. 

 

Also, you should switch on MOD_DEV so that you can see error messages. See 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

Hello,

In debug mode i see nothing.

But in the console with the F12 key I see this error:


 

Uncaught ReferenceError: tinyMCE is not defined

    at tinySetup (tinymce.inc.js:136)

    at index.php?controller=AdminProducts&id_product=2&updateproduct&token=21e3d61…:1788

    at ProductTabsManager.onLoad (products.js:87)

    at HTMLDocument.<anonymous> (index.php?controller=AdminProducts&id_product=2&updateproduct&token=21e3d61…:1787)

    at j (jquery-1.11.0.min.js:2)

    at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2)

    at Function.ready (jquery-1.11.0.min.js:2)

    at HTMLDocument.K (jquery-1.11.0.min.js:2)

 

In fact I noticed that it does not work either editor tinyMCE

Any page I go does not work tinyMCE

Link to comment
Share on other sites

Sounds like a javascript error - possibly caused by a php error that resulted in bad returns from an Ajax command.

 

So: 

 - check the error logs of your server

 - switch off the CCC optimizations. Specially the moving javascript to the bottom of the page can be problematic.

Link to comment
Share on other sites

  • 5 months later...

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