Demo Content Installation Fails with 403

Home Forums Jevelin Theme Demo Content Installation Fails with 403

Home Forums Jevelin Theme Demo Content Installation Fails with 403

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    RESOLVED Posts
  • Hello,

     

    at the moment I am trying to install a demo content (Blog). But the installation always fails with
    <h3 class=”fw-text-danger”>Request failed. Error code: 403</h3>
    at Directory Cleanup.

     

    Could you please help me to fix this issue.

    I tried to change access rights on the ftp-server…but no luck with that.

     

    Thanks a lot,

    Hannes

    Hi Hannes,

     

    Sorry to hear of the problem you are having.

     

    Most probably your hosting is blocking requests to http://github-api-cache.unyson.io/, to check if it is so, add the below code in your {jevelin}/functions.php: and let us know what you get in the admin area.

     

    add_action('admin_notices', function(){
        fw_print(wp_remote_get('http://github-api-cache.unyson.io/'));
    });

     

     

    Best regards,
    Shufflehound team

    So this is what I get:

     

    array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary
        (
            [*:data] => array
            (
                [server] => 'nginx'
                [date] => 'Thu, 06 Apr 2017 17:45:09 GMT'
                [content-type] => 'text/html; charset=UTF-8'
                [content-length] => '220'
                [x-powered-by] => 'PHP/5.3.10-1ubuntu3.25'
                [cache-control] => 'private, must-revalidate'
                [pragma] => 'no-cache'
                [expires] => '-1'
                [vary] => 'Accept-Encoding'
                [content-encoding] => 'gzip'
                [x-cache] => 'MISS from hproxy2.world4you.com'
                [x-cache-lookup] => 'MISS from hproxy2.world4you.com:3128'
                [via] => '1.1 hproxy2.world4you.com (squid/3.5.20)'
            )
        )
        [body] => '<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
    <h1 style="text-align: center;">Github API Cache</h1>
    </body>
    </html>'
        [response] => array
        (
            [code] => 200
            [message] => 'OK'
        )
        [cookies] => array()
        [filename] => null
        [http_response] => WP_HTTP_Requests_Response
        (
            [*:response] => Requests_Response
            (
                [body] => '<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
    <h1 style="text-align: center;">Github API Cache</h1>
    </body>
    </html>'
                [raw] => 'HTTP/1.1 200 OK
    Server: nginx
    Date: Thu, 06 Apr 2017 17:45:09 GMT
    Content-Type: text/html; charset=UTF-8
    Content-Length: 220
    X-Powered-By: PHP/5.3.10-1ubuntu3.25
    Cache-Control: private, must-revalidate
    Pragma: no-cache
    Expires: -1
    Vary: Accept-Encoding
    Content-Encoding: gzip
    X-Cache: MISS from hproxy2.world4you.com
    X-Cache-Lookup: MISS from hproxy2.world4you.com:3128
    Via: 1.1 hproxy2.world4you.com (squid/3.5.20)
    Connection: close
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    <body>
    <h1 style="text-align: center;">Github API Cache</h1>
    </body>
    </html>'
                [headers] => Requests_Response_Headers
                (
                    [*:data] => array
                    (
                        [server] => array
                        (
                            [0] => 'nginx'
                        )
                        [date] => array
                        (
                            [0] => 'Thu, 06 Apr 2017 17:45:09 GMT'
                        )
                        [content-type] => array
                        (
                            [0] => 'text/html; charset=UTF-8'
                        )
                        [content-length] => array
                        (
                            [0] => '220'
                        )
                        [x-powered-by] => array
                        (
                            [0] => 'PHP/5.3.10-1ubuntu3.25'
                        )
                        [cache-control] => array
                        (
                            [0] => 'private, must-revalidate'
                        )
                        [pragma] => array
                        (
                            [0] => 'no-cache'
                        )
                        [expires] => array
                        (
                            [0] => '-1'
                        )
                        [vary] => array
                        (
                            [0] => 'Accept-Encoding'
                        )
                        [content-encoding] => array
                        (
                            [0] => 'gzip'
                        )
                        [x-cache] => array
                        (
                            [0] => 'MISS from hproxy2.world4you.com'
                        )
                        [x-cache-lookup] => array
                        (
                            [0] => 'MISS from hproxy2.world4you.com:3128'
                        )
                        [via] => array
                        (
                            [0] => '1.1 hproxy2.world4you.com (squid/3.5.20)'
                        )
                    )
                )
                [status_code] => 200
                [protocol_version] => 1.1
                [success] => true
                [redirects] => 0
                [url] => 'http://github-api-cache.unyson.io/'
                [history] => array()
                [cookies] => Requests_Cookie_Jar
                (
                    [*:cookies] => array()
                )
            )
            [*:filename] => null
            [data] => null
            [headers] => null
            [status] => null
        )
    )

    In the above shared log the response message is ok so could you please share the screenshot of error or would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”?

    Attached is the screenshot of the error message, as well as my log in details.

    Thanks for troubleshooting.

     

    Attachments:
    You must be logged in to view attached files.

    ftp account

    When i try to access admin area of your shared site it displays “Authentication required” popup and none of your shared credentials work in it.

     

    Please advise.

    Hello,

     

    sorry to here that…could you try again please with the attached credentials.

     

    Thanks a lot!

    The team of my hoster world4you mentioned that this should be a firewall issue, but github-api-cache.unyson.io is already unlocked.

     

    Are there any other URL access links in the process of installing a demo?

     

    Best regards,

    Hannes

    I logged in to your site but did not find anything related to the issue.

     

    Please try temporary disabling htaccess authentication on your site and then check.

     

    Also try temporary disabling firewall and if required use following solutions.

     

    https://support.shufflehound.com/forums/topic/error-demo-content-install/#post-1292

    https://support.shufflehound.com/forums/topic/demo-content-error-extenssion-zip-is-missing/

    So you could not reproduce the 403 error?

    I could but didn’t find anything directly that is causing this issue so could you please try the solutions as described above?

    Solution for this topic

    Nothing of the proposed methods worked.

    My hoster helped me out by providing a different server with different port config.

    Now I was able to install the demo content.

    Awesome great to see you got that resolved which was server issue.

     

    Please advise if you have more questions.

     

    Have a fantastic day!

Viewing 14 posts - 1 through 14 (of 14 total)