I recently completed my first project with bricks builder. It’s a small artist page. johanna-kraeuter.at
I’ve built the site on my server and transfered the whole wp-installation to the client server after the site was ready for launch. I copied all files and the database (except uploads).
The wp install works, all contents are here BUT bricks builder shows only blank pages. In the pages list in wp backend the »Page name – Bricks« is also missing. The postmeta entry in the data base contains a lot of bricks data. Somehow the connection between bricks data and wp-pages got lost.
Hard to say what went wrong. I have never had this kind of issue before, and I’m always building/developing locally. Have you replaced all local URLs with the live URL, and is Bricks active (and the license key enabled)?
Yes, I made the bricks install active, when I tried making the site work. I don’t think that this was the problem because either way I should see Bricks-Pages marked with » – Bricks«, which I did not.
I used »Wordpress Backup & Migrate« for the transfer. Th9is toolnormally changes all urls to the new domain. After realizing that bricks didn’t work properly, I used »Better search and replace« which could not find any of my »old« urls in the database. As I don’t know how bricks saves contents in the database, I can’t rule out that there is an url problem.
My main question is, is there a best practice to transfer an existing bricks-installation from one Server to another? are there any urls saved in the postsmeta-table that could make the layouts disappear if not replaced correctly. Header and Footer template exist, but have also no content.
Yes, with one hero image issue, if hero container background is image and external css enabled in bricks > settings > performance than that image loaded from previous url. You have to delete actual css from theme directory manually and regenerate css. Then it’s works fine.
it‘s been a while now and I cant quite remember how I fixed that. I think I moved the install to another hosting service (because I had to do this anyway) and ther it worked. Sorry, I can‘t really help you here. As soon as I find out about it, I‘ll post it here.
Hi @timmse ,
I’ve also used inter.connect’s S&R tool for every manual S&R tasks before, so I did it now too, on my first Bricks project, BUT, I have the same issue that @benjamin had in the first post here.
It looks like, changing the URLs in the content with this great PHP lib, WP forgot, that the pages were built with Bricks, so the “- Bricks” is missing from behind the page titles on the page list admin screen, and on the frontend, the content is missing altogether for each post, where I changed the URL in the content.
I had a similar problem with Bricks template URLs not updating after migrating, even though I had replaced all the old URLs in the database.
The solution was to go to Settings → General and press the Save Changes button. Also Settings → Permalinks and press the Save Changes. I don’t recall this being necessary when migrating a non-Bricks website.
Hello, thank you for the tip. I use this plugin, but sometimes it still happens that a template or a page does not appear, even though it has been created. However, this occurs only rarely and, for example, only with one page, not the entire site. Next time I will try re-saving the general settings and then the permalinks, as someone here mentioned. Does the plugin always work reliably for you? I even activate HTTPS on the site before running the plugin. I always manually change home to the new domain in the wp_options table, and then I use the plugin to update everything else. Another thought I had is whether the issue might be related to how the browser requires confirmation when copying an element—first you need to copy something, confirm it in the browser, and only then run the plugin to change the URLs?
Run the script by visiting [yoursitename.com]/fix-serialization.php
Done it should work. (The script returns the amount of fixes it makes.)
I don’t know why Briks doesn’t just add a button in settings that just does this but whatever. Please be careful with the domain name and make sure it is the correct one in the php code but also in step 4.