my config.xml is :

<?xml version="1.0"?>

my installer script -

$installer = $this;
$storeId    = 2;
$type       = 'block';
$title      = 'Block123';
$identifier = 'my_block';
$content = <<<'EOD here'

  • 1
    try replacing <module>premium_PlatinumBlock</module> by <module>Premium_PlatinumBlock</module> Mar 24, 2017 at 11:15
  • this is just a typing mistake here. Its not working out. is it different for magento 1.4 Mar 24, 2017 at 11:57
  • Just to be sure, there is a file app/etc/modules/Premium_PlatinumBlock.xml where it says that the extension is active? Also check the core_resource table in the database and check if your extension is listed there and check the version of the extension. If that's already 1.0.0 or higher, your installer will not be executed. Mar 31, 2017 at 6:15

1 Answer 1


Here I was missing the class in setup, that's why it was not running. I fixed it like

        <platinumblock_setup >
        </platinumblock_setup >

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.