Design Cloud Items Failing to Install

I’ve tried the following settings and Design Cloud items are failing to install:

allow_url_fopen = On
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_allowed_packet = 16Mb
innodb_log_file_size = 128mb

So far I’ve tried Batteries Included and Crafty theme. It makes an attempt but then fails with alert.

The error Im getting back is:

Request URL: https://www.eladayzdesigns.com/cornerstone-endpoint
Request Method: POST
Status Code: 503
Remote Address:
184.154.216.162:443
Referrer Policy:
strict-origin-when-cross-origin

However, navigating to 184.154.216.162:443 takes me to a website I know nothing about: https://stayashland.com/

Hello VDiaz,

Thanks for writing in! I can confirmed that the template cannot be imported in your live site. After a closer look, I found out that it is because the template manager is throwing this error:
POST https://domain.remove/cornerstone-endpoint 503

In your live site server, please temporarily disable ModSecurity or at least white list the URL in the secure note.

Kindly let us know how it goes.

The hosting company said they disabled ModSecurity. We’ve also reset the Keys and Salts in wp-config.php. Still doesn’t work… They did mention the following “We can whitelist some IP’s temporary, urls can’t be whitelisted.”

I don’t know if they have white-listed the URL. I’ll follow up here when I can confirm that they have. In the mean while, is there anything else I can try?

Hi VDiaz,

I see that the site is using PHP 7.4.10, please try downgrading to PHP 7.2 for now.

And do you have custom rules on your .htaccess file? Can you remove it temporarily?

Let us know how it goes,
Cheers!

I changed the version. Still the same issue. Here’s what the hosting tech support said:

Your account was not reaching usage limits recently .
Here is a part of information from your error_log:
[03-Oct-2020 00:00:19 UTC] PHP Warning: Declaration of X_Plugin_Upgrader_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, …$args) in /home/eladayzd/public_html/wp-content/themes/x/framework/functions/updates/class-x-tgmpa-integration.php on line 288
[03-Oct-2020 00:00:26 UTC] PHP Warning: Declaration of X_Plugin_Upgrader_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, …$args) in /home/eladayzd/public_html/wp-content/themes/x/framework/functions/updates/class-x-tgmpa-integration.php on line 288

Here’s another response from the hosting tech support:
As mod_security is disabled for your account.

Please contact theme support and try to do what is listed here: Cornerstone loading indefinitely

Hello @vdiaz1130,

Who is your hosting provider? Please ask your web host to enable allow_url_fopen . The value must be On in order for your server to receive data from our server. Also, increase the following server settings to the specified value or larger.

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_allowed_packet = 16Mb
innodb_log_file_size = 128mb

Hope that helps.

I’ve confirmed (as per my op) these are the settings on the server. Green Geeks is my hosting provider.

Update: After downgrading PHP to an earlier version as suggested here, the settings were reset to default. I updated to max values in each case with the exception of:

upload_max_filesize set to 256MB
post_max_size set to 256MB
max_input_time set to 240
max_allowed_packet was not accessible in the settings page
innodb_log_file_size was not accessible in the settings page

I’ve tried clearing cache, editing in incognito.

Here’s a list of PHP extensions currently enabled. DO I need to enable any of these?

Hello @vdiaz1130,

Please enable and at least set the values to the following:

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300
max_allowed_packet = 16Mb
innodb_log_file_size = 128mb

Thank you.

memory_limit

upload_max_filesize (max option is 256M)

post_max_size (max option is 256M)

max_execution_time

max_input_time (max option is 240)

max_allowed_packet and innodb_log_file_size are not available options to set. I’ve requested the specific settings above

It’s not timing out because the error happens almost immediately. I enabled all the options I was able to turn on:

Still not working after clearing cached and running incognito.

The hosting tech support responded with the following:

php.ini options values have been increased as you requested : https://paste.websitehostserver.net/Ym9iCg_2020-10-03_22-50-28_lMylKRkE7I

I tried it again and it’s still broken. Same error.

image

Navigating to the endpoint produces the following. Tech support from Green Geeks sees the same.

The message says

success: false
invalid_user: true

That’s failing No?

Hey @vdiaz1130,

It says that there’s an issue related to the user. Are you using a custom user role? If so, please try using the Design Cloud with an Admin. I’m not able to check this, by the way, because the WordPress credentials you’ve posted doesn’t work. Please update us with the correct WP Admin username and password.

Please also try resetting your WordPress Salt Keys. This has worked in another case I’ve handled so it’s worth a try while awaiting the correct credentials.

Thanks.

I reinstalled WP and Theme to see if that would help - that’s why the user was gone. I added the user again with the same creds. Also, the user I am using is admin. I’ve also reset salt keys multiple times but I’ll try again.

Update: I reset the salt keys and disable all plugins except CornerStone and it’s still failing.

Update: Hosting Tech support replied with the following:

… mod_security is disabled for your account. I’ve checked server logs and didn’t find any errors related to your and my IP.
May be there is some plugins conflict . Please try to upgrade your theme with disabled plugins.

As stated, I disabled all but CornerStone plugins.

Hey @vdiaz1130,

Your site is currently down not just on my end but for others as well. We’ll check once your site is up.

image

Thanks.

I changed hosting company (configured AWS) and everything is working now.

Thanks!

Hello @vdiaz1130,

You are most welcome. It is good to know that you have resolved your issue. If you need anything else we can help you with, don’t hesitate to open another thread.

Best Regards.

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