unix:///var/run/supervisor.sock no such file

unix:///var/run/supervisor.sock no such file 解决办法:

sudo touch /var/run/supervisor.sock
sudo chmod 
...

Read More...


因为小程序不允许 用navigate 在tab间相互跳转

利用代码打印看一下console就知道..

complete: function (res) {
                consol
...

Read More...


The server quit without updating PID file

The server quit without updating PID file (/data/mysql/mysql.pid).

半夜12点,收到百度短信...说我 一个站 挂了....

...

Read More...


notifynder4 简单翻译了一下文档

安装

使用composer安装

composer require fenos/notifynder:^4.0

配置

config/app.php里添加

'providers' => [
 
...

Read More...


mysql5.7关闭严格模式

更改字段,结果有些默认值 报错...

ERROR 1067 (42000): Invalid default value for 'created_at'

但是在5.6版本里没事...

所以,打算

...

Read More...


laravel的ID加密,但是函数报错php-bcmath安装

打算加密ID,用了一个包,但是报了错

FatalThrowableError in Math.php line 102: Call to undefined function Hashids\bcm

...

Read More...


ReflectionException Class ClassName does not exist

下午进行github登录,结果一直报错..

ReflectionException in Container.php line 719: Class request does not exist

...

Read More...


golang websocket 跨域问题

首先,因为跨域报错

服务器端日志

websocket: 'Origin' header value not allowed

前端报错:

WebSocket connection to 'ws:/

...

Read More...


panic: redis: you open connections too fast

panic: redis: you open connections too fast (last_error="EOF")

redis连接太快?

其实就是次数太多.. 毕竟代

...

Read More...


go 定义复杂的json数据

go 定义复杂的json数据

前端需要一种复杂的json数据

类似于

    {
        "citys":[{
            "name":"哈哈",
               
...

Read More...


mysql5.7的groupby 报错

执行mysql语句报错!

ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contain

...

Read More...


Your configuration does not allow connections

新电脑安装composer,但是报错了!

  [Composer\Downloader\TransportException]
  Your configuration does not allow 
...

Read More...


当你能力不能满足你的野心的时候,你就该沉下心来学习