"The preview was unresponsive after loading..."

Hi RueNel,

Thanks for your in-depth investigation of the page, as well as picking up on the HTML errors which I’ve corrected. (I’m curious that Cornerstone allowed them in the first place.)

However, something is still amiss. I’ve been editing this page for a long time, and those errors have existed from the beginning - a few years now. Only after splitting the page have I been able to edit it in sections, and only due to that action have I been able to correct the HTML errors you’ve kindly pointed out. So essentially, the error preventing Cornerstone editing the page still exists. In other words, I cannot make the HTML corrections to the original page as I cannot edit it with Cornerstone.

I’m still under the impression it has something to do with the length or size of the page. For the time being, the work-around is adequate, but I’d still rather have the page the way it was for efficiency’s sake.

Please let me know how it goes.

Cheers!

Andrew

Hi Andrew,

Can you create a test page and add the original content(full content) into it so we can do further testing without breaking your live page.

Thanks

Hi Paul,

  • The original page was = /Residues A
  • Backup of original page = /Residues A Backup
  • New Pages = /Residues A & /Residues A2 (A split of original /Residues A)
  • Testing Page (Copy of Original /Residues A) = Apex Test Page

You’re welcome to alter anything in the /Apex Test Page. Unfortunately, because I cannot edit the page in Cornerstone, the HTML errors are still present.

Hope this helps.

Cheers!

Andrew

Hi there,

Could you try re-creating the page instead of cloning it? These are what I found,

  1. When deleting the upper sections (chapter 1 to 5), the builder works
  2. Hence, I created a test page again (cloned) to confirm the #1, deleting upper sections doesn’t solve it, instead, when I delete chapter 1 to 8, it works.

These conclude that the issue is a bit random due to performance. And also, on the random occasion when it loads, the menu doesn’t have the styling (it appears as standard bullets).

Are you on shared hosting? Is there a way you can clone your site into staging where we can test it with no other plugins? I just like to confirm if this is host’s related issue.

Thanks!

Hi Rad,

Thanks for the feedback.

I found something similar. However, deleting any 2 sections did the trick. With the offending page currently split into 2 pages I have no problem to edit either page consistently.

Regarding the menu, some time back - long before the establishment of Apex, your staff shared code and CSS to insert the Share Social icons in the navbar output from the _navbar.php file in X-Child theme. As you’ve seen, that no longer functions, but I’ll get to that once we’ve sorted the page editing out.

There are approximately 241 A5-sized pages in Chapters 1 to 10; not sure how that translates into a single web page - if at all relevant. Recreating them will be a mammoth task. The original document was written in Microsoft Word, and that will need to be reformatted to HTML, and further tweaked before it will ready to be inserted into a blank X-Theme page. Please reconsider what you’re asking for and if it is absolutely necessary. If so, it will take more than a few days, and unfortunately this is not my ‘day job’, so it will need to happen when I can spare the time. However, there might be some middle ground. I can perhaps just dump a long rough HTML document into the page in a single section that approximates what currently exists. This may not be ideal as it’s an unknown variable and may not generate the problem that currently exists. Nevertheless, let me know.

I’ll check with my host regarding a staging area, and I believe I’m on shared hosting. The latter has never been a concern as the website does not generate a lot of traffic, and there is no interaction with users or transactions. Will let you know in due course.

Cheers!

Andrew

Hi there,

I understand that, but copying from Word documents could also cause issues while editing your site in the builder. As it makes contain hidden elements that could break it. It’s known issue since the standard editor versus word doc contents. And yes, it will create more work if it produced more issues, sometimes it’s more recommended to create the contents manually than copying (reformatting and fixing are like redoing it over and over again). You may hire sometime that could encode the contents for you :slight_smile:

As for shared hosting, your site may not get traffic, but other sites hosted on the same machine where your site is could get traffics. Multiple sites share same machine, same memory resources, and same traffic. That’s the problem in shared hosting, and since it’s shared, there are too many restrictions, you can’t even increase the memory limit or disable some features since it’s been in use with other sites.

