在ubuntu下面安装了一个wordpress程序,在后台什么都没干,编辑主题时,发现页面中报下面的错误. notice: /home/wwwroot/test.localhost/wordpress/wp-content/themes Warning: scandir() has been disabled 这个是什么情况呢,赶快到网上搜了一下. 原来是scandir被禁用了.通过lnmp探针也可以看到. 很简单,编辑php.ini文件 disable_functions = scandir,…
服务器环境: LNMP 在服务器部署代码时候.遇到了这个问题. 蛋疼啊! 2 解决办法:  打开phpinfo.php , 搜索: scandir 找到disabled_function,确认此函数未开启 3  打开文件: /usr/local/php/etc/php.ini 删除  scandir,     保存 4  重启,网上说重启fpm什么的..我试了下没成功.. 直接进入服务器后台,重启服务器,简单粗暴 5  打开测试.成功…
原因:LNMP 0.9禁用了部分存在危险的PHP函数 LNMP0.9禁用的PHP函数包括:passthru, exec, system, chroot, scandir, chgrp, chown, shell_exec, proc_open, proc_get_status, ini_alter, ini_alter, ini_restore, dl, pfsockopen ,openlog, syslog, readlink, symlink, popepassthru, stream_so…
ytkah在用composer安装插件时出现了shell_exec() has been disabled for security reasons错误提示,这个是php配置的问题,shell_exec() 函数被禁用了.怎么解决呢? shell_exec() has been disabled for security reasons 打开php.ini,搜索disable_functions,代码如下: disable_functions = scandir,passthru,exec,sy…
Elasticsearch 报错: Fielddata is disabled on text fields by default. Set `fielddata=true` on [`your_field_name`] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. 解决:https://www.e…
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build. add resolve: { /**解决报错 [Vue warn]: You are using the run…
解决报错:import sun.misc.BASE64Decoder无法找到 2017年09月29日 16:03:26 chaoyu168 阅读数:2116 标签: sun.misc.BASE64DecodBASE64.jar 更多 个人分类: AndroidJava 所属专栏: Android开发   版权声明:本文为博主原创文章,转载请标明出处. https://blog.csdn.net/chaoyu168/article/details/78134807 项目中import sun.mi…
解决vue不相关组件之间的数据传递----vuex的学习笔记,解决报错this.$store.commit is not a function https://www.cnblogs.com/jasonwang2y60/p/6433082.html…
原创文章,转载请注明出处. coures curses 库 ( ncurses )提供了控制字符屏幕的独立于终端的方法.curses 是大多数类似于 UNIX 的系统(包括Linux)的标准部分,而且它已经移植到 Windows 和其它系统. 安装包   http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses 安装   pip install whl文件名 可以应对python程序的报错: from _curses import * ImportErr…
好家伙,来解决报错:axios is not defined 写前端嘛,修bug,不寒颤 进入页面一片空白 来看看报错: 1.axios在安装时:npm install axios --save-dev 2.在项目中的main.js文件中添加配置: import axios from 'axios' Vue.prototype.$axios = axios 3.将组件中调用axios的语句 axios.post //get,catch之类的,改法一样 改为 this $axios.post 于是…