Replacing old theme with new theme from design cloud

I’m also facing issues installing “Batteries Included”

Hello Deejay,

When importing the Batteries Included or the Crafty demo site, there is an error 503 in the console. Kindly provide us your FTP login details so we can investigate this issue further because this is only happening in your site.

Thank you in advance.

Shared the FTP details through Secure Note.
In the meantime, is it possible to send me the .tco files for the following through email or something?

  1. Crafty
  2. Batteries Included and
  3. Architecture Portfolio

Or perhaps, upload it directly to ftp and I can download it from there to use it on my live site?

Hello Deejay,

There is no manual installation of the demos. You have to go through the Design Cloud. At the moment, I have tested over and over and there is still an error 503. Can you please ask your hosting provider to disable your ModSecurity or at least whitelist the URL in the secure note so that the demo installation connecting to our server is not blocked.

Kindly let us know how it goes.

I have disabled ModSecurity. Can you please check now?

Hi DeeJay,

Thanks, would it be okay if you can provide CPanel login credentials as well? I like to check the CPanel logs first, the error is still the same when importing and it’s 503 service unavailable. The problem here is not the demo import process but the request to your site is being rejected.

And it’s similar to this Cannot seem to install anything from design cloud today, especially the logs in CPanel. The connection is not refused between our demo and site’s server, but between site’s server and browser.

Thanks!

Shared the details in Secure Note. Thanks for looking into this.

Hi @DeeJay,

I still can’t find what’s causing this on your end, what’s interesting is there is no more error being logs, which means, the WordPress doesn’t reach the server and it’s already refused. I created another site called /xtest/ and the import works partially for images, as you can see here, first few set of cornerstone-endpoints works

Then after about 6 requests, the server refused it again and halted the import. Is this something you can consult with your hosting to see what’s causing the service unavailable? If it’s an internal error then it’s understandable which means there is a problem with the install, but it’s service unavailable and only happens after few requests on the same cornerstone endpoints.

Thanks!

Here is the response from the hosting provider.


There are a few things I noticed.

1- Check the Resource Usage option in cPanel and you can find that the site has hit the allocated CPU limit causing the service unavailable error. You need to check this with your site developer as to why the CPU was hit. The limits are reset now.

2- If the theme provider says that its a connection issue, we can whitelist their IP in the server firewall and can try again. You will have to get their IP from them for us to do that.

3- The PHP limit assigned on the sites are way too high and can cause issues. Assigning 1024M as the memory limit will not only cause issues but also the site will not use such limits. Try allocating 256M as the memory limit. Lower post_max_size too.

4- I can see that the plugin named cornerstone has caused errors earlier.

5 - Enable debug mode in Wordpress and try to get the exact error and we can help you fix it if its anything on the server end.

6- Check with your theme developer and get the recommended PHP settings to be used so that we can confirm/update it.

Let me now the updates so that I can help you in a better way.

___________-

Hi DeeJay,

Based from their reply, you’re on shared hosting in which has limitations.

1- Check the Resource Usage option in cPanel and you can find that the site has hit the allocated CPU limit causing the service unavailable error. You need to check this with your site developer as to why the CPU was hit. The limits are reset now.

It’s understandable to restrict CPU usage on shared hosting to prevent it from affecting other sites (not yours) that are sharing the same machine. But it shouldn’t block all requests, instead, it should only limit them. It’s like they set a MAX setting, but they don’t want you to reach the MAX setting. And if they set a limit of two cores, shouldn’t you be allowed to use all the two cores instead of one? Does Does that means you’re not allowed to use 100% of the resource you paid for?

2- If the theme provider says that its a connection issue, we can whitelist their IP in the server firewall and can try again. You will have to get their IP from them for us to do that.

That’s negative, since the issue is also present on your end, and not just on our end. Plus, IPs are dynamic and may change anytime. Given that they should whitelist it, does that mean ModSecurity from the CPanel has no overall control? Hence, it will be restricted even if you disable it since there is a major configuration on their end that allow IP blocking.

3- The PHP limit assigned on the sites are way too high and can cause issues. Assigning 1024M as the memory limit will not only cause issues but also the site will not use such limits. Try allocating 256M as the memory limit. Lower post_max_size too.

