Template Section Not Loading / Saving

Hi there,

We recently switched servers and everything is working fine. However, I noticed that the Template Section is not loading/saving. Meaning, the Template functionality seems broken after the switch. My developers and I think there is a DB mismatch somewhere, but we’ve been going at this for an entire week and are we’re unable to locate it, or verify if this is the issue. So, reaching out now to see if you can get us a kick in the right direction.

Created a quick video for you to show what’s going on:

Thanks,

Stefan van der Vlag

Hi Stefan,

Thanks for reaching out.
After you save the Template you need to refresh the page if you want to access that template on the same page. While creating a new page it got automatically refreshes and the template can be accessed on that page.

Thanks

Hi there,

Appreciate the reply, but did you even watch the video?

As I said, we’re unable to Save or Load a template. The entire DB seems to be disconnected.

We recently switched servers and everything is working fine. However, I noticed that the Template Section is not loading/saving. Meaning, the Template functionality seems broken after the switch. My developers and I think there is a DB mismatch somewhere, but we’ve been going at this for an entire week and are we’re unable to locate it, or verify if this is the issue. So, reaching out now to see if you can get us a kick in the right direction.

Created a quick video for you to show what’s going on:

Thanks,

Stefan van der Vlag

Hello Stefan,

I have checked the video multiple times and suspected that you are trying to get the Saved Template immediately after saving it. If that is not happening at your end and you are not able to access the template previously saved, I would suggest you, please provide login credentials for your site so we can check it from your WordPress admin dashboard.
in a secure note to examine it further, including:
– WordPress Site URL & Login URL
– WordPress Admin username/password
To create a secure note, click the key icon underneath any of your posts.


Thanks

Hello,

No that’s not what I’m after.

I’m saying that we switched servers recently, and while everything seems to be working fine, there is (probably) no database connection with the template system within xTheme.

What you are seeing in the video is that I’m trying to “Save” the current page as a template. But that does not work, there’s nothing “Saved”. Again, the page is not being saved. Moreover, we have created well over 100 templates in the last 4-5 years, and the video also shows there are not templates to load at all. Combining the non-saving argument with the non-loading argument we tend to think it’s a database issue that surfaced after the server switch.

Here’s another video explaining the issue:

To summarize, what we’re asking here is a kick in the right direction on where the templates are Saved and Loaded from. This way we can connect it up in the backend. This is however if our assumption is correct in saying there is no database connection. If there are any other suggestions to fix this, we’d love to try those out, of course.

That said, I’ll login details as a secure note so you can see what’s going on for yourself.

Kind regards,
Stefan

PS: Another video showing error codes on the template manager having issues loading:

Hey Stefan,

Cornerstone Templates are stored in the wp_posts database table as a custom post type cs_template.

Here are the possibilities why the Template Manager doesn’t work in your server setup.

  1. You’re using PHP 8. Try using PHP 7.4
  2. Your PHP memory limit is 256. Please increase it to 512 MB
  3. Something in the Ngix settings might be causing the issue. Review your server error logs and fix your server if there are errors.
  4. A 3rd party plugin might be causing the issue. Temporarily deactivate all 3rd party plugins.

Hope that helps.

Thanks! That helped.

We got it fixed, the PHP version was the issue.

Hi Stefan,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.