<bdo id='whV01'></bdo><ul id='whV01'></ul>

<small id='whV01'></small><noframes id='whV01'>

      <tfoot id='whV01'></tfoot>
    1. <legend id='whV01'><style id='whV01'><dir id='whV01'><q id='whV01'></q></dir></style></legend>
    2. <i id='whV01'><tr id='whV01'><dt id='whV01'><q id='whV01'><span id='whV01'><b id='whV01'><form id='whV01'><ins id='whV01'></ins><ul id='whV01'></ul><sub id='whV01'></sub></form><legend id='whV01'></legend><bdo id='whV01'><pre id='whV01'><center id='whV01'></center></pre></bdo></b><th id='whV01'></th></span></q></dt></tr></i><div id='whV01'><tfoot id='whV01'></tfoot><dl id='whV01'><fieldset id='whV01'></fieldset></dl></div>

      致命错误:未捕获的异常“ParseParseException",消息为“SSL 证书问题:无法获得本地颁发者

      时间:2023-07-16

      <small id='qwVsB'></small><noframes id='qwVsB'>

        <legend id='qwVsB'><style id='qwVsB'><dir id='qwVsB'><q id='qwVsB'></q></dir></style></legend>
      • <i id='qwVsB'><tr id='qwVsB'><dt id='qwVsB'><q id='qwVsB'><span id='qwVsB'><b id='qwVsB'><form id='qwVsB'><ins id='qwVsB'></ins><ul id='qwVsB'></ul><sub id='qwVsB'></sub></form><legend id='qwVsB'></legend><bdo id='qwVsB'><pre id='qwVsB'><center id='qwVsB'></center></pre></bdo></b><th id='qwVsB'></th></span></q></dt></tr></i><div id='qwVsB'><tfoot id='qwVsB'></tfoot><dl id='qwVsB'><fieldset id='qwVsB'></fieldset></dl></div>

          1. <tfoot id='qwVsB'></tfoot>

              <tbody id='qwVsB'></tbody>
            • <bdo id='qwVsB'></bdo><ul id='qwVsB'></ul>

              1. 本文介绍了致命错误:未捕获的异常“ParseParseException",消息为“SSL 证书问题:无法获得本地颁发者证书"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                这是我第一次使用 parse.com php SDK 并尝试执行以下代码

                This is the first time I use parse.com php SDK and I try to execute the following code

                <?php require '../autoload.php'; 
                use ParseParseObject;
                use ParseParseClient;
                ParseClient::initialize( "Zsr...", "BzM..", "D..." );
                $gameScore = new ParseObject("GameScore");
                $gameScore->set("score", 1337);
                $gameScore->set("playerName", "Sean Plott");
                $gameScore->set("cheatMode", false);
                
                try {
                        $gameScore->save();
                         echo 'New object created with objectId: ' . $gameScore->getObjectId();
                        } catch (ParseException $ex) { 
                          // Execute any logic that should take place if the save fails.
                          // error is a ParseException object with an error code and message.
                          echo 'Failed to create new object, with error message: ' + $ex->getMessage();
                    }
                ?>
                

                但是我得到那个错误

                 Fatal error: Uncaught exception 'ParseParseException' with message 'SSL certificate problem: unable to get local issuer certificate' in /opt/lampp/htdocs/parse/src/Parse/ParseClient.php:250 Stack trace: #0 /opt/lampp/htdocs/parse/src/Parse/ParseObject.php(925): ParseParseClient::_request('POST', '/1/classes/Game...', NULL, '{"score":1337,"...', false) #1 /opt/lampp/htdocs/parse/src/Parse/ParseObject.php(836): ParseParseObject::deepSave(Object(ParseParseObject), false) #2 /opt/lampp/htdocs/parse/src/hola.php(11): ParseParseObject->save() #3 {main} thrown in /opt/lampp/htdocs/parse/src/Parse/ParseClient.php on line 250
                

                代码是教程代码,我没有改过任何东西有人知道是什么问题吗?

                The code it's the tutorial code, iI haven't changed anything anyone knows what's the problem?

                推荐答案

                我也遇到了同样的问题.现在我解决了使用其他论坛的答案.

                I am also getting same issue. Now I resolve using some other forums answer.

                打开你的 ParseClient.php 并找到:

                Open your ParseClient.php and find:

                curl_init();
                

                然后添加行添加:

                curl_setopt($rest, CURLOPT_SSL_VERIFYPEER, false);
                

                它会起作用.

                这篇关于致命错误:未捕获的异常“ParseParseException",消息为“SSL 证书问题:无法获得本地颁发者证书"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:如何使用phonegap和解析发送推送通知 下一篇:使用 Parse 向特定用户发送推送通知

                相关文章

              2. <i id='411an'><tr id='411an'><dt id='411an'><q id='411an'><span id='411an'><b id='411an'><form id='411an'><ins id='411an'></ins><ul id='411an'></ul><sub id='411an'></sub></form><legend id='411an'></legend><bdo id='411an'><pre id='411an'><center id='411an'></center></pre></bdo></b><th id='411an'></th></span></q></dt></tr></i><div id='411an'><tfoot id='411an'></tfoot><dl id='411an'><fieldset id='411an'></fieldset></dl></div>

                    <bdo id='411an'></bdo><ul id='411an'></ul>

                    <small id='411an'></small><noframes id='411an'>

                  1. <tfoot id='411an'></tfoot>

                    <legend id='411an'><style id='411an'><dir id='411an'><q id='411an'></q></dir></style></legend>