GIT子模块容易踩的坑
Others

GIT子模块容易踩的坑

1693

首先进入项目目录,并执行命令 git submodule add 【空格】【子项目代码仓库地址或目录】【空格】 【子模块存放目录】,如图:通过以上命令成功将远程代码仓库中的子项目作为子模块存放在了当前项目下的addons/hz_moduletest这个目录里,接下来执行

Sublime快捷键大全
Others

Sublime快捷键大全

1426

sublime text 3 快捷键大全以及配置编译环境Sublime text 3是码农最喜欢的代码编辑器,每天和代码打交道,必先利其器,掌握基本的代码编辑器的快捷键,能让你打码更有效率。刚开始可能有些生疏,只要花一两个星期坚持使用并熟悉这些常用的快捷键!Sublim

织梦如何自定义404页面(通用于虚拟机、云服务器等)
Others

织梦如何自定义404页面(通用于虚拟机、云服务器等)

651

织梦默认没有404页面的,为了SEO只能自定义404页面。这么一个简单的问题,折腾了两个多小时。开始以为可以在织梦后台里设置,找了半天,后来又百度查,说虚拟主机可以在主机后台设置。。。可是我是服务器啊,linux操作系统、lnmp环境,百度居然没有搜到一篇攻略讲织梦如何

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

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

1198

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

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 81: file_put_contents(): Only 0 of 269 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 269 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/bfc556d590d250acaf7d8334d622f9a9c2400ca7', 'contents' => 'a:4:{s:6:"_token";s:40:"kbdq2QGZJYKOWi63HanJRJb4GBQUWSzswBa3K1ae";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/others";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822616;s:1:"c";i:1542822616;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/bfc556d590d250acaf7d8334d622f9a9c2400ca7', 'a:4:{s:6:"_token";s:40:"kbdq2QGZJYKOWi63HanJRJb4GBQUWSzswBa3K1ae";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/others";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822616;s:1:"c";i:1542822616;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/bfc556d590d250acaf7d8334d622f9a9c2400ca7', 'a:4:{s:6:"_token";s:40:"kbdq2QGZJYKOWi63HanJRJb4GBQUWSzswBa3K1ae";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/others";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822616;s:1:"c";i:1542822616;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('bfc556d590d250acaf7d8334d622f9a9c2400ca7', 'a:4:{s:6:"_token";s:40:"kbdq2QGZJYKOWi63HanJRJb4GBQUWSzswBa3K1ae";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/others";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822616;s:1:"c";i:1542822616;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