WordPress Prompts for S/FTP Credentials on Local Development

 

You want to install a plugin on your local machine to test it out before pushing it live. Trouble is, WordPress is inconveniently prompting for FTP or SFTP credentials. Let’s solve that.

 

The prompt for SFTP and FTP details means that you don’t have the right permissions to download or upgrade plugins or the WordPress core. (more…)


Magento Shows Install When Already Installed

 

Solve an issue where Magento will attempt to install itself, even though it’s already installed.

 

The way to solve this problem is to find out why Magento is trying to install itself again. The problem is to find out what flag Magento uses to indicate it is installed. (more…)


Easily Reinstall Custom Module SQL in Magento

 

The official method of updating a module is to create an upgrade script. But when developing, that’s too much overhead. Let’s just cut to the chase and force Magento to reinstall our module SQL.

 

When you are first testing your new custom module, it’s extremely likely your schema change at some point. The method of updating SQL in Magento is to create an upgrade, which involves creating a new upgrade file and incrementing your module version number. If you are just developing and not pushing an official release, there is a shortcut you can take. (more…)


Magento Product Edit Only Shows Default Category

 

An extremely annoying bug involving Magento not showing your categories in the product edit menu, solved.

 

If you are failing to see your product categories while editing a product, but you can see the categories in your category edit menu, odds are your ‘children_count’ for categories isn’t correct on the database. A quick SQL statement fixes this. (more…)


‘Stock item for Product is not valid’ in Magento

 

Solve an issue where Magento shows an error when it is not able to access stock data.

 

This error will occur even if you have disabled handling stock. Essentially Magento is looking for stock data and it isn’t being found. In my case this was perplexing because I disabled handling stock, so my solution involves putting stock data back via my import. (more…)


Integrity constraint violation: Duplicate entry for key ‘UNQ_CATALOGINVENTORY_STOCK_ITEM PRODUCT_ID_STOCK_ID’

 

When working with Magento imports it’s possible you’ll see this error crop up. The solution is a simple fix.

 

The reason you are seeing this error may vary, but in my case I had been working with a custom osCommerce to Magento import. At some point I disabled handling stock in the admin panel. It would make sense for Magento to truncate the table containing stock item data, right? Well, they don’t do that. (more…)


Remove Annoying Magento Notifications on Administration Panel

 

A guide to disable the administration notifications in Magento 1.6.1.

 

annoying notification for admins

Every time you log into Magento you will get greeted with unread notifications. It’s incredibly annoying when developing, and it doesn’t really provide much for clients. It’s awkward. It’s unnecessary. Let’s remove it. (more…)