Extra Characters added when inserting value
-
I have a huge problem and I am not sure how to fix it. I have found your tool very useful but I have an issue that doesn’t want to cooperate.
I am trying to use your bulk edit tool to change the cmsms_custom_breadcrumbs field. Its a breadcrumb issue.
I use the tool to sort by category, let’s say MK Patterns.I put in the custom feild name: cmsms_custom_breadcrumbs
Then I put the value, which I did by hand for this category.
a:3:{i:1;a:2:{i:0;s:21:”Knitters Edge Members”;i:1;s:42:”https://knittersedge.jsullivan.net/members/”;}i:2;a:2:{i:0;s:21:”Machine Knitting Room”;i:1;s:64:”https://knittersedge.jsullivan.net/members/machine-knitting-room/”;}i:3;a:2:{i:0;s:25:”Machine Knitting Patterns”;i:1;s:90:”https://knittersedge.jsullivan.net/members/machine-knitting-room/machine-knitting-patterns/”;}}
But the bulk tool inserts the following:
s:371:”a:3:{i:1;a:2:{i:0;s:21:”Knitters Edge Members”;i:1;s:42:”https://knittersedge.jsullivan.net/members/”;}i:2;a:2:{i:0;s:21:”Machine Knitting Room”;i:1;s:64:”https://knittersedge.jsullivan.net/members/machine-knitting-room/”;}i:3;a:2:{i:0;s:25:”Machine Knitting Patterns”;i:1;s:90:”https://knittersedge.jsullivan.net/members/machine-knitting-room/machine-knitting-patterns/”;}}”;At the beginning of the string it adds this: s:371:”
At the end it adds this: “;If I go in via phpmyadmin and edit it manually to the correct string it works.
I notice when I look at the db structure via phpmyadmin I see the queries are converting it to utf8 for my view.
Could it have something to do with that?If I knew how to write the correct sql query to define the category (like the bulk edit tool) and how to pull the cmsms_custom_breadcrumbs I might be able to do it in mysql instead of the tool.
I have a ton of pages to do this on and manually isnt’ really an option.
I hope you can help me figure out why it’s adding the extra text.
- The topic ‘Extra Characters added when inserting value’ is closed to new replies.