搜索结果

Server

如何解决mysql服务经常会自动终止的问题

672

最近在帮客户网站搬家的时候遇到一个比较奇怪的问题,网站搬家后服务器的mysql服务偶尔会莫名其妙的自动终止,而重启服务会报“ERROR! The server quit without updating PID file”这个错误,开始认为对方的服务器被攻击了,经过一番

Others

织梦忘记后台登陆密码以及修改数据库密码的方法

1198

先说忘记后台密码,和Discuz!修改数据库密码不同的是,织梦的管理员数据是存到‘dede_admin’这个表里的,‘pwd’字段就是密码,通过MD5方式加密,所以只需要登录phpmyadmin后点开‘dede_admin’表,编辑‘admin’这个用户,将‘pwd’的

PHP

Unknown column 'conuintoken' in 'field list'

685

搭建爱代码社区论坛有一段时间了,当时QQ登陆功能不能启用,因为忙就一直放着没搞,今天试着又启用了一下,没想到成功了,但是用QQ登陆的时候却报了下边这个错误:Unknown column 'conuintoken' in&nb

PHP

Laravel框架管理员动态权限的实现

896

实现laravel框架管理员动态权限,首先需要建立用户组表(也称角色表),如下图:然后,用户表里添加gid字段,即用户组表的id这样,每个用户就和用户组关联了,接下来创建权限表,权限即路由规则,把每个路由规则都写进该表,如下图:接着,创建用户组的权限节点表,将用户组的I

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 81: file_put_contents(): Only 0 of 274 bytes written, possibly out of free disk space

  1. in Filesystem.php line 81
  2. at HandleExceptions->handleError('2', 'file_put_contents(): Only 0 of 274 bytes written, possibly out of free disk space', '/data/home/qxu1649280102/htdocs/local/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', '81', array('path' => '/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/699f2cc06b5fc5e9d20c4870ca47c13e12871e48', 'contents' => 'a:4:{s:6:"_token";s:40:"i70NGUXDrIV2Mr4p8J2YHKHpwY27BQUppZ25qXpM";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544003";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542823371;s:1:"c";i:1542823371;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/699f2cc06b5fc5e9d20c4870ca47c13e12871e48', 'a:4:{s:6:"_token";s:40:"i70NGUXDrIV2Mr4p8J2YHKHpwY27BQUppZ25qXpM";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544003";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542823371;s:1:"c";i:1542823371;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', '2') in Filesystem.php line 81
  4. at Filesystem->put('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/699f2cc06b5fc5e9d20c4870ca47c13e12871e48', 'a:4:{s:6:"_token";s:40:"i70NGUXDrIV2Mr4p8J2YHKHpwY27BQUppZ25qXpM";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544003";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542823371;s:1:"c";i:1542823371;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('699f2cc06b5fc5e9d20c4870ca47c13e12871e48', 'a:4:{s:6:"_token";s:40:"i70NGUXDrIV2Mr4p8J2YHKHpwY27BQUppZ25qXpM";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544003";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542823371;s:1:"c";i:1542823371;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 262
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 145
  8. at Kernel->terminate(object(Request), object(Response)) in index.php line 60