There is no excerpt because this is a protected post.
Setting up multiple SSL Certificates on a single IP address is possible, and acceptable on nearly all browsers, thanks to Server Name Identification (SNI). SNI sends a site visitor the certificate that matches the requested server name – great! No more need to buy extra IP addresses. I set this up on a Ubuntu 12.04… Read more »
The Heartbleed bug found in OpenSSL needs addressing if you are using OpenSSL to generate TLS keys for HTTPS or FTPS in particular. Upgrading OpenSSL on Ubuntu is not just a matter of running ‘apt-get upgrade’ – this does not get the latest patched version. I found the answer was to install the openssl libssl-dev… Read more »
I had an issue where Magento was not picking up translation of “Free Shipping – Free” on my Checkout page. I got round this by adding a function inside /app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php inside the collect() function:
In app/config/config.php change the following vars: And in add a file in app/libraries called MY_Input.php with the following content:
Trying to import a Magento table into a database (drop table if exists) I got an error: The way to get round this is to remove the foreign key constraint CHECK, delete the table, then add the check again:
If you are getting 400 errors back from paypal make sure you add a Host header. It won’t do any harm to add the Connection close header too. Notice the host depends on whether you’re aiming at sandbox or live paypal.
Taken from here
Make sure EVERY element on the page above the map has a height and width!
DESPATCH Here’s a link to a PDF detailing despatch process, NOT ZF2.x. http://nethands.de/download/zenddispatch_en.pdf APPLICATION.INI https://github.com/feibeck/application.ini STANDARD METHODS http://www.iostream.eu/wp-content/uploads/2012/11/zend_cheat_sheet.html
It is not a good idea to use the following CDN jQuery in your live (deployed) sites. This always serves the latest version. If you are using jQuery plugins written by yourself or 3rd party you can find that these plugins break when a new release of jQuery is pushed. This happened to me recently… Read more »
This class is useful for verifying an uploaded file to tell you the file type and whether or not the file can be opened. Usage would be: Here is the class…
Credit to someone on Stackoverflow.com! Can’t find the reference anymore.
Thought this was a neat way of testing/handling query errors without assigning the result to a variable because you don’t need a variable unless you are using SELECT. mysql_error() returns empty string if there was no error, which evaluates to false, as pointed out by jakub-arnold in this post