Skip to content

Instantly share code, notes, and snippets.

@renttek
renttek / 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
Last active July 5, 2021 17:42
Bugfix for Zend Framework 1 in Magento (>= 1.7.*.*) + PHP 5.6
From 473846959772d8160b34b92ae3bcecddf24b972f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julian=20Nu=C3=9F?= <julian.nuss@outlook.com>
Date: Tue, 23 Sep 2014 21:07:29 +0200
Subject: [PATCH 1/1] [BUGIFX] Zend Framework 1 + PHP5.6
---
lib/Zend/Locale/Format.php | 22 +++++++++++-----------
lib/Zend/Service/Audioscrobbler.php | 6 +++---
lib/Zend/Service/Technorati.php | 6 +++---
lib/Zend/Validate/Hostname.php | 4 ++--
@dsueiro
dsueiro / gist:4483931
Created January 8, 2013 13:45
Magento: Look up for 2 simple products associated to the same configurable but with same values for super attributes
<?php
require "app/Mage.php";
$debug = false;
Mage::app();
// Looking for 2 simple products associated to the same configurable but with same values for super attributes
$collectionConfigurable = Mage::getResourceModel('catalog/product_collection')
@dsueiro
dsueiro / gist:4431909
Created January 2, 2013 03:32
Using group_concat in cakephp
var_dump($this->Resolucion->find('all',
array('joins' => array(
array(
'table' => 'resoluciones_palabras_clave',
'type' => 'LEFT',
'conditions' => array('Resolucion.id = resoluciones_palabras_clave.resolucion_id')
@bergie
bergie / .gitignore
Created September 19, 2011 15:50
Node.js email handling examples
config.json
reading-image.png