自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Terry - 专注外贸B2C

GitHub地址:https://github.com/fancyecommerce

  • 博客(22)
  • 资源 (20)
  • 收藏
  • 关注

原创 piwik 参考资料

http://www.cnblogs.com/bourneli/archive/2013/01/04/2844736.html

2014-05-31 13:58:39 972

原创 magento 负载一路飙涨记录

在做了很多bolck cache的时候,当刷新缓存后,502,卡死了,然后服务器就很卡最后吧var/cache/

2014-05-31 10:31:40 868

转载 Magento 网站报错:connect() to unix:/tmp/fcgi.sock failed 处理

connect() to unix:/tmp/fcgi.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 66.249.65.122, server: tomtop.com, request: "POST /vynamic/customer/info HTTP

2014-05-24 11:57:22 2419

原创 magento - 获取购物车中的总额,运费,tax ,count,grandtotal等

//购物车中产品个数:$totalItemsInCart = Mage::helper('checkout/cart')->getItemsCount(); //total items in cart//$totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Total object//产品总

2014-05-20 18:12:04 1866

原创 magento - 得到订单各种货币下,换算成USD 的订单总额

$orderCurrency = $order->getData('order_currency_code');$currency_rate = $currency->load('USD')->getAnyRate($orderCurrency);$amount = $_sub / $currency_rate;

2014-05-19 11:56:08 1064

原创 14 .Magento备份 rsyncd +inotify 即时备份

rsyncd 是linux下面一个不错的

2014-05-18 21:30:55 874

原创 magento 后台创建一个订单

<?php require_once 'app/Mage.php'; Mage::app(); $quote = Mage::getModel('sales/quote') ->setStoreId(Mage::app()->getStore('default')->getId()); $product = Mage::getModel('catalog/produ

2014-05-17 11:02:25 1020

原创 magento 使用 sales_order_place_after event

model spreadxingyun/observer addorder

2014-05-17 10:27:12 1215

转载 php中curl模拟post提交多维数组

今天需要用curl模拟post提交参数,请求同事提供的一个接口;但是传递的参数中,有一个参数的值为数组,用普通的curl post代码提交,会报错误PHP Notice:  Array to string conversion in /test/functions.php on line 30Notice: Array to string conversion in /test/f

2014-05-17 10:23:17 3789 1

转载 Magento admin Grid columns 取到的值二次处理,譬如取到的category_id 得到名字

Do next: 1. Add column in your Grid.php file or rewrited file in next way$this->addColumn('mycolumn', array( 'header' = Mage::helper('core')->__('My Column'), 'align'

2014-05-16 17:10:09 642

原创 linux和window文件共享 安装samba

参考:http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html1.yum install samba samba-client samba-swat2./etc/init.d/smb start/stop/restart来启动、关闭、重启Samba服务3查看samba的服务启动情况servic

2014-05-13 17:52:04 547

原创 linux和window文件共享 安装samba

参考:http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html1.yum install samba samba-client samba-swat2./etc/init.d/smb start/stop/restart来启动、关闭、重启Samba服务3查看samba的服务启动情况servic

2014-05-13 17:49:06 903

原创 linux和window文件共享 安装samba

参考:http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html1.yum install samba samba-client samba-swat2./etc/init.d/smb start/stop/restart来启动、关闭、重启Samba服务3查看samba的服务启动情况servic

2014-05-13 17:48:46 571

原创 linux和window文件共享 安装samba

参考:http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html1.yum install samba samba-client samba-swat2./etc/init.d/smb start/stop/restart来启动、关闭、重启Samba服务3查看samba的服务启动情况service sm

2014-05-13 17:47:35 509

原创 magento 多表相同列名join

$model = Mage::getModel('tomtop_rewards/pointsreport'); $collection = $model->getCollection(); $collection->getSelect()->join(array('table1' => 'customer_entity'), 'table1.entity_id = customer_id',

2014-05-13 10:19:24 1045

转载 magento 提速!

http://www.gxjansen.com/101-ways-to-speed-up-your-magento-e-commerce-website/

2014-05-11 23:19:45 660

转载 magento禁止LOG,写入文件和写入数据库表。

Magento does some excessive logging to track customers. This in return causes your Magento database to expand exponentially in size, and inevitably decreases your sites overall performance.I found

2014-05-11 21:06:16 1155

原创 magento 后台保存分类失败,无法保存产品,ajax一直在转的问题 的解决 - Cannot edit categories in Magento

当网站产品变多的时候,会出现magento分类无法max_input_vars

2014-05-09 16:02:01 1270

转载 mysql 修改root密码 (忘记密码)

MySQL - Resetting a lost MySQL root passwordArticle ID: 405 Last updated on August 31, 2012 Authored by: Rackspace SupportThe MySQL root password allows full access

2014-05-07 19:38:27 722

原创 Magento 快速保存产品属性的代码 - 不能更新flat表

//********product save model*********// function updateAttribute($id,$values,$attribute,$tablename){ $connection = $this->_getConnection('core_write'); $newvalues = $values; $prod

2014-05-06 09:59:06 794

原创 magento索引报错的解决:General error: 1205 Lock wait timeout exceeded

Product Attributes index process unknown error:exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction' in /var/www/html/tom

2014-05-05 05:46:13 3511

原创 规范

问题点:规范性问题性能问题流程性问题功能上线问题技术实现问题1.规范性问题:关于模块的创建:在非必要情况下,不要新建模块,尽量减少模块的数量关于模块的文件结构:controller代码尽量精简,此为控制器Block写功能性代码Phtml写前端显示,此处非特殊必要性,不要在这里出现php的计算代码,这里更多的是使用$this->,调用block

2014-05-05 00:55:52 604

magento -redis 插件安装包

magento -redis 安装包

2014-10-20

redis magento

redis magento

2014-07-30

nagios下载的文件安装包

nagios下载的文件安装包

2014-07-21

nagios下载包

nagios下载包

2014-07-21

客客英文语言包

客客英文语言包

2014-07-01

magento footer no cache,不缓存页面底部footer部分

magento footer no cache,不缓存页面底部footer部分

2014-03-25

varnish已经修补1.8bug

varnish已经修补1.8bug

2014-02-28

magento环境检测

magento环境检测

2014-02-28

nginx和php和varnish配置

nginx和php和varnish配置

2014-02-28

php版本为:559

php-5-5-9  php版本为:559

2014-02-28

libmcrypt-2.5.7.tar.gz

libmcrypt-2.5.7.tar.gz

2014-02-28

mysql资源5-6

mysql-5.6.14.tar

2014-02-28

varnish-magento

varnish-magento

2014-02-28

linux-varnish配置

linux-varnish配置

2014-02-27

nginx_php_magento配置文件

nginx_php_magento配置文件

2014-02-27

nginx配置文件-magent

nginx配置文件-magent

2014-02-26

gvim资源,windows

gvim资源,windows

2014-01-11

ASchroder_SMTPPro

ASchroder_SMTPPro

2013-12-28

magento+redis下载

magento+redis的下载文件,magento+redis的下载文件

2013-12-27

bacula的配置文件

bacula的配置文件

2013-12-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除