php代码日常错误
懵懂and无知
= = 学好php 走遍天下
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
支付宝支付 在ios上面始终没有反应,唤醒不了支付宝支付 ios调用支付宝崩溃问题uni.requestPayment无反应
uni.requestPayment 问题解决最近做支付宝调起 遇到这个问题安卓可以成功调用支付宝app支付 ios不行 没反应(崩溃,闪退)$arr['out_trade_no'] = strval($order['order_id']);最后原因找到了 就是后端的这个参数没有设置字符串类型看了支付宝文章发现改字段必须要string类型,至于我们之前一直可以支付可能是前段打包的sdk更新了,新的sdk严格了这个类型,否则直接报错(php弱类型语言,大家都容易去忽略变量的类型)原创 2021-04-07 17:44:08 · 2531 阅读 · 1 评论 -
SendBufferToWorker fail. The connections between Gateway and BusinessWorker问题
SendBufferToWorker fail. The connections between Gateway and BusinessWorker问题解决我是因为一台服务器 同时启动了两个worker 应该是注册冲突了原创 2021-03-04 17:19:16 · 2379 阅读 · 1 评论 -
记录一个 tp5 写入日志权限 root跟www权限问题
cli 日志 先行写入 导致 www后续根本写不进去 直接出错。 没有目录权限 没有写入权限先附上错误信息 thrown in /usr/local/nginx/html/diaodu/thinkphp/library/think/log/driver/File.php on line 245" while reading response header from upstream, client: 192.168.0.110, server: 127.0.0.1, request: "OPTION原创 2021-02-20 18:12:38 · 1990 阅读 · 0 评论 -
遇到问题 linux workerman self::$eventClassName . ‘::instance‘; Call to undefined function app\push\con
/** * 消息事件回调 * @var string */ protected static $eventClassName = \app\push\controller\Push::class; /** * 当客户端发来消息时触发 * @param int $client_id 连接id * @param mixed $message 具体消息 */ public static function onM...原创 2020-11-09 16:17:01 · 164 阅读 · 0 评论
分享