在更改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
详细内容
仿苹果的Accordion实现
发表时间:30. 4月, 2010 作者:Freddie.
原文出自 doug 先生的博客
点我查看效果
这个效果很久以前就在doug的博客看到了,觉得很cool,昨天下源码下来研究,发现编译不了!到网上一搜,有很多人在问这个,可是没人提出解决的办法。 Fred只好自己再跑去看源码,发现在问题所在:原来是源码里的flexlib版本不对,换了个版本,ok,编译通过!:idea:
大致看了一下源码,比较简单,主要是就一个header renderer!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
xmlns:code="http://code.google.com/p/flexlib/"
xmlns:local="*">
<mx:Style source="assets/style.css"/>
<mx:Panel title="Essentials">
<code:VAccordion id="accordion"
headerLocation="below"
[...]
详细内容
解决“打开网上邻居慢,卡一下”等问题·
发表时间:26. 4月, 2010 作者:Freddie.
有时间我们双击桌面的网上邻居打开的速非常慢,大概在五分钟到10分钟才能弹出对话框,使用共享都正常。
怎么办呢,以下是解决办法~
1、打开注册表。方法:
开始--运行--regedit--回车
2、找到这个:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace
展开 namespace 后会看到2个一大长串数字英文还有大括号的名称的项,把他们删除。ok,解决啦~~