Thanks!

Hi Rad,

I’m trying to understand your rationale.

(A) Recreating the page will have no effect on the hosting environment, yet you believe it must be done? I’m concerned that once this is undertaken and the problem persists, the focus will be directed at the hosting company - leaving me no solution outside of trying to get the hosting company to solve the problem. To summarize this; because my page cannot be edited in Cornerstone, it’s the hosting company’s resource restriction related to shared hosting. What’s baffling is that this page could be edited before the Cornerstone and X-Theme upgrade. - whilst on shared hosting. Please help me understand this.

(B) The fact that only one page suffers from the editing problem is more confusing. My instinct would be that it’s due to a page length / size restriction - either enforced by the hosting company or Cornerstone / X-Theme. As pointed out by Christopher earlier in this thread; “Also, I installed the WP Serverinfo plugin which you can see from Dashboard > WP-Serverinfo menu and it shows that your PHP memory limit is 512MB which is a good one and you do not need to change.” Again, why has the editing problem only occurred after the upgrade? My hosting package parameters have not changed - I checked.

In the interim, it seems I have no option but to follow your directive and painstakingly recreate the page. I certainly hope this effort will not be in vain. I’ll let you know the moment it’s ready.

Hoping you get to the bottom of this soon,

Cheers!

Andrew

Hi there,

Before we go further, I just like to clarify that what we provide and recommend is just part of troubleshooting to narrow down possible causes.

And sorry for the confusion, I was discussing two different possible issues and cause. Page creation and copy-pasting is another issue from the shared hosting performance.

  1. I’m referring to re-creating the page instead of copy and pasting from Word Document as it could cause many issues due to hidden elements from the doc. It’s not hosting related.

  2. Another issue is shared hosting which is affecting the performance of your site, especially for that long page. In which even if your site doesn’t get any traffic, the machine where it’s hosted will surely get the traffic due to other sites sharing the same machine. And please note that even if you increase the memory limit through configuration, it will have no effect on shared hosting (it will still be around 40mb to 60mb). You should contact your hosting provider to see if you’re allowed to increase it.

Thanks!

Hi Rad,

Thanks for your response.

I’ve included your response for clarity.

And sorry for the confusion, I was discussing two different possible issues and cause. Page creation and copy-pasting is another issue from the shared hosting performance.

Fair enough. I understand long distance trouble shooting can be tough, and elimination of possible causes a required first step.

I’m referring to re-creating the page instead of copy and pasting from Word Document as it could cause many issues due to hidden elements from the doc. It’s not hosting related.

As I mentioned earlier, the document was only created in Word. I know it cannot simply be pasted into the Cornerstone editor, and therefore said that a fair amount of formatting clean-up is required before I can even start recreating the page. Even exporting to HTML from Word is a mess, hence the time required to clean up whilst still maintaining the formatting. Eventually, the text that will be placed into Cornerstone will only have HTML code with CSS styling - no Word Style formatting. This is how the current page was created.

Another issue is shared hosting which is affecting the performance of your site, especially for that long page. In which even if your site doesn’t get any traffic, the machine where it’s hosted will surely get the traffic due to other sites sharing the same machine. And please note that even if you increase the memory limit through configuration, it will have no effect on shared hosting (it will still be around 40mb to 60mb). You should contact your hosting provider to see if you’re allowed to increase it.

Two things on this; I’ve been able to edit the said page since its creation; I guess about two years now. It’s only after the Cornerstone / X-Theme update that this is not possible. I believe only two conditions can be the cause; (a) The host downgraded my allocated resources without notifying me, or, (b) the Cornerstone / X-Theme update is responsible. Regarding the former, I’ll contact them to confirm that my contract and their obligations have not been altered.

I want to resolve this issue as much as you, and will share my host’s feedback with you as soon as I can. As I’ve said before, the recreation of the page is not a minor undertaking, and I’ve started on that. As soon as it’s done I’ll let you know.

Cheers!

Andrew

Hi there,

