优化magento 生成的订单号码
Read MoreMagento "No Input File Specified" 错误解决办法
2013年3月28日星期四 Asia/Shanghai下午3:01:08
使用GODADDY安装的MAGENTO常常出现 “No Input File Specified” 错误提示 请尝试以下解决办法
1.修改根目录的php.ini为php5.ini
2.修改php5.ini文件:
register_globals = off allow_url_fopen = off expose_php = Off max_input_time = 300 // 修改 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" ; Only uncomment zend optimizer lines if your application requires Zend Optimizer support ;[Zend] ;zend_optimizer.optimization_level=15 ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3 ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3 ;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so ;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so ; -- Be very careful to not to disable a function which might be needed! ; -- Uncomment the following lines to increase the security of your PHP site. ;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru, ; phpinfo, exec, system, dl, fsockopen, set_time_limit, ; popen, proc_open, proc_nice,shell_exec,show_source,symlink" cgi.fix_pathinfo = 1 // 添加 memory_limit = 256M // 添加 max_execution_time = 18000 // 添加 magic_quotes_gpc = off // 添加 flag session.auto_start = off // 添加 zlib.output_compression = on // 添加 suhosin.session.cryptua = off // 添加 zend.ze1_compatibility_mode = off // 添加 extension=mcrypt.so // 添加
3. 修改magento目录下.htaccess文件:
// .... Options -MultiViews //修改-删除全面的 #号 // ... // 添加 RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^.+.php$ /bogusfile RewriteBase /
如果以上方式没有奏效,可能是操作被缓存了,请等待24小时。如果还没奏效,请联系GoDaddy。
How Do I Set Up Table Rate Shipping?
2013年3月27日星期三 Asia/Shanghai下午5:55:53
Able Rates can be set up in 3 different ways; Weight and Destination, Price and Destination and the Number of Items and Destination. To set up Table Rates go to System -> Configuration and Select Shipping Methods from the Left Navigation. You will be able to set up your default values for the Table Rates here, but the rates themselves are entered on the Website level.
Let’s first set up our default configuration for the Table Rates.
Read MorePinnacle Cart 网站移到新服务器上的操作
2013年3月27日星期三 Asia/Shanghai下午5:21:54
'm going to be moving my site to a new server, what do I need to do?
Before moving any site, we recommend creating a back-up of all files.
Steps for site move
- Copy all files from old server to new server.
- Copy database from old server to new server.
- Since the new server will have new database settings, edit content/engine/engine_config.php and add new database settings.
- Next open up PHPmyadmin ( or whatever you are using to access the database ) and browse 'settings' table, Next run the following query.
SELECT*FROM`settings`WHERE`name`LIKE ' %Global%'
From this query you will get 4 - 5 records. You will need to modify the following records in the database to reflect the new server settings.
'GlobalHttpUrl' - URL where the cart is installed ( example: http://yoursite.com )
'GlobalHttpsUrl' - URL to access the SSL ( example: https://yoursite.com )
'GlobalServerPath' - True server path on the server ( example: /home/www/site_folder/public_html )
Next, delete all files and subfolders for content/compiled folder on new server.
- Access the index.php file to verify the site is working.
Source From:http://www.pinnaclecart.com/kb/questions/93/I%27m+going+to+be+moving+my+site+to+a+new+server%2C+what+do+I+need+to+do%3F
Read More滑动门效果-css+jQuery
2013年3月25日星期一 Asia/Shanghai上午9:43:39
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>Tab滑动门效果</title>
<style type="text/css">
<!--
*{
margin:0 auto;
padding:0;
}