Images not showing after upload

This topic contains 10 replies, has 3 voices, and was last updated by  soupmeister 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #469628

    soupmeister
    Expired Member
    Post count: 56

    Hi
    somewhere in this forum, I found the post about the above. Images are not showing up after upload neither in the front nor backend. I have the same issue.

    You checked the website and the error was something about “cURL error 60: SSL certificate problem: unable to get local issuer certificate” I believe.

    I think I have the same problem and contacted my hosting people and they responded and said: “The reason is because you are not using cURL correctly. use -k -I and you will see there is no error with the domain or ssl.”

    Can I ask you a favour please: Can you check and confirm if this is the same issue I have and if so have you got a pointer for me how I should “use -k and -I correctly” I have no idea how to change those cURL settings. I have Plesk panel and SSH access and everything still no idea where to change that.

    I’ll send you admin access and FTP access in the next post

    If you could have a look that would be awesome

    Thanks Lars

    #469631

    soupmeister
    Expired Member
    Post count: 56
    This reply has been marked as private.
    #469632

    Alex Rollin
    Moderator
    Post count: 27815

    ok, the developers have been alerted.

    You are using GDV2. PLEASE post to the appropriate subforum in the future.

    #469642

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have done some debugging and found SSL certificate is not setup correctly. It shows following error during debugging.

    cURL error 60: Peer certificate cannot be authenticated with known CA certificates

    Please ask your server admin to look into this.

    For temporary fix you can use following code snippet.

    
    
    /**
     * Filter http request args.
     */
    function gd_snippet_190217_http_request_args( $args, $url ) {
    	/*
    	 * // Disable CURLOPT_SSL_VERIFYPEER to temporary fix: cURL error 60: Peer certificate cannot be authenticated with known CA certificates.
    	 */
    	$args['sslverify'] = false;
    
    	return $args;
    }
    add_filter( 'http_request_args', 'gd_snippet_190217_http_request_args', 10, 2 );

    Thanks,
    Kiran

    #469661

    soupmeister
    Expired Member
    Post count: 56

    Thanks Kiran,

    where do I put the code snippet?

    Lars

    #469663

    Kiran
    Moderator
    Post count: 7069
    #469687

    soupmeister
    Expired Member
    Post count: 56
    This reply has been marked as private.
    #469691

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #469695

    soupmeister
    Expired Member
    Post count: 56

    Thanks Kiran much appreciated and thanks for staying with me 🙂

    How can I re-save the permalinks myself so I don’t have to bother you again?

    Cheers
    Lars

    #469699

    Kiran
    Moderator
    Post count: 7069

    From WordPress Admin > Settings > Permalinks > Save Changes 🙂

    #469906

    soupmeister
    Expired Member
    Post count: 56

    Thanks Kiran- actually to be precise you need to select another opption – save changes – then select “post” option again and save again – at least that’s how it works for me

    Thanks, guys for your super lightning fast support – shows I bought the right directory!

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket