精选文章
最新文章
Uncaught mysqli_sql_exception: Incorrect string value: 'xF0x9Fx91x86xE5x85...' for column
这个问题就是出在将emoji的表情,存入到MySQL的文本字段中。网上很多方法解决,大多都是修改表的字符集。我之前也遇到过,修改字符集确实也解决了,但这次,修改了库、表、字段的字符集。my.ini的配置也改了,还是不行最后只能通过移除这个e...
git统计提交信息的代码
--统计增删改数量 git log --remotes --format='%aN' | sort -u | while read name; do echo -en "$namet"; git log --remotes --author...
使用PHP自带的zip扩展,压缩加密zip文件,并发送到浏览器下载
代码如下:$zipfile=new ZipArchive(); $upgradeFile=__SITEROOT.'_cache/update_'.date('Ymd').'.zip'; if ($zipfile->open($upgrade...
讯飞星火大模型调用接口报错:"header":{"code":10404,"message":"PathDomainError:(15:51:11.840) no category route found"
报错信息:{"header":{"code":10404,"message":"PathDomainError:(15:51:11.840) no category route found","sid":"cht000b7f20@dx18d...
Linux查看内存或CPU占用前10的程序
ps aux | head -1;ps aux |grep -v PID |sort -rn -k +4 | head -10 简单记录一下,备查。
[core:emerg] [pid 31173:tid 139906984314688] (28)No space left on device: AH00023: Couldn't create the ssl-cache mutex AH00016: Configuration Failed
今天Linux下的Apache突然无法访问了,使用命令启动后,也无效,于是看了一下日志,发现日志里面全是报错:[core:emerg] [pid 31173:tid 139906984314688] (28)No space left on...
General error: 1366 Incorrect string value: 'xF0x9Fx91x87<p...' for column 'content' at row 1
使用MySQL的频率较低,今天就遇到这么一个报错:General error: 1366 Incorrect string value: 'xF0x9Fx91x87<p...' for column 'content' at row 1查了...
自己搭建了一个Gemini Pro Chat
使用的是:https://github.com/babaohuang/GeminiProChat这个项目,之前通过官方的示例,用起感觉还行,就是没用两天,广告就太多了,于是自己部署了一个。正好有一台美国VPS,只是配置有点低。没有安装doc...
frp报错:login to server failed: EOF
之前写过一篇记录frp映射报错:login to server failed: EOF 的问题,当时的原因比较明确,客户端版本不一致这次比较奇怪,是用着用着,自动退出后,再次启动客户端报错的。然后,用其他服务器上正在跑的客户端替换掉也不行。...
crontab中任务重复执行的解决办法
使用flock的方式解决:flock -xn test.lock -c 'sh task.sh'在sh文件中,写入,执行一个PHP脚本如下:flock -xn test.lock -c 'php -d memory_limimt=-1 /h...
记录一下Linux下的定时任务crontab
之前启用了定时任务的时候,定时任务会不执行可以尝试一下:#加载任务,使之生效 crontab /etc/crontab以下是一些定义:方式一: ]# crontab –e # 每天早上5点运行 /root/bin/backup.sh 0 5...
UDE-12641: operation generated ORACLE error 12641
expdp导出数据的时候报错:UDE-12641: operation generated ORACLE error 12641 ORA-12641: Authentication service failed to initialize解...