• Hi,
    I installed plugin with certificates inside localhost and all works correctly.
    But now installed plugin on online website, and certificates can’t generate.
    It returns this error:
    PHP Notice: Undefined index: result_id in /data/vhosts/sitename.com/myweb.sitename.com/wp-content/plugins/quiz-master-next/php/admin/admin-results-details-page.php on line 26
    Warning: getimagesize(https://myweb.sitename.com/wp-content/uploads/2019/01/background-file-name.jpg): failed to open stream: HTTP request failed! HTTP/1.1 406 Not Acceptable in /data/vhosts/sitename.com/myweb.sitename.com/wp-content/plugins/qsm-certificate-1.0.0/php/fpdf/fpdf.php on line 1240

    I added the image of the background inside Media library, copied the image URL and pasted inside field of certificate background URL. So same process made on localhost, on localhost background url was like https://localhost/myweb.sitename.com/wp-content/uploads/2019/01/background-file-name.jpg

    I also tryed to add the certificate background image inside another website and set as background url but get another error
    PHP Warning: fopen(https://anothersite/images/background-file-name.jpg): failed to open stream: HTTP request failed! HTTP/1.1 406 Not Acceptable
    in /data/vhosts/sitename.com/myweb.sitename.com/wp-content/plugins/qsm-certificate-1.0.0/php/fpdf/fpdf.php on line 1259

    Also checked file permissions.

    Now inside Result Details on Certificate, by clicking on Generate Certificate.
    I get this error page:
    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    Please help
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter steplab

    (@steplab)

    The fopen error occur when using a url to a png image.
    Also tried to use a jpg image, getimagesize error occurs.
    QSM Logs:
    FPDF error: Missing or incorrect image file: https:// mysite.eu/wp-content/uploads/2019/01/background-filename.jpg

    QSM – version 6.1.2
    QSM – Certificate – version 1.0.0
    Wordpress 4.9.9

    I’m facing this same issue. is there any way to fix this?

    I am also facing the same issue on my site – I installed and put in the license key for the certificate add-on – but it won’t let me use any image as the background for a certificate. I keep getting this error.

    Log created at 2019-03-27 15:17:53: FPDF Error - FPDF error: Can't open image file: https://www.macmh.dk.blueearth.net/wp-content/uploads/2019/03/Therapeutic-Language-CEU-1.png

    QSM – Certificate: 1.0.0
    Quiz And Survey Master: 6.2.2
    WP Version: 5.0.3
    PHP : 7.2.14
    MySQL : 5.5.5
    Webserver : nginx/1.14.1

    Anyone find a fix for this yet?

    Plugin Contributor quizsurvey

    (@quizsurvey)

    Please use this email [email protected] to get support for paid plugins.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Background certificate image error’ is closed to new replies.