Tech Tips

SUPEE-8788 Missing Upload Button Fix

UPDATE: 10/19/16. It also breaks your attribute editing in some instances:
http://magento.stackexchange.com/questions/53352/magento-1-9-no-upload-image-buttons
app/design/adminhtml/default/default/template/media/uploader.phtml

To fix the product image upload button not loaded in Magento CE 1.9.2.1, I had to add ' character in maxUploadFileSizeInBytes value.
 
Change
 
var maxUploadFileSizeInBytes = <!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->;
To
 
var maxUploadFileSizeInBytes = '<!--?php echo $this-&gt;getDataMaxSizeInBytes() ?-->';

After having applied the latest SUPEE-8788 patch to an Magento EE system, we noticed right away that the “upload” button was missing on the products WYSIWYG view.

Read More

Solving MySQL SSL Connection Issues

Self signing certificates and MySQL never seem to work the same way each time you set them up on dev servers (maybe we are just cursed). Nothing is more frustrating then trying to connect to an SSL server and getting the dreaded “ERROR [HY000] Unknown Error”. Its like an error message that just states an error has occurred. We did just stumble on a solution that has worked very well for a huge gamut of older MySQL servers.

Read More

Fix WordPress Missing Visual Tab

Just a quick tip, but recently we stumbled into a strange situation, when having added our WordPress blog to Varnish, the visual tab went missing in the WP Admin. This seems like a common issue and we tried every fix we found on the web, but to no avail. We were about to add SCRIPT DEBUG (

define( 'SCRIPT_DEBUG', true );

)

Read More

Magento Multiple Stores with Seperate WordPress Instances

We’ve started to bring another store online recently that was to be added to an existing Magento hosted store. The existing store already had a blog setup and running with the store under a specific sub-directory. The challenge was the we wanted to bring online a new blog instance that was completely separate from the existing store, but not clutter up our root structure.
The solutions was a bit of HTACESS hacker and domain name management.

Read More

WordPress Cloudflare Flexible SSL

Every firewall service company is now touting the ability to have HTTP2 enabled on their site. The problem is to gain any benefit for HTTP, you must have SSL fully enabled on your site. If you have any complicated caching turned on that does not work with SSL directly, then this can be a problem.

Read More

Magento EE Check If Order Item Has Been RMA’d

One great feature of Magento Enterprise is that it comes with an RMA system completely built in. Its a very good feature to have if you have a high volume of sales. The system is a bit confusing to learn, from a user interface perspective, but once you get the hang of it its not that difficult.

From a programmatic perspective, it makes sending out order specific information a bit more complicated and will also affect any sales data forecasting tools that you have custom built. Below is a snippet of code to help determine whether an order has any RMA’d items, programmatically.

Read More

Magento Supee-6788 Troubleshooting Tips

The latest round for Patches from Magento (Supee-6788) have seemed to have caused a lot of confusion. While important, the patches fail to take into consideration that a few stock files may have been changed (.htaccess) or removed (.htaccess.sample). The patch also errors on cryptic messages and seemingly provide very little to troubleshoot with.

We have applied it to a few community edition Magento versions as well as an enterprise install and have had a mixed bag of results. We have documented a set of common tips that have helped us trouble shoot most of the issues with the new patch.

Read More

Declined Card Transaction Management

Recently our client saw a surge in suspicious activity where a user would seemingly login, place an item in their cart, and then proceed to attempt to use fraudulent cards repeatedly. We were able to determine that either this was an absolutely amazing robot processing the orders OR a very determined group of individuals. We suspect it may have been a live person, because all of the IDS web sniffers detected that it was an authenticated browser user.

Read More