Jump to content
gray

The link_rewrite field is invalid. On all category descriptions

Recommended Posts

The link_rewrite field is invalid. On all category descriptions.

I get this on PS1.7.5 and on 1.7.6.

Any ideas plz.

Share this post


Link to post
Share on other sites

Strange, it shouldn't be tied to the description. What does the field look like? Can you take a screenshot?

Share this post


Link to post
Share on other sites

Hi - Sorry about the delay in responding. But typically the link-rewrite field is

pecan-seeds

please note that there is always a space after the last word.

All of the category fields are of the same format.

When I try to delete the space in the database or on the category page, I get the following error

Property Category->link_rewrite is not valid

In checking the link-rewrite field of any product, it is the same format as above but with no space at the end, and that works fine.

Share this post


Link to post
Share on other sites

well, a space is not allowed as it cannot be part of the url. Does the category title contain a space at the end? It would be worth checking and removing it if so, it might be auto generating it

Share this post


Link to post
Share on other sites

Hi ya - thanks for getting back. I checked the actual category titles, and they is OK.

But

In the good old days of PS 1.4 and my naivety, I had setup PS with the US language, not knowing any different.

In checking back through my archives I found that this extra space in the link-rewrite was always there.

Along the way I found I should have been using the GB language. I then created the GB language. This then compounded the problem, by doubling the amount of faulty category link-rewrites.

For some reason PS has accepted this problem, until PS 1.7.5

I now have to go into the mysql database and delete US category link-rewrite extra space and the GB category link-rewrite extra space. Then using the PS admin /categories (GB language) I can change anything with no errors being thrown.

Not sure how the space got there in the first place.

Edited by gray
clarity (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More