Twitter Bootstrap 3 dropdown menu disappears when used with prototype.js

I’ve also used code from here: http://kk-medienreich.at/techblog/magento-bootstrap-integration-mit-prototype-framework but without a need to modify any source. Just put code below somewhere after prototype and jquery includes: (function() { var isBootstrapEvent = false; if (window.jQuery) { var all = jQuery(‘*’); jQuery.each([‘hide.bs.dropdown’, ‘hide.bs.collapse’, ‘hide.bs.modal’, ‘hide.bs.tooltip’, ‘hide.bs.popover’, ‘hide.bs.tab’], function(index, eventName) { all.on(eventName, function( event ) { isBootstrapEvent = true; … Read more

Magento getSingleton confusion

First, before we get to Magento, it’s important to understand that PHP has a radically different process model than Java.  A PHP singleton (regardless of Magento’s involvement) is a single instance of a class per HTTP Request.  A PHP program isn’t persistent in memory the same way a Java program is, so adjust your expectations … Read more

How to get Fedex testing tracking number?

Your question is not at all stupid. I upvoted it. The fedex documentation is horrible and doesn’t mention how to use their services while testing and after moving to production. Their support is worse. While I was rambling in the internet, I found a page mentioning the tracking number 123456789012 as a test number. Use … Read more

Magento How to debug blank white screen

This is how I got it corrected(Hope will help you guys): Use the following code in your index.php file ini_set(‘error_reporting’, E_ERROR); register_shutdown_function(“fatal_handler”); function fatal_handler() { $error = error_get_last(); echo(“<pre>”); print_r($error); } In my case it tolde me that error/503.php was unavailable. 3.The issue was with testimonial extension I used(http://www.magentocommerce.com/magento-connect/magebuzz-free-testimonial.html) I deleted the testimonial.xml file in … Read more

Enable GZIP for CSS and JS files on NGINX server for Magento

This is an working config that I currently use in production. http://pastie.org/10870547 gzip on; gzip_disable “msie6”; gzip_comp_level 6; gzip_min_length 1100; gzip_buffers 16 8k; gzip_proxied any; gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/json application/xml application/rss+xml image/svg+xml; This config was tested via tools.pingdom.com.

Clearing Magento Log Data

Cleaning the Magento Logs using SSH : login to shell(SSH) panel and go with root/shell folder. execute the below command inside the shell folder php -f log.php clean enter this command to view the log data’s size php -f log.php status This method will help you to clean the log data’s very easy way.

Magento Payment flow

Here’s the way I’ve always understood the concepts, and what you’ll need to know to implement a payment module in Magento. Answers to your specific “where does this happen” are bolded below, although it’s not quite as simple as you’re hoping for. Pre-internet, brick and mortar credit card transactions were a two stage process. At … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)