关于ecshop搭建报错问题解决

问题一:商城首页报错 Strict Standards: Only variables should be passed by reference in D:\wamp\ecshop\includes\cls_template.php on line 422
解决方法:
找到提示错误的文件 cls_template.php 及行号
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag);
$tag_sel = array_shift($tag_arr);

问题二:后台首页报错 Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\wamp\www\ecshop\includes\lib_base.php on line 346
解决办法
找到D:\wamp\www\ecshop\includes\cls_image.php文件 Continue reading →

This entry was posted in PHP and tagged .

随笔

在sql语句中query只能用于查询execute用于执行

This entry was posted in PHP and tagged .

Git 命令行模式

git clone 克隆远程仓库到本地

git clone git@10.0.3.203:Mythacker/Mythacker.git

git add 将文件添加到缓存

git add --all(也可使用.来通配所有,也可以使用文件名)

git status 查看你的文件在工作目录与缓存的状态

git status(-s 简短的输出)
执行 git status 以查看在你上次提交之后有什么被修改或者临时提交了,
Continue reading →

This entry was posted in Linux and tagged .