This is the common trait of shared hosting, you’re only limited to their restrictions. If you set 2gb as the limit, it would appear as 2gb from the config, but physically, it would still 256mb. As for the limit, even Revolution Slider alone recommends 256mb, imagine adding more features to your site. A 512mb limit should be the limit nowadays even on shared hosting. But it’s their policy so we can’t really change that :slight_smile:

I also had experience with an essential grid, and with a set of images, it consumes about 180mb. That’s almost near the limit of 256mb. Now with the design cloud with many images to import, it’s understandable that the process immediately reaches the limit.

4- I can see that the plugin named cornerstone has caused errors earlier.

Yes, it’s cornerstone since it uses admin-ajax.php for requests, it’s WordPress standard way of communication between browser and server. It’s only masked as the cornerstone-endpoint. But still, it’s within the boundary of the features provided by Wordpress.

5 - Enable debug mode in Wordpress and try to get the exact error and we can help you fix it if its anything on the server end.

Yes, I already did but the issue is not a code error, but the issue is the restrictions that aren’t normally logged through error_log nor debug.log. This further proves the cause is hosting restrictions since there is no problem with the codes.

6- Check with your theme developer and get the recommended PHP settings to be used so that we can confirm/update it.

I already set them up through your CPanel and php.ini, but as they said, it’s way too high. Actually 512mb should be enough, but still, 256mb is their limit, and probably 50% limit on CPU since 100% is not allowed.

I provided a sample URL of my site’s test install in the secure note, it’s also running on shared hosting but I have no issues with resources and usage. The difference that I can see is memory 512mb limit, and it has 50mb limit for I/O resources.

In your hosting, there is 256mb limit, and 2mb I/O limit (which essentially related to POST size limit). Please check this screenshot from your CPanel for I/O limit.

A standard image size today is about 4mb to 8mb, that 2mb limit is not enough. That explains why the import fails when it starts importing some images since content and templates are just kilobytes.

Thanks!

Received a response from the hosting provider.


In shared hosting the resources are limited hence importing large contents may hit your limits and end up unfinished. I have temporarily increased the resources to see if that helps with your theme import. If the import fails again then the best option is to import the theme to your local machine and copy the contents to the server.


Hi DeeJay,

Unfortunately, it’s just the same. The I/O limit is just increased to 4mb, I recommend increasing it to 50mb similar to other shared hosting. The 4mb is not enough for image transfer, and there are not just one image.

Thanks!

From the Hosting provider:
“We’ve limits on increasing the limits on shared servers. I’ve increased the limit to 20MB/s, try now and let us know how it goes.”

Hi DeeJay,

It’s still the same and this is the chart screenshot of the faults,

image

And this is on my CPanel, during the Crafty import.

image

Which means, the CPU and IO is still failing, I can’t really answer why. Perhaps there is something else, for example, when I tried to import the demo, the requests is refused right away, it doesn’t even tried to download the image and content. Perhaps there is something that has to be lift up, like block/banned requests? The I/O average doesn’t even reach 1mb this time, it’s because the import doesn’t even start and already refused.

Unfortunately, this all I can do, since we have no control over the hosting environment. All I can point is where it fails, and I can no longer provide workaround.

Thanks!

Response from the Hosting Provider:

I’ve made some changes to the Litespeed configuration, please try again now.

If it still fails please let me know how long into the process it gets before failing, this will help us track it down.


Hi DeeJay,

It’s still the same, the requests is refused before it can even start importing. They can try the demo import to see what’s going on, and as before, there faults in IO.

Thanks!

Ok, so for testing purposes I am planning on setting up another cPanel/Wordpress on a different hosting provider’s server. Is there a way I can use the current license key to test the import if it works and if it truly is the server problem? Or any workaround you can provide to test it on a separate server if the existing license cannot be used?

Hi @deejay86,

You can revoke your license code and install it to another WordPress website, please check this doc about revoking or transferring your license key.

Hope that helps and let us know if you already installed the Crafty Design template in your different hosting provider.

Thank you.

If I revoke the existing license from my current website, will I lose anything? like whatever I have built until now? I can revert the license to my current domain after testing is complete, can’t I?

Hi @deejay86,

You won’t lose any data when you revoke your license from your website and after your testing is complete you can put back your license to your current domain.

Hope that helps.

Thank you.

1 Like