把原来服务器上面的WordPress的数据库和目录文件全部备份下来,在本地用xampp搭了一个服务器,然后将数据库和目录文件全部导入,更改conf文件中的数据库账号密码。没想到本地网站的所有CSS样式和模板甚至连后台都进不去了。后来才发现了问题所在,是URL都跳转到原来的域名下面去了,没有跳转到我本... Read More
posted @ 2015-12-01 11:17 定格的有天 Views(316) Comments(0) Diggs(0)
mysql -u root -p wwwfreebiocn<wwwfreebiocn.sql--default-character-set=utf8 Read More
posted @ 2015-10-16 11:11 定格的有天 Views(131) Comments(1) Diggs(0)
User-agent: BaiduspiderDisallow: /w?Allow: /User-agent: GooglebotAllow: /User-agent: Googlebot-MobileAllow: /User-agent: MSNBotAllow: /User-agent: Bai... Read More
posted @ 2015-10-08 10:28 定格的有天 Views(173) Comments(0) Diggs(0)
Forbidden You don't have permission to access / on this server. 解决办法打开 httpd.conf 文件,将# onlineoffline tag- don't removeOrder Deny,AllowDeny from allA... Read More
posted @ 2015-09-14 10:37 定格的有天 Views(133) Comments(0) Diggs(0)
function get_category_recommend_goods($type = '', $cats = '', $brand = 0, $min =0, $max = 0, $ext=''){ $brand_where = ($brand > 0) ? " AND g.brand... Read More
posted @ 2015-08-26 15:49 定格的有天 Views(101) Comments(0) Diggs(0)
打开 /e/search/result/index.php 文件查找require("../../class/connect.php");require("../../class/db_sql.php");require("../../data/dbcache/class.php");require... Read More
posted @ 2015-08-25 11:43 定格的有天 Views(120) Comments(0) Diggs(0)
posted @ 2015-08-19 10:25 定格的有天 Views(156) Comments(1) Diggs(0)
根据IP查主机名: nbtstat -a XXX.XXX.XXX.XXX根据IP查MAC地址: arp -a XXX.XXX.XXX.XXXXXX.XXX.XXX.XXX指代要查的主机的IP Read More
posted @ 2015-08-04 09:17 定格的有天 Views(228) Comments(0) Diggs(0)
打开magento/app/code/core/Mage/Core/Model/Session/Abstract/varien.php//if(isset($cookieParams['domain'])){//$cookieParams['domain']=$cookie->getDomain()... Read More
posted @ 2015-07-22 12:27 定格的有天 Views(113) Comments(0) Diggs(0)
1.在ecs_category 表 添加 template 字段 可以在后台运行sql语句:alter table `ecs_category` Add column template text NOT NULL AFTER `style`前缀自己改2.打开admin/templates/categ... Read More
posted @ 2015-07-01 16:37 定格的有天 Views(281) Comments(0) Diggs(0)