2024年2月6日

git删除大文件

摘要: git filter-branch --force --index-filter 'git rm -rf --cached --ignore-unmatch 文件路径' --prune-empty --tag-name-filter cat -- --all 文件路径是从项目根路径计算的 阅读全文

posted @ 2024-02-06 10:43 pa200318 阅读(9) 评论(0) 推荐(0) 编辑

2020年5月11日

mysql 根据binlog 找到操作的sql

摘要: /usr/local/mysql/bin/mysqlbinlog --base64-output=decode-rows --start-position="164158078" mysql-bin.000017 > 000017.sql 上述是针对起始位置 164158078 到结束 导入到 00 阅读全文

posted @ 2020-05-11 21:02 pa200318 阅读(602) 评论(0) 推荐(0) 编辑

2019年7月25日

lnmp一键安装包 php location问题

摘要: location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; }... 阅读全文

posted @ 2019-07-25 11:43 pa200318 阅读(114) 评论(0) 推荐(0) 编辑

2019年7月22日

magento 1 search Incorrect

摘要: 文件目录app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php 大约 345 ~ 347 行注释掉 在347行下添加下面2行 阅读全文

posted @ 2019-07-22 16:28 pa200318 阅读(128) 评论(0) 推荐(0) 编辑

2019年5月9日

How to Fix Magento Login Issues with Cookies and Sessions

摘要: Cookies are configured in Magento via the Configuration admin menu – System > Configuration > General > Web. 参考:https://www.sitepoint.com/fix-magento- 阅读全文

posted @ 2019-05-09 14:14 pa200318 阅读(126) 评论(0) 推荐(0) 编辑

2019年4月29日

nginx ssl 配置

摘要: 以上环境是 lnmp1.5 和阿里云ssl nginx配置 阅读全文

posted @ 2019-04-29 14:37 pa200318 阅读(254) 评论(0) 推荐(0) 编辑

2019年4月20日

magento 1.9 nginx 404

摘要: 原来的nginx 配置 lnmp 环境默认的 修改为 想必你们知道是什么原因了吧 阅读全文

posted @ 2019-04-20 12:15 pa200318 阅读(182) 评论(0) 推荐(0) 编辑

2019年3月12日

Golang之接口

摘要: 阅读全文

posted @ 2019-03-12 14:09 pa200318 阅读(110) 评论(0) 推荐(0) 编辑

2019年1月8日

magento 1.9 上传后图片前后台无法正常显示

摘要: 1、上传后图片不显示,设置 允许 flash 2、保证php 执行是内存大小至少为为128M,多种方式设置,这里以init_set为例子,在index.php 加入下面一行代码,根据情况而定 阅读全文

posted @ 2019-01-08 22:37 pa200318 阅读(373) 评论(0) 推荐(0) 编辑

2018年11月19日

docker WARNING: IPv4 forwarding is disabled. 解决方法

摘要: 在宿主机添加如下信息 阅读全文

posted @ 2018-11-19 16:12 pa200318 阅读(140) 评论(0) 推荐(0) 编辑

导航