Arhiv za avgust, 2013

安装Directadmin遇到错误

安装Directadmin遇到

*** Cannot find /usr/include/et/com_err.h. (yum install libcom_err-devel) ***
Installation didn’t pass, halting install.
Once requirements are met, run the following to continue the install:
cd /usr/local/directadmin/scripts
./install.sh
Common pre-install commands:

http://help.directadmin.com/item.php?id=354

==================
yum install libcom_err-devel
==================
Skupaj 972 kb / s | 116 MB 02:02
tek rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
keyutils-libs-devel is needed by krb5-devel-1.10.3-10.el6_4.1.i686
libselinux-devel is needed by krb5-devel-1.10.3-10.el6_4.1.i686
zlib-devel is needed by openssl-devel-1.0.0-27.el6_4.2.i686
** Found 7 pre-existing rpmdb problem(s), ‘yum check’ output follows:
e2fsprogs-devel-1.41.12-3.el6.i686 has missing requires of e2fsprogs-libs = (’0′, ’1.41.12′, ’3.el6′)
e2fsprogs-devel-1.41.12-3.el6.i686 has missing requires of libcom_err-devel
e2fsprogs-devel-1.41.12-3.el6.i686 has missing requires of pkgconfig(com_err)
krb5-devel-1.8.2-3.el6.i686 has missing requires of keyutils-libs-devel
krb5-devel-1.8.2-3.el6.i686 has missing requires of libcom_err-devel
krb5-devel-1.8.2-3.el6.i686 has missing requires of libselinux-devel
openssl-devel-1.0.0-4.el6.i686 has missing requires of zlib-devel

izvedba

yum -y install zlib-devel
yum -y install e2fsprogs*

即可解决

Komentarji

杜绝第三方利用Zen cart发送垃圾邮件

Zen cart的Tell a friend发送邮件功能被可恶的人利用了即通过程序手段自动借用其Zen cart网站的Tell a friend群发邮件邮件内容居然是非常不和谐的汗一个不过还是佩服这家伙的创意这也想得到
言归正传还是说下杜绝第三方利用Zen cart tell a friend功能发送垃圾邮件的解决办法吧

Zen cart站用的是自有域名邮箱绑在Gmail账户里由于Gmail的垃圾邮件拦截得好一直没注意到域名邮箱里的垃圾邮件昨天无意中看到里面居然有 2000+failure notice邮件今天起床特意又看了一下多出来500多封这才想起来最近网站来路里直接输入网址访问的居然占到大多数或许于此有 关当然这是题外话今天到Zen cart官方论坛上找了一下发现遇到类似情况的网站主还不少情况严重的因此被ISP关了站Tell a friend功能我一直觉得用处不大没想到用处不小
遇到这种情况可用的解决方法有
1. 后台-Configuration-Email Options里找到Allow Guest To Tell A Friend关闭游客推荐功能
2. 下载zen cart的垃圾邮件过滤插件Form Armor Module该插件专门针对第三方利用Contact us, Tell a friend发送垃圾邮件的问题不幸的是Form Armor是项收费服务费用不低每月19刀下载地址在这里http://www.zen-cart.com /index.php?main_page=product_contrib_info&products_id=1202.
我只是简单按照步骤1关闭了游客推荐功能有用与否过两天后才有结果无用!
如果你和我一样觉得Tell a friend没个鸟用那么对下列文件重命名可以彻底删除该功能
templates/YOUR_TEMPLATE/templates/tpl_tell_a_friend_default
includes/languages/english/tell_a_friend.php
includes/modules/pages/tell_a_friend.php
Potem,在后台catalog-product types里面打开网站上所有的产品类型设置找到Show Product Tell a Friend button关闭它

Komentarji