Archive for 十月, 2010

magento can’t login in backend

Open magento/app/code/core/Mage/Core/Model/Session/Abstract/varien.php

Notes :line 96

//if (isset($cookieParams[‘domain’])) {
//$cookieParams[‘domain’] = $cookie->getDomain();
//      }


Linux Software Installation

Linux系统中,软件安装程序比较纷繁复杂,不过最常见的有两种:

1)一种是软件的源代码,您需要自己动手编译它。这种软件安装包通常是用gzip压缩过的tar包(后缀为.tar.gz)。
2)另一种是软件的可执行程序,你只要安装它就可以了。这种软件安装包通常被是一个RPM包(Redhat Linux Packet Manager,就是Redhat的包管理器),后缀是.rpm。

当然,也有用rpm格式打包的源代码,用gzip压缩过的可执行程序包。只要您理解了以下的思路,这两种形式的安装包也不在话下了。 (continue reading…)


ImageMagick PDF to JPG convert error

error:

Postscript delegate failed

Solution

It looks like the input or output filenames are missing or have some problem. Look closer and it is an error caused by gswin32c.exe. ImageMagick uses gswin32c.exe from the Ghostscript package to convert PDF files. So, to fix this error make sure that:

  1. Ghostscript package is installed.
  2. The directory containing gswin32c.exe is in the PATH environment variable.

.htaccess二级域名绑定子目录

RewriteCond %{HTTP_HOST} ^(bbs|blog|download).domain.com$
RewriteRule ^(.*)$ /%1/$1 [L, NC] (continue reading...)

Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress