搜索结果

Server

lnmp环境搭建与Nginx配置

1461

点击购买阿里云服务器首先,安装编译软件及其它相关软件(此操作为可选项,根据个人需求决定是否安装)yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-

PHP

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

896

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

PHP

在 Laravel 5 中安装 Intervention Image(GD库)

1975

 Intervention Image 是一个PHP图片操作处理库,为图片创建、修改及压缩等处理提供了便捷方式。此外,还提供了服务提供者和门面以便集成到Laravel应用中。1、安装  安装Intervention Image之前,需要确保PHP

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/bed9258d21ebe9f801cc4b4e24984e70254652ff', 'contents' => 'a:4:{s:6:"_token";s:40:"HUgHT9qHBVBCFYJIG19zGMlwN5EitjMAZf33xGNN";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544002";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822910;s:1:"c";i:1542822910;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/bed9258d21ebe9f801cc4b4e24984e70254652ff', 'a:4:{s:6:"_token";s:40:"HUgHT9qHBVBCFYJIG19zGMlwN5EitjMAZf33xGNN";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544002";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822910;s:1:"c";i:1542822910;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/bed9258d21ebe9f801cc4b4e24984e70254652ff', 'a:4:{s:6:"_token";s:40:"HUgHT9qHBVBCFYJIG19zGMlwN5EitjMAZf33xGNN";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544002";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822910;s:1:"c";i:1542822910;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('bed9258d21ebe9f801cc4b4e24984e70254652ff', 'a:4:{s:6:"_token";s:40:"HUgHT9qHBVBCFYJIG19zGMlwN5EitjMAZf33xGNN";s:9:"_previous";a:1:{s:3:"url";s:37:"http://icodes.cc/findbytag/1490544002";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822910;s:1:"c";i:1542822910;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