41 篇
建站知识总结与分享
搜索“file”
thinkadmin本地部署,访问的时候提示No input file specified
taotaoit 0 0
564 0 2023-07-24 ThinkPHP6
ThinkAdmin官方安装文档 https://doc.thinkadmin.top/install 安装好之后,用命令 php think run --host 127.0.0.1 启动,然后用 http://127.0.0.1:8000 可以正常反问。 但是我是配置好了phpstudy,...
tp5.1 Warning: require(E:\phpstudy_pro\WWW\shangpinhui.cc\public/../thinkphp/base.php): failed to open stream: No such file or directory in
web 0 0
795 0 2022-11-23 ThinkPHP5.1
从git仓库下载的thinkphp5.1的项目,运行报错: tp5.1 Warning: require(E:\phpstudy_pro\WWW\shangpinhui.cc\public/../thinkphp/base.php): failed to open stream: No such file or director...
EasySass: could not generate CSS file. See Output panel for details.
web 4 0
4009 1 2022-10-20 VSCode
vscode安装easy sass插件,使用的时候提示错误 EasySass: could not generate CSS file. See Output panel for details. 是文件后缀名不对,是scss不是sass,正确书写如下: settings.json 中配置内容如下...
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
web 0 0
730 0 2022-10-18 Git
gitee上修改了代码,本地也修改了代码, git pull遇到错误:error: Your local changes to the following files would be overwritten by merge: 意思是我台式机上新修改的代码的文件,将会被git服务器上的代码覆盖;我当然不想刚刚写的...
Error: Can’t resolve ‘./src’ in ‘E:\ASUS\Documents\VSCode files\WebPackProject’
web 0 0
946 0 2022-07-11 Vue
实测解决:ERROR in Entry module not found: Error: Can’t resolve ‘./src’ in ‘E:\ASUS\Documents\VSCode files\WebPackProject’ 官方中明确说明,如果使用配置文件使用 webpack 打包项目,则文件名是 webpack.config...
no input file specified虚拟主机解决方法
web 0 0
1397 0 2022-01-18 其他
no input file specified虚拟主机解决方法 网站本来部署在阿里云服务器上,转移到虚拟主机上,提示如下错误: no input file specified 原因是因为,把云服务器里的.user.ini文件传到虚拟主机了。 把.user.ini文件删了,就可以了。 如果看不到.user....
tp6 获取上传文件后缀扩展名$file->extension()
taotaoit 2 0
2197 0 2021-12-23 ThinkPHP6
tp6 获取上传文件后缀扩展名$file->extension() public function upload(){ // 获取表单上传文件 例如上传了001.jpg $file = request()->file('image'); // 扩展名 echo $file->extension()...
ThinkPHP中 文件上传函数Filesystem:putFile 问题
web 0 0
2114 0 2021-12-14 ThinkPHP6
代码: $fileName = Filesystem::putFile(‘video’, $file, ‘uniqid’); uniqid:没有日期文件夹,存在runtime文件夹里的 代码: $fileName = Filesystem::disk(‘public’)->putFile(‘video’, $fi...
宝塔安装网站防篡改程序后,dedecms织梦页面提示DedeTag Engine Create File False
taotaoit 0 0
1650 0 2021-06-08 宝塔
宝塔安装网站防篡改程序后,dedecms织梦页面提示DedeTag Engine Create File False 织梦首页是动态预览的,提示DedeTag Engine Create File False 点开防篡改程序“设置”,点击对应网站“保护”,删除“html”,就可以正常访问织梦网站了
微信小程序getUserProfile后解密没有openId了?
web 0 0
2310 0 2021-04-30 微信开发
getUserProfile本身就是不返回openid的,需要openid用login接口 人人商城接口文件返回openid public function login() { global $_GPC; global $_W; $code = trim($_GPC['code']); if (empt...
人人商城小程序昵称变成了“微信用户”头像也不显示?getUserInfo换成getUserProfile
taotaoit 8 7
9012 2 2021-04-30 人人商城
小程序调试时,突然发现获取到的用户昵称变成“微信用户”和头像也非用户微信头像了,原因是微信小程序更新了接口wx.getUserProfile之后导致的 2021年4月28日24时后发布的小程序新版本,无法通过wx.getUserInfo与<button open-type="getUserInfo"/>获取用户个人信息...
dedecms织梦生成静态页面提示DedeTag Engine Create File False
taotaoit 0 0
1617 0 2020-10-27 DedeCMS
dedecms织梦生成静态页面提示DedeTag Engine Create File False 站点、文件夹权限不足造成无法建立文件。 网站文件夹应该是只读权限,改成可读可写权限就可以了
Warning: POST Content-Length of 29328854 bytes exceeds the limit of 8388608 bytes in Unknown on line
web 0 0
1476 0 2020-10-23 其他
报错:Warning: POST Content-Length of 29328854 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 在php.ini中将以下两个参数改大,如果没有则加上,加完后记得保存重启集成环境 upload_max_files...
thinkphp3.2使用phpstudy出现No input file specified
web 0 0
1899 0 2020-09-26 ThinkPHP
thinkphp3.2使用wamp正常运行,换到phpStudy伪静态的时候提示“No input file specified” 解决方法:打开.htaccess 在RewriteRule 后面的index.php教程后面添加一个“?” 之前: <IfModule mod_rewrite.c> Opt...
开启服务器防火墙导致ftp连接不上
taotaoit 0 0
1663 0 2020-09-26 其他
服务器是windows2016,用phpStudy面板架设的服务器环境,端口21也允许通过防火墙了, 可是,ftp还是连不上,关闭防火墙可以连上。 解决方法: 1,【控制面板>防火墙>允许应用或功能通过防火墙】 2,点击【允许其他应用>浏览】,选择phpStudy的安装路径下的C:\p...
表单input="file" 浏览时只显示指定文件类型
web 0 0
1915 0 2019-09-17 其他
设置表单input="file" 浏览时只显示指定文件类型 For CSV files (.csv), use: <input type="file" accept=".csv" /> For Excel Files 2003-2007 (.xls), use: <input type="file" acce...
关于本站

“最难不过坚持”

本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作

有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339

6414704 2611 39
最新评论
https://jueru.net/
评 留言
:weixiao:
评 留言
:shuijiao: :weiqu: :zhenbang: :leng:
评 留言
:yiwen: :yiwen: :yiwen: :yiwen:
评 EasySass: could not generate CSS file. See Output panel for details.
这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
评 TP6模型事件-查询后onAfterRead不好用
文章标签更多
ThinkPHP (254)
Mysql (58)
DedeCms (33)
jQuery (67)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)