Thank you for the message and your cooperation and patience on this matter. We have a situation here which we need to resolve as quickly as possible. The choices are:

  1. You changing the hosting service provider to final test the case to know if it is something related to your hosting service or not
  2. Recreate the page.
  3. Find a middle ground.

I am sure you will understand that this is an edge case and it is not possible for us to detect the cause and even if it is indeed something related to our code in Cornerstone it will take time for our development team to find out or maybe it might need a refactor of the code, I am not sure but the outcome will be available in the future releases and it will not be feasible for you to wait that long.

I suggest the option 3 which is not a perfect solution but at least you can do edit your page.

I duplicated the page with a new name called Residues A Skeleton Mode. As you can see I did not delete any section and I changed the Sample Chapter title and added 3 exclamation points.

Here is what I did, I accessed the page using the Cornerstone and the error is there and the preview is not working. Then I clicked the Skeleton mode icon:

It shows a rough view of the items available on the page, I clicked on the element of the headline to change the text:

Then I edited the code as I have access to HTML:

I saved the page and the result was correct:

So the problem is actually the fancy preview page if you consider avoiding the usage of the preview and each time check the saved result in the actual front end of the website in a separate browser tab you can use the builder at least to do your edits.

I know that is not a perfect solution but it is the most convenient way for the time being.

Ad as this is happening only on one page I think we can live with a no preview version :wink:

Thank you for your understanding.

Hi Christopher,

Thanks for the detailed feedback, as well as going the extra mile to resolve the problem.

I agree with the three options you offer, as well as finding middle ground in the interim. As opposed to using your ‘skeleton’ method, I’m going to stay with what I currently have; split the page into two. This allows full Cornerstone editing with a minor trade-off.

Regarding the host’s possible contribution to the problem, it may well be in your interest to create a temporary test / staging account on Themeco’s Hosting. I’m not sure how practical this is, but I’ll be willing to send you a backup of my site. The server will be under your control and configuration, allowing you to observe it’s impact. If you do, I’d appreciate you sharing the details with me.

For now, thank you for your and the team’s unwavering effort to resolve my problem. It’s near impossible writing perfect code, but one can provide superior support - as has been the case.

Cheers!

Andrew

Thank you for your contribution and actually, it will be a good idea to have a backup of your website, we can test the case both in our local installations and the Themeco hosting service. At the moment I do not have access to the hosting but I can test the case on my local installation.

You can upload the backup to whatever sharing service you prefer and give us the link here using Secure note.

Thank you.

Hi Christopher,

I’ve posted the link to my website backup in the Secure note.

Cheers!

Andrew

Thank you for your contribution.

We will follow up the case and if there is a need to report to our development team we will do so, and if it results to a change in the code you will see the result in our changelog:

https://theme.co/changelog/

The first quarter of 2018 is the time to clean up our backlog as stated in our blog post of 2017 review:

Thank you.

Hi there,

Just wanted to report that I have managed to install your site in my local environment and it was working with no problem. The preview shows normally for the Residues A page and I could edit with no problem:

I changed W to M:

This shows that the problem was indeed the hosting service provider you used, unfortunately, we could not find what was the cause but at least you know that if you encounter such issues again you will need to consider changing the hosting service provider.

Thank you.

Hi Christopher,

The page you edited; Residues A, is a subset of the actual page giving me the problem, which has been backed up as Residues A Backup. I split the page into Residues A and Residues A2 which was a workaround for the problem.

Try editing Residues A Backup, or Apex Test Page which was set up for testing purposes. Let me know how it goes.

Cheers!

Andrew

Hi there,

Thank you for the clarification, I tested the Residues A Backup and I also managed to change and edit the page with no problem and here is the result:

The Residues A Backup has one sample section and 10 chapter sections.

Thank you.

Hi Christopher,

You have spent a lot of time with a seemingly simple problem, and I appreciate your patient and courteous approach in addressing the problem. I believe this ‘ticket’ is now closed.

Thank you,

Andrew

You’re most welcome, Andrew.

Cheers!

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