作者存档
提高Magento运行速度(转)
发表时间:19. 8月, 2010 作者:Freddie.
一、Magento Compiler可以提高 25% 到 50% 速度
Magento的性能一直是大家比较关心的焦点,现在Magento最新的版本 1.3.2.2 增加了 Magento Compiler 模块,根据官方的资料,该模块可以提高 25% 到 50% 的性能.
我也在测试网站上激活该模块,感觉效果还是不错,目前还是beta版本,不过还是推荐使用Magento的朋友试试。
该模块是从版本 1.3.2.1 开始引入的,如果你的Magento网站已经是1.3.2.1或者更高的版本,该模块已经预装好了,可以直接从后台激活该模块:
System -> Tools -> Compilation (Beta)
然后选 Run Compilation Process, 大约数分钟之后会出现 Compilation Successfully finished 就可以了。如果使用有问题,只需在同一页面下按 Disable 按钮就可以了。
详细内容
Mysql配置文件my.cnf详解
发表时间:19. 8月, 2010 作者:Freddie.
以下是Mysql数 据库服务器配置文件/etc/my.cnf的详细配置。应用场合是InnoDB引擎,4核CPU, 32位SUSE。
[client]
port = 3306
socket = /tmp/mysql.sock
# The MySQL server
[mysqld]
bind-address = 192.168.0.11
port = 3306
socket = /tmp/mysql.sock
##设置表的默认类型。和default-storage-engine同义
default-table-type = innodb
详细内容
解决Magento“Must specify JSON encoded source for decoding”的问题!
发表时间:31. 7月, 2010 作者:Freddie.
在更改magento属性系列的时候,出现了这样的问题:
“Must specify JSON encoded source for decoding”
下面是报错的内容:
#0 /home/mycpanelusername/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/SetController.php(99): Zend_Json_Decoder::decode(NULL)
#1 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_Catalog_Product_SetController->saveAction()
#2 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch(’save’)
#3 /home/mycpanelusername/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#4 /home/mycpanelusername/public_html/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#5 /home/mycpanelusername/public_html/index.php(52): Mage::run()
#6 {main}
Google了一下,问题解决了:
Try turning off your cache in magento (in the admin->System->Cache Management->Disable All Cache) and then navigate to your cache directory (\var\cache) and manually delete everything in that directory. You can delete the stuff in (\var\session) for [...]
详细内容
Ubuntu操作基本快捷键
发表时间:29. 7月, 2010 作者:Freddie.
Ubuntu操作基本快捷键
* 打开主菜单 = Alt + F1
* 运行 = Alt + F2
* 显示桌面 = Ctrl + Alt + d
* 最小化当前窗口 = Alt + F9
* 最大化当前窗口 = Alt + F10
* 关闭当前窗口 = Alt + F4
* 截取全屏 = Print Screen
* 截取窗口 = Alt + Print Screen
默认特殊快捷键
* 展示所有窗口程序 = F10
* 展示当前窗口最上层程序 = F11
* 展示当前窗口所有程序 = F12
* 切换窗口 = Alt [...]
详细内容
发几个腾讯微博邀请码~
发表时间:07. 5月, 2010 作者:Freddie.
腾讯微博于2010年4月1日开始发行邀请,当天采用的是腾讯公司邀请知名人士的邀请形式。后来在内测中的用户可以获得邀请好友加入的资格,就是所谓的腾讯微博邀请码,4月14日后,腾讯微博邀请码更名为蒲公英种子。
4月29日官方已放出申请页面: http://t.qq.com/req/index.php (直接提交申请开通腾讯微博)
请完整、真实地填写以下信息,我们会从中筛选一部分用户发放邀请,并对您的所填写信息保密。
腾讯微博最新开通方法: http://page.vote.qq.com/?id=108614 (直接提交申请开通微博帐号)
在腾讯微博正式开放之前,javaflex.net本页面会不定时更新腾讯邀请码~
5月7日 11:00 发布三个码,拿到的朋友留个言,以方便他人,谢谢~
http://t.qq.com/invite/e24638c7dd42975ad827
http://t.qq.com/invite/6c0eb7877ec914aa3d4d
http://t.qq.com/invite/9fe05a97727100d67245
———————————————————————
5月8日更新:(有人不厚道啊,拿了也不吭一声,如果下面的码被用了,就请新来的朋友留下邮箱,我会把新的邀请码发到你们邮箱的·~)
http://t.qq.com/invite/6c0eb7877ec914aa3d4d
别忘了收听Freddie的微博哦:http://t.qq.com/freddie_javaflex

