Hello,
Are you referencing images based on the URL? Did you use a DB conversion tool to move your data from the demo to live domain?
I think you need to run a serialization-safe search and replace on your data to convert the image URLs.
Don’t run a search and replace directly on your database. You should use a plugin like WP All in One Migration.
Hope that helps.
Cheers,
Kevin.
Thread Starter
Geet K
(@geet1306)
Hi Kevin,
Thanks for replying.
I moved site manually, no plugin used for migration.
Here is the demo URL http://techgreaser.com/sam1/product/isonem-hybrid/
and compare it with http://isonem.ie/product/isonem-hybrid/ (live)
I added images in application tab by using “Add media” option.
Products such as http://isonem.ie/product/isonem-anti-fire-solution/ which doesn’t have Application Photos Tab are showing everything fine.
-
This reply was modified 4 years, 11 months ago by Geet K.
Did you run a search and replace on the database to change URL names?
Thread Starter
Geet K
(@geet1306)
No, it is not showing these images URLs in database even.
-
This reply was modified 4 years, 11 months ago by Geet K.
Hmm… So you can see the tab data in the database for your product, but the tabs aren’t displaying? I’m assuming they don’t display in the admin panel then either?
Thread Starter
Geet K
(@geet1306)
Yes, nothing in admin panel.
I think the serialized data must’ve been corrupted somehow. That’s how this error occurs. If nothing was changed about the data, it doesn’t make sense that it would’ve broken though.
Have you tried copying the yikes_woo_custom_tabs
data from demo to prod again? Can you try that for just one of your products that’s having this issue?
Thread Starter
Geet K
(@geet1306)
ok, i will try this.
Any thoughts when i am trying to add new tabs on any product, Why is it showing a huge space between title and details, eg: http://isonem.ie/product/isonem-floor-paint/
Take a look at the HTML. It looks like there is unintentional HTML getting pasted into the tabs. This usually happens when tabs are copy and pasted from the front end into the editor.
Hi I’m facing a similar issue, exaclty runnign a search-replace command.
Running it as a SQL query or with a plugin for search and replace I see that the wp_postmeta table get correctly modified but the product lose its tab on front and backend =(
Can’t figure it out why it happens.
It seems that every edit on the database makes tabs disappear
That was my meta_value’s metaky_value
BEFORE:
a:1:{i:0;a:3:{s:5:"title";s:9:"Datasheet";s:2:"id";s:9:"datasheet";s:7:"content";s:195:"<span style="font-weight: 500; color: #666666;">[button link="https://abcabc.xyz" type="icon" " newwindow="yes"] DATASHEET [/button]</span>";}}
AFTER
a:1:{i:0;a:3:{s:5:"title";s:9:"Datasheet";s:2:"id";s:9:"datasheet";s:7:"content";s:195:"<span style="font-weight: 500; color: #666666;">[button style="btn-primary" size="btn-lg" color="#000" border="btn-rounded" buttonlink="https://abcabc.xyz" type="icon" textdata="Datasheet" ]</span>";}}
Otherwise in admin panel Custom Tabs ask me to add a new one =( even if mysql table is populated =(
Any tips?
Thanks in advance.
Francesco
-
This reply was modified 4 years, 11 months ago by franzkekko.
Hi Francesco,
Changing the data directly in MySQL will break your tabs! You need to run a serialization-safe search and replace. Most DB search and replace plugins have a feature for this.
All the best,
Kevin.
Hi! I understood which was the issue…
I’m quite sure it was not this serialization-safe search I didn’t do.
The “s:xyz” parameter sets the number of words following. So, editing the code didn’t changed automatically those parameteres.
Now I got back my links working enabling the Elegant Theme Shortcodes Plugin, but I’d love to hide some of these custom tabs from unregistered users, may be embedding the code in a shortcode. Is it possible?
Thanks again,
Francesco
Hi Francesco,
You’re trying to hide tabs from users who aren’t logged in? If so, we can give you a code snippet for that. What are the names of the tabs you’re trying to hide?
Let us know.
Thank you,
Kevin.
Hi Kevin!
Thanks for your kindness. Tabs name is mainly “Datasheet” … There are other names but I’ll rearrange the snippet.
Thanks again!