Uncaught TypeError: imagecopymerge(): Argument #9 ($pct) must be of type int, string given in /.../lib/Varien/Image/Adapter/Gd2.php:570 Stack trace: #0 /.../lib/Varien/Image/Adapter/Gd2.php...
...site_enabled but if we get an attack late at night tired brains work better on one file # xpractical nginx config, adapted from www.hypernode.com user www-data; # hypernode use...
...stackoverflow.com/a/16304073 location ~ /\.thumbs { } # Skip .git, .htpasswd etc location ~ /\. { return 404; } # Disable all methods besides HEAD, GET and POST. if ($request_method !~ ^(GET|HEAD|POST)$ ) { return 444; } # Try static files...
...getColumn('status')) ->toHtml(); } filter_condition_callback $this->addColumn('apply_to', array( 'header' => Mage::helper('benefit')->__('Apply To'), 'align' => 'left', 'index' => 'apply_to', 'renderer' => 'benefit/adminhtml_attribute_grid_renderer_applyTo', 'type' => 'options', 'options' => Mage::helper('benefit...
Mechanism: cache in model First, save the cache // app\code\core\Mage\Core\Model\App.php Mage_Core_Model_App /**
nginx URL rewrite stackoverflow PHP lib M1 Extension and the blog, version 2. API Implementation Doc Client based on ZF1...
Define the API in the custom module app\code\local\{vendor}\{module}\etc\api.xml: benefit/api_member Member API benefit/member Check-In checkIn benefit/member/checkIn -32001 Not found. -32002 Missing required parameter(s...
...A parameter has an invalid value. Benefit 100 Member 10 Check-in Note 1. // app\code\core\Mage\Adminhtml\Block\Api\Tab\Rolesedit.php line 40 foreach ($rules_set->getItems() as...
...class name to only one checkbox/radio button in the group (last one is probably best) and then place all the input elements within a parent element, for example a div...
...can pass the option {stopOnFirst : true} to enable the stop on first validation failure behaiour. The demo above has this set to false which is the default. If set to...
...Right Table On Non-Existent Row SELECT `m`.`cumulation`, `e`.`attribute_id` FROM `scicom_benefit_utilization_cumulation` AS `m` RIGHT JOIN `eav_attribute` AS `e` ON e.attribute_id = m.attribute_id...
There are many reasons why a payment method is not listed or missing on the checkout page: admin > System > Configuration...
For read and write adapters, fetchOne(), fetchAll(), fetchAssoc(), fetchRow(), fetchCol(), fetchPairs(), see lib\Zend\Db\Adapter\Abstract.php Also, standalone class...
$collection->addFieldToFilter('field_name', [ ['eq' => 'value1'], ['eq' => 'value2'] ] ); // same as $collection->addFieldToFilter('field_name', ['value1', 'value2']);
When there are input elements for search criteria in frontend grid with pagination block 'page/html_pager', the search params will be...
Import Sample Actions XML: file var/import <![CDATA[filename.csv]]> <![CDATA[csv]]> <![CDATA[,]]> <![CDATA["]]> <![CDATA[fieldname_in_system]]> <![CDATA[firstname]]> <![CDATA[lastname...
There are 3 machines: Local Computer Windows OS Development Server Production Server There are 3 repositories upstream, a fork of...
'label' => Mage::helper('course')->__('Required Subjects'), 'values' => $options ]); /** @var Sxix_Provider_Model_Source_Benefit $source */ $source = Mage::getSingleton('provider/source_benefit'); $fieldset->addField('benefit_id', 'multiselect', [ 'name' => 'benefit_id', 'label' => $helper...
'values' => $source->toOptionArray(false) ]); Label Field To add as a label to show info, no editing: $fieldset->addField('patient_name', 'label', [ 'label' => Mage::helper('medical')->__('Patient Fullname'), 'bold' => true...
In backend > Catalog > Manage Categories, we can configure a category page and put it on the main menu. The page...
M1 doc. OM GitHub Issue Test Script in devdocs-openmage.org stackoverflow magento.stackexchange.com/how-to-create-rest-api-for-the-magento-1-9-hosted-in-local-machine stackoverflow.com//magento-oauth-customer-login Inchoo's Guides:
...is on the Categories tab on the product page. During category setup, it is best to put the index mode to Manual Update. You can do this on System > Index...
...Mage_Checkout_Model_Cart ::addProduct() * * @param Varien_Event_Observer $observer * @return void */ public function beforeAddToCart(Varien_Event_Observer $observer) { if (Mage::getSingleton('customer/session')->isLoggedIn()) { return; } /** @var Mage_Catalog_Model_Product...
...on /tmp. This can be easily tested by FTP a sizable file to /tmp. Besure to test all servers in a load balance configuration...
Top menu is configured in backend > Catalog > Manage Categories. The landing page can be set to product list, static block...
When a block directive, double curly brackets: {{block type="module/block"}} is called in the static block, it is necessary to...
Best results in other decks
Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...
The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...