Jon Koops
Jon Koops

Reputation: 9301

Magento not rendering my blocks

I made a couple of Magento extensions with custom blocks for a client. The blocks are being rendered on the home page using the admin panel. Everything is working fine on my laptop (Mac OS X 10.8 & MAMP) using a clean install of Magento, but the very same code isn't working on the server (Ubuntu server 10.04).

Both installations have been done from scratch, so the only thing I can come up with is that it's the version of PHP, Apache or maybe some other system related stuff.

Has anyone encountered this before?

EDIT: Please note that the plugins are working fine in the backend, only the blocks aren't rendering.

Upvotes: 0

Views: 105

Answers (1)

Alana Storm
Alana Storm

Reputation: 166166

The most common cause of this is non-matching capitalization in your block class names vs. file names. Your server's file system is case-sensitive. OS X's is not.

Beyond that, check your error logs, and then walk though rendering your custom blocks manually step by step.

Upvotes: 1

Related Questions