Tabs have disappeared
-
Hello,
I have added tabs to over 2000 products.
All had the same name (Referenz), but different content.
I renamed all the tabs in the database from “Referenz” to “Entspricht” (German).
Now no more tab is displayed. Not in the frontend and also not in the products in the admin.
I renamed it back but nothing happened.Could you plkease help me?
-
Hi @edmtec,
Due to the way we save the custom tabs (i.e. a serialized array), changing any property directly in the database will corrupt the tabs. However, changing the name back should have fixed the issue.
Did you run any other search and replaces on the tabs directly from the database?
Can you copy one of your product’s tabs directly from the database (i.e. the full value of
yikes_woo_products_tabs
) and paste it here? I’d like to figure out what is going wrong with the serialization and see if I can fix it.Thank you,
Kevin.I changed it directly in the database. I changed the names back but it did not work.
Some are visible now but some not.Did you run any other search and replaces in your database that may have affected the tabs?
no. What does the number of signs mean: content”;s:281:”
I count the signs but it is not correct. Does ist have an effect?
s:281
means the following value should be a string with 281 characters.Can you send me a full value of one of these serialized strings?
-
This reply was modified 6 years, 4 months ago by
yikesitskevin.
a:1:{i:0;a:3:{s:5:\”title\”;s:30:\”[:de]Referenz[:en]Reference[:]\”;s:2:\”id\”;s:16:\”technische-daten\”;s:7:\”content\”;s:1035:\”[:de]<table>
<tbody>
<tr>
<td>Maschinentyp</td>
<td>
<div>FANUC, MATRA, SODICK
</div></td>
</tr>
<tr>
<td>Anwendung</td>
<td>Drahterodieren</td>
</tr>
<tr>
<td>Abmessungen</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filterfeinheit</td>
<td>15 μm</td>
</tr>
<tr>
<td>Anstr?mung</td>
<td>von innen</td>
</tr>
<tr>
<td>Filterfl?che</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Differenzdruck</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Papierflies</td>
</tr>
</tbody>
</table>[:en]<table>
<tbody>
<tr>
<td>Machine type</td>
<td>
<div>FANUC, MATRA, SODICK</div></td>
</tr>
<tr>
<td>Use</td>
<td>Wire EDM</td>
</tr>
<tr>
<td>Size</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filter density</td>
<td>15 μm</td>
</tr>
<tr>
<td>Flow</td>
<td>from inside</td>
</tr>
<tr>
<td>Filter Area</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Pressure diffenrential</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Paper</td>
</tr>
</tbody>
</table>
[:]\”;}}”Can you re-send that formatted with the
code
tags? The HTML is being interpreted by the browser so I can’t properly copy it.-
This reply was modified 6 years, 4 months ago by
yikesitskevin.
-
This reply was modified 6 years, 4 months ago by
yikesitskevin.
INSERT INTO
wp_postmeta
VALUES (“83438″,”4093″,”yikes_woo_products_tabs”,”a:1:{i:0;a:3:{s:5:\”title\”;s:30:\”[:de]Referenz[:en]Reference[:]\”;s:2:\”id\”;s:16:\”technische-daten\”;s:7:\”content\”;s:1035:\”[:de]<table>
<tbody>
<tr>
<td>Maschinentyp</td>
<td>
<div>FANUC, MATRA, SODICK
</div></td>
</tr>
<tr>
<td>Anwendung</td>
<td>Drahterodieren</td>
</tr>
<tr>
<td>Abmessungen</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filterfeinheit</td>
<td>15 μm</td>
</tr>
<tr>
<td>Anstr?mung</td>
<td>von innen</td>
</tr>
<tr>
<td>Filterfl?che</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Differenzdruck</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Papierflies</td>
</tr>
</tbody>
</table>[:en]<table>
<tbody>
<tr>
<td>Machine type</td>
<td>
<div>FANUC, MATRA, SODICK</div></td>
</tr>
<tr>
<td>Use</td>
<td>Wire EDM</td>
</tr>
<tr>
<td>Size</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filter density</td>
<td>15 μm</td>
</tr>
<tr>
<td>Flow</td>
<td>from inside</td>
</tr>
<tr>
<td>Filter Area</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Pressure diffenrential</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Paper</td>
</tr>
</tbody>
</table>
[:]\”;}}”);Use backticks or the
code
button around the whole thing please-
This reply was modified 6 years, 4 months ago by
yikesitskevin.
-
This reply was modified 6 years, 4 months ago by
yikesitskevin.
INSERT INTO wp_postmeta VALUES (“83438″,”4093″,”yikes_woo_products_tabs”,”a:1:{i:0;a:3:{s:5:\”title\”;s:30:\”[:de]Referenz[:en]Reference[:]\”;s:2:\”id\”;s:16:\”technische-daten\”;s:7:\”content\”;s:1035:\”[:de]<table>
<tbody>
<tr>
<td>Maschinentyp</td>
<td>
<div>FANUC, MATRA, SODICK
</div></td>
</tr>
<tr>
<td>Anwendung</td>
<td>Drahterodieren</td>
</tr>
<tr>
<td>Abmessungen</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filterfeinheit</td>
<td>15 μm</td>
</tr>
<tr>
<td>Anstr?mung</td>
<td>von innen</td>
</tr>
<tr>
<td>Filterfl?che</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Differenzdruck</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Papierflies</td>
</tr>
</tbody>
</table>[:en]<table>
<tbody>
<tr>
<td>Machine type</td>
<td>
<div>FANUC, MATRA, SODICK</div></td>
</tr>
<tr>
<td>Use</td>
<td>Wire EDM</td>
</tr>
<tr>
<td>Size</td>
<td>260/29 x 346mm</td>
</tr>
<tr>
<td>Filter density</td>
<td>15 μm</td>
</tr>
<tr>
<td>Flow</td>
<td>from inside</td>
</tr>
<tr>
<td>Filter Area</td>
<td>5,17 m2</td>
</tr>
<tr>
<td>Pressure diffenrential</td>
<td>max. 3,0 bar</td>
</tr>
<tr>
<td>Material</td>
<td>Paper</td>
</tr>
</tbody>
</table>
[:]\”;}}”);
I’m having a hard time finding an issue with the data you sent. It seems to be valid from a serialization point of view. Do you have any database back ups?
A database backup does not solve my problem. What about my changes that get lost since the last backup?
Do you have the ability to filter the backup so it only includes the
yikes_woo_products_tabs
postmeta field?Hello @edmtec,
Just checking in.
Please let us know if you still need help with this issue.
Thank you!
-TracyNo thanks, i restored the database and everything works fine. I never will change data in the database. i will use tools in the future, this works.
-
This reply was modified 6 years, 4 months ago by
- The topic ‘Tabs have disappeared’ is closed to new replies.