Gym Demo Content won't load

I have spent all day trying to get the Gym demo content installed on my sandbox site - http://www.ufea.theunrivaled.com/

I have upped the PHP memory allocation to 600mb and have double checked all other troubleshooting issues to no avail. The media images load, then the installer abruptly quits and does not import any of the demo pages/content. The following error messages are what we are getting server side:

[05-Oct-2021 18:37:46 UTC] PHP Notice: Undefined variable: options_rating_scale_content in /home/theunrivaled/ufea.theunrivaled.com/wp-content/themes/pro/cornerstone/includes/elements/control-partials/rating.php on line 161

[05-Oct-2021 18:37:46 UTC] PHP Notice: Undefined variable: control_widget_area_bg_color in /home/theunrivaled/ufea.theunrivaled.com/wp-content/themes/pro/cornerstone/includes/elements/definitions/widget-area.php on line 119

Hi Kyle,

Thanks for reaching out.
There might be a few different reasons for this issue, I would suggest following troubleshooting about your demo import.

  1. Increase PHP Execution Time Limit
  2. Please check if the mod_security is enabled in your site, which causes the issue in importing and does not let you call the Cornerstone endpoint to import the Design Cloud assets.
    And if that is the case, you need to contact your hosting service provider to temporarily disable the ModSecurity for you and make the Cornerstone endpoints whitelisted.
  3. The write permission to the uploads folder might be one of the reasons behind your issue, I would suggest you change the permission to import the images into it.

I also recommend you to ask your web host to configure the following server settings with the specified values or more for the PHP.

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
allow_url_fopen = On

And MySQL Configurations

max_allowed_packet = 16Mb
innodb_log_file_size = 128mb

If the above does not help, please provide login credentials for your site 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.

NOTE: If you have the ConvertPlus plugin activated, please deactivate it temporarily while importing the demo content. And activate after completing the import.

Thanks

Thanks, all of those areas have been addressed and still not working. I 've dropped a secure note with my login credentials above. Thanks for looking into this for me!

Hello Kyle,

It seems that the Cornerstone Endpoint is not whitelisted yet, and that is why the error still exists. Please find the URL in the secure note, which needs to be whitelisted.

I would suggest you contact your hosting service provider to temporarily disable the ModSecurity for you and make the Cornerstone endpoints whitelisted.

Hope that will resolve your issue.
Thanks

My hosting company is telling me that they are unable to whitelist that URL. I have disabled ModSecurity but that wasn’t enough. Is there anything else we can do? Plugins available for whitelisting URLS? Anything?

Hi Kyle,

I hate to be the bearer of this message but there’s nothing else we can do our end. It is highly recommended that the cornerstone endpoint is whitelisted in your hosting provider. The end point link was provided by my colleague above.

Thank you for understanding.

Now this is what my hosting is telling me.

“Thank you, usually, they will need to provide an IP in order to whitelist it, the URL provided is inside your site files which are served by us, so there should not be any need to whitelist” -

Is there a specific IP address to whitelist ?

Hey Kyle,

There is no IP to Whitelist. Just this URL which we have added the secure note below.

Thanks.

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