Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1299776
    ewilder
    Participant

    Hello,
    I have a brand new WordPress installation on a GoDaddy Managed WordPress hosting account. I installed the X theme, and the only plugins activated are Cornerstone and Slider Revolution. I have tried several times to install the Agency demo but get the “We’re sorry, the demo failed to finish loading.” message. I have checked many threads on this forum and haven’t found any solutions that worked for me.
    Can you help?

    #1299780
    Joao
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks

    Joao

    #1299856
    ewilder
    Participant
    This reply has been marked as private.
    #1300182
    Christopher
    Moderator

    Hi there,

    Thanks for writing in!

    I see following error in your site :

    X Demo Importer failure Object
    debug: null
    debug_message: "Invalid demo name."
    message: "We're sorry, the demo failed to finish importing.
    __proto__: Object
    

    After reviewing the information provided above, I would try checking with your hosting provider on this particular issue as it sounds like something related to your setup is causing this. Typically, this is due server configuration problems (i.e. underpowered, traceroute issues, packet loss, permissions errors, et cetera). Additionally, your host will be able to diagnose things much better due to the fact that they have a more complete view of your account and can work behind the scenes with you. If the problem you are experiencing persists after working with your host, don’t hesitate to let us know and we will be happy to assist you. Any relevant information that you can share with us from your host is also greatly appreciated as it will help us to better ascertain the source of the problem.

    Using the error message above, you can contact your webhost. Here is a form letter you may use:

    Hello [provider],
    
    My WordPress installation is having a hard time making outbound HTTP requests. I’m using X theme and it makes a request to theme.co for setting up automatic updates. Here is the error message I’m receiving:
    
    [screenshot, or copy/paste the verbose error message (see above regarding the &x-verbose flag)]
    
    Could you please do the following?
    
    – Ensure my site can reach this domain: community.theme.co
    – Ensure cURL is working, and allow_url_fopen is enabled.
    – Ensure PHP is configured with the latest CA Root Certificates.
    – Check into the error message above.
    
    Please advise on anything you discover. Thank you.

    Hope it helps.

    #1318050
    ewilder
    Participant

    Hi Christopher,
    Thank you for the help.
    Unfortunately, we are still struggling to communicate with GoDaddy to resolve this issue. Would you have any GoDaddy-specific advice? Or can you recommend a workaround, like a manual download and install?

    #1318476
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! Because what we are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    After the child theme is set up, please add the following code in your child theme’s functions.php file

    //adjustments to wp-includes/http.php timeout values to workaround slow server responses
    add_filter('http_request_args', 'bal_http_request_args', 100, 1);
    function bal_http_request_args($r) //called on line 237
    {
    	$r['timeout'] = 15;
    	return $r;
    }
     
    add_action('http_api_curl', 'bal_http_api_curl', 100, 1);
    function bal_http_api_curl($handle) //called on line 1315
    {
    	curl_setopt( $handle, CURLOPT_CONNECTTIMEOUT, 15 );
    	curl_setopt( $handle, CURLOPT_TIMEOUT, 15 );
    }

    This code block will try to increase the PHP Curl’s timeout and hoping that the Agency demo will be installed.

    Please let us know how it goes.

    #1319502
    ewilder
    Participant

    Hi Rue Nel,

    Thanks for the suggestions. I installed the child theme and added the function but I still got the “failed to finish loading” error.

    Next I tried a new X & child theme install on a dev site on Pantheon and got a little farther along – now the demo starts to load but hangs and freezes on “creating posts”. After cancelling out I can see images, pages, and posts have been created but the configuration is definitely not complete.

    Can you advise on next steps?

    Thanks.

    #1319909
    Rue Nel
    Moderator

    Hello There,

    I will attached the Agency Rev Slider which you can import into your site. I also included the Agency demo content customizer settings which you can import by going to X Addons > Customizer manager. Could you please give us access to your Pantreon site?

    Thank you. Please let us know how it goes.

    #1324695
    ewilder
    Participant

    Hello – that may have done the trick – I will explore it more fully and let you know if it’s all there. Thank you VERY much!

    #1324698
    Nico
    Moderator

    Let us know how it goes.

    Thanks. Feel free to ask us again. 🙂

  • <script> jQuery(function($){ $("#no-reply-1299776 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>