Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xampp下js->config报错 #366

Closed
zuoa opened this issue Mar 29, 2016 · 1 comment
Closed

xampp下js->config报错 #366

zuoa opened this issue Mar 29, 2016 · 1 comment

Comments

@zuoa
Copy link

zuoa commented Mar 29, 2016

xampp环境调试调试

PHP 版本:5.6.15
overtrue/wechat 版本:3.0

问题及现象

调用

wx.config(<?php echo $js->config(array('onMenuShareQQ', 'onMenuShareWeibo'), true, true, false) ?>);

输出错误:

    wx.config(<br />
<b>Fatal error</b>:  Uncaught exception 'GuzzleHttp\Exception\RequestException' with message 'cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' in F:\xampp\htdocs\airimos-wechat\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187
Stack trace:
#0 F:\xampp\htdocs\airimos-wechat\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 F:\xampp\htdocs\airimos-wechat\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 F:\xampp\htdocs\airimos-wechat\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 F:\xampp\htdocs in <b>F:\xampp\htdocs\airimos-wechat\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php</b> on line <b>187</b><br />

@zuoa
Copy link
Author

zuoa commented Mar 29, 2016

@zuoa zuoa closed this as completed Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant