Fighting the machine

So today I spent an ungodly amount of time trying to figure out why my Magento module, that worked just fine on my local MAMP installation, didn't work on the Linux staging server.

I thought it was the cache, so I reloaded the cache, changed the cache backend, then I thought it might be a but, then I thought it might be the layouts. The solution? Case. Mac is not case sensitive, Linux is.

My module was named CatalogRequest and Magento is really strict on case for filenames, so a little rule of thumb. Avoid CamelCase in your module names.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <drupal5>, <drupal6>, <javascript>, <php>, <sql>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options