Magento Custom Module Block, Controller, Model, etc. Not Working

Just a little tip. When you're frustrated as to why Magento isn't loading your Company/Module/Block/*, Company/Module/Model/*, Company/Module/controllers/*, etc. files for some strange reason:

Make sure the file permissions are set correctly.

(0777 might be too generous, but we don't have time to figure these things out for sure).

This happened to me today. Turns out my IDE (NuSphere's PhpEd, an excellent PHP IDE by the way) has a setting for default folder/file permissions when creating new files. Insufficient file permissions were manifesting themselves as "Invalid block type ..." errors. I'm sure it could be responsible for other quirkiness when doing custom work.

One thought on “Magento Custom Module Block, Controller, Model, etc. Not Working”

1 Item(s)

Leave a Reply

About NVNCBL

Quick Support