Pro Update

Hey guys,

I now have a staging version of our Website up and running for tests thanks to your help. Thank you for that.

After updating Cornerstone to 2.0.6 and X-Theme to version 5.1.1 I have a slight problem on the footer.

Any easy fix for this or other suggestions?

Also I wanna update my license to Pro and I have a question first.

After the update can I continue using the X-Theme 5.1.1 on the live website and try the Pro version on the staging one?

Thanks in advanced

Hi There,

Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

Thank you.

Thanks for your reply Joao,

Our live website is vikasayoga.com
and the staging website is:
staging.vikasayoga.com

Thanks

Hi There,

Great looking site!

Please try going to Appereance > Widgets and copying the code from the text widget from the original site and paste on your stating.

If that does not help please provide the login credentials of both sites if possible in a secure note.

Thanks

Thanks for the quick reply Joao,

That was one of the first thinks I tried and didn’t work.

So on the live website there’s this 2 widgets on the footer, one with the social networks and the other one with tripadvisor badges.

The one with the badges I was able to fix it but the social network icons I can’t on the staging site.
The icons are very small and the links don’t work.

I went to global CSS and change the font-size on the social class but everything gets bigger, including the “connect with us”.
The idea is keep the same as the live website.

Thanks for everything.

Hi There,

I did check both content. It seems that the live site is just showing a cache content. The code on Appearance > Widget on the live site doesn’t have link too, so it’s weird that it is showing links on the frontend. Most likely it is cache content. The entire code with link should be this:

  <div class="social"> <span class="cwu">CONNECT WITH US : </span> <a href="https://www.facebook.com/vikasayoga/" class="facebook" title="Facebook" target="_blank"><i class="x-icon-facebook-square" data-x-icon="" aria-hidden="true"></i></a><a href="https://www.youtube.com/user/kmiachin/" class="youtube" title="YouTube" target="_blank"><i class="x-icon-youtube-square" data-x-icon="" aria-hidden="true"></i></a><a href="https://www.instagram.com/vikasayoga/" class="instagram" title="Instagram" target="_blank"><i class="x-icon-instagram" data-x-icon="" aria-hidden="true"></i></a><a href="https://www.pinterest.com/vikasayoga/" class="pinterest" title="Pinterest" target="_blank"><i class="x-icon-pinterest-square" data-x-icon="" aria-hidden="true"></i></a> <a href="https://vimeo.com/vikasayoga" class="vimeo" title="Vimeo" target="_blank"><i class="x-icon-vimeo-square" data-x-icon="" aria-hidden="true"></i></a></div>

Regarding the size, I can see on the live site it is set to 28px:

 footer .social a {
color: #c8c5c5;
display: inline-block;
font-size: 28px;
padding: 0 13px;
vertical-align: middle;
 }

On your staging, it is set to 18px:

 footer .social a {
color: #c8c5c5;
display: inline-block;
font-size: 18px;
padding: 0 13px;
vertical-align: middle;
 }

Note to clear cache before checking again.
Hope this helps.

Hi Lely,

Thank you so much for your tips.

I was able to fix the problem. I think is was cache.
Now both sites have the same footer :slightly_smiling_face:

Another think I notice is that when I create the staging site looks like It copied an older version of the live website.
For example on the blog, the last 2 posts are missing.


Or on the home page I had a banner to download an ebook:

And I can’t see it on the staging site.

Do you think was a cache issue?
What’s the best way to try again clone all the pages/sections again?

Thanks,

Hi there,

Maybe you’re doing the migration/cloning while you’re adding new posts? Because the post http://staging.vikasayoga.com/blog/when-eating-obsession/ doesn’t really exist. And it’s not because of the cache, how about pushing another staging overwriting your current one?

Thanks!

Hi Iam.

Thanks for your reply.
I try overwrite the files and database again but it’s still the same.8i9
Maybe I’m doing something wrong?!
I backup the database and import to the staging site and replace the wp-content folder but didn’t reflect the latest changes.
I used the file explorer tool on the phpmyadmin.
Maybe if I use regular ftp client will work?

Thanks

Hi,

Copying manually is not recommend for wordpress sites as you might break many serialized data.

Please follow our guide in migrating or copying a site to a different location.

https://theme.co/apex/forum/t/cornerstone-migration/126

Thanks

Hi Paul,

Thanks for the reply.

I tried follow the link you gave me to import the database.
After the successful import, when I type staging,vikasayoga.com on my browser it redirect me to the main website (vikasayoga.com)

I check if there is any redirections on the Subdomain setting on cPanel but no:

You know why this is happening and how to fix it?

Thanks

Hey There,

This is most likely happening due to the fact that in the wp_options table the site url is still the “old” non staging url. Please use a tool like phpmyadmin to connect to your db and go into the wp_options table and change the siteurl table value to staging.vikasayoga.com and see if the redirection problem is resolved.

Hi Rubin,

I think everything’s ok here:

Any other suggestion?

Update:
I found the problem
I checked the table wp_option instead wp_vgks_option, and the error was there :slight_smile:

It’s good to know that you found the problem.
If you need anything else we can help you with, don’t hesitate to open another thread.