Hi there,
I need some help with the certificates. We are having an issue with the certificates. It shows as soon as you finish the course the certificate. But when i log again it shows me the error: “the image not could not be loaded” . This is a huge problem because students then are not able to see their certificate. Only once.
I could not send the credentials because the private mark is no appearing.
Thanks,
Marta
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hi,
Please contact your host provider and ask them to active this library "GD image library".
Also share your ftp credentials in a private reply.
This reply has been marked as private.
Hi,
As said in previous reply.
Please confirm to your host provider about "GD image library".
This library must be active for this.
This reply has been marked as private.
Hi ,
It may also be related to the base64 data being posting to server .
Please provide me some time to check this issue . We need to debug this at code level . do ping back for a reminder please .
This reply has been marked as private.
Hi I did checked your site and found that the image file that is created. When image bits are not uploading to the server hence creating a blank image with no data due to server security.
Somehow editing r writing file via code is denied on your server . Please conact your webhoston this or try disabling the security and caching plugins you have .
Hey guys,
The server has now all permissions and security opened. Now you can help me without any problems.
I'll be awaiting for your answer.
Well I debugged it further and came to conclusion that wordpress core function put_contents is not working .
The issue is with the file system .
Your file system has to be direct in order to save the certificate image on server .
refer :
https://alex.blog/2009/05/07/wordpress-how-to-force-direct-filewrites-for-upgrades/
This reply has been marked as private.
Try adding these lines in your wplms-customizer.php file in wplms customizer plugin :
define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0777 );
define( 'FS_CHMOD_FILE', 0777 );
add_filter( 'filesystem_method', create_function( '$a', 'return "direct";' ) );