-
## 我用的环境
* PHP 版本:php 5.6
* overtrue/wechat 版本:3.x
* 是否使用了框架?框架名称:ThinkPHP 5.0.24
## 问题及现象
请教:如果采用如下配置
```
$options=[
'mini_program'=>[],
];
```
那么小程序支付是不是应该写作:
```
$app=new Applicati…
-
1)nginx、mysql、php 5.6.16
目前卡在nginx 的配置上
location / {
root /tmp/mnt/系统-A/cloud;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
…
-
## 我用的环境
* PHP 版本:7.3
* overtrue/wechat 版本:最新
* 是否使用了框架?框架名称:thinkphp
## 问题及现象
-
升级到1.5.5打开提示"Fatal error: Call to undefined function str_rand()"
网站:https://i.moeblog.top
-
> 设置cookie
![image](https://user-images.githubusercontent.com/9101275/62478729-62d10900-b7de-11e9-93ef-732e1643d774.png)
> 获取cookie
![image](https://user-images.githubusercontent.com/9101275/6247…
-
## 我用的环境
PHP 版本:PHP 7.2.4
overtrue/wechat 版本:4.1.30
是否使用了框架?框架名称:ThinkPHP 5.1
## 问题及现象
Failed to cache access token
还原到版本4.1.25后没有这个问题了
-
## 包版本号
2.8.4
## 问题描述
框架是`thinkphp v5.1.38.1`,使用`think php run`运行,也就是直接`http://127.0.0.1:8000/`运行是正常的,但是配置域名后运行就会报错
> [0] ThrowableError in EventDispatcher.php line 301
> 致命错误: Call to undefine…
-
这样用:
\think\facade\Log::error('代志大条了');
$ding = new \bingher\ding\DingBot;
$ding->text('测试信息');
[2] ErrorException in DingBot.php line 40
array_merge(): Expected parameter 1 to be an array, boo…
-
## 我用的环境
* PHP 版本:5.6.30
* overtrue/wechat 版本:3.3.33
* 是否使用了框架?框架名称:thinkphp 3.2.3
* 其他:IIS 7.5 window2008 R2
## 问题及现象
报错: The directory "C:\Windows\TEMP" is not writable.
![image](https:…
-
5.1路由开启完全匹配时,url若以斜杠结尾则报“当前访问路由未定义或不匹配”的错误。
BUG复现:
路由为“Route::get('admin/verify', 'admin/Account/verify');”,
域名为“http://test.cn”,
访问“http://test.cn/admin/verify”正常,
但访问“http://test.cn/admin/ver…