The Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error can be displayed in the Scriptcase interface in two situations
- When using the Google-integrated Calendar application
- When using the Google Drive API
So that the error doesn't happen anymore, follow the step by step below:
Download and Rename the File
1 - Download the cacert.pem file by clicking on the link below.
2 - After download, rename the cacert.pem file to curl-ca-bundle.crt
When trying to rename the file, a dialog box will appear asking you to confirm the change of the file extension. Click Yes to confirm.
Move and Edit the php.ini file
3 - After renaming the file, place it in the directory ..\NetMake\v9-php73\components\php\extras
The location of the extras folder varies depending on the settings made in your installation.
When using our installer with default values, the folder can be found in the directory below:
..\NetMake\v9-php73\components\PHP\
4 - Access the php.ini file located at ..\NetMake\v9-php73\components\php\
5 - After opening the file, locate the line ;curl.cainfo = ""
6 - Change the contents of this line to:
curl.cainfo = "caminho_completo\NetMake\v9\components\php\extras\curl-ca-bundle.crt"
Restart the Apache Service
7 - To finish applying the changes, restart the apache service.
Press windows + R to open the windows run.
8 - Type services.msc and click OK
9 - On the services screen, look for ApacheScriptcase9php73, select the service and click on restart.
10 - Wait for the process to end, after the end, google resources within Scriptcase can be used normally.