分页: 12 / 12

Re: 如何屏蔽某个国家、地区的用户访问网店?

帖子发表于 : 2012-12-02 10:28
rockhaiok
thanks for your help, jack, i wanna to appreciate you to my all friends of mine. lol~~~

Re: 如何屏蔽某个国家、地区的用户访问网店?

帖子发表于 : 2014-04-03 2:00
zxl
Jack 写道:.htaccess中可以除去自己的IP,例如:

order deny,allow <-- 注意这里的写法
allow from 220.249.1.2 <-- 这里输入自己的IP或IP段
allow from 220.250.3.0/24 <-- 这里输入自己的IP或IP段
deny from 58.14.0.0/15
deny from 58.16.0.0/16
.....


请教JACK,如果IP是220.250.1.xx 那么IP段应该怎么写?是写成220.250.1. 还是220.250.1.1/16?

MySQL error 1045: Access denied for user ''@'localhost' (usi

帖子发表于 : 2015-01-19 16:29
liwoon
zen cart 中文插件版1.5.4安装成功,后台工具下点“批量商品管理”出息错误信息: 发现SQL错误。请检查输入数据中的制表符并删除。如果还有错误,请附错误记录并在论坛上提出。
打开ep_debug_log.txt,内容如下:
MySQL error 1045: Access denied for user ''@'localhost' (using password: NO)
When executing:
select distinct products_options_id from products_options order by products_options_id
MySQL error 1045: Access denied for user ''@'localhost' (using password: NO)
When executing:
select languages_id, name from languages where code = 'gb'
MySQL error 1045: Access denied for user ''@'localhost' (using password: NO)
When executing:
select languages_id, code from languages order by sort_order
请高手指点迷津!mysql用户和密码都是默认的root,没有问题。