Custom module is not creating new table?Magento new custom block moduleTrying to build plugin for magento: in admin form always return “The block is not valid”joining custom table with EAV tableNew reference in page.xml not working in custom moduleTabel is not creating While install custom moduleAfter deleting my table I changed in MySQL query then again is not creating tableBase table or view not found custom databaseHow to add an attribute in magento programatically using module?Magento 1: Error Creating a Customer AttributeMagento 1.8 Flat table disable after invoice not creating

What is the sound/audio equivalent of "unsightly"?

Can I get a PhD for developing educational software?

Journal published a paper, ignoring my objections as a referee

What's the point of fighting monsters in Zelda BotW?

Why does a sticker slowly peel off, but if it is pulled quickly it tears?

Why does the weaker C–H bond have a higher wavenumber than the C=O bond?

Why does this London Underground poster from 1924 have a Star of David atop a Christmas tree?

Employing a contractor proving difficult

Why can't you say don't instead of won't?

What is Soda Fountain Etiquette?

How to deal with anxiety caused by dangerous riding conditions stemming from poor lane design and inconsiderate fellow road users?

Half filled water bottle

Get contents before a colon

Count the number of triangles

Why can't I identify major minor chords?

How does attacking during a conversation affect initiative?

How could a self contained organic body propel itself in space

Is Nikon D500 a good fit for nature and ambient-lighting portraits and occasional other uses?

Why might one *not* want to use a capo?

bash: Replace single quote by two quotes in string

Is there an in-universe explanation given to the senior Imperial Navy Officers as to why Darth Vader serves Emperor Palpatine?

Why did Lucius make a deal out of Buckbeak hurting Draco but not about Draco being turned into a ferret?

Is there a word or phrase that means "use other people's wifi or Internet service without consent"?

How to handle inventory and story of a player leaving



Custom module is not creating new table?


Magento new custom block moduleTrying to build plugin for magento: in admin form always return “The block is not valid”joining custom table with EAV tableNew reference in page.xml not working in custom moduleTabel is not creating While install custom moduleAfter deleting my table I changed in MySQL query then again is not creating tableBase table or view not found custom databaseHow to add an attribute in magento programatically using module?Magento 1: Error Creating a Customer AttributeMagento 1.8 Flat table disable after invoice not creating






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















magentoappetcmodulesSvi_Form.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<active>true</active>
<codePool>local</codePool>
</Svi_Form>
</modules>
</config>


appcodelocalSviFormcontrollersIndexController.php



<?php
Class Svi_Form_IndexController extends Mage_Core_Controller_Front_Action
public function indexAction()
$layout =$this->loadLayout();
$this->renderLayout();


public function postAction()
$post = $this->getRequest()->getPost();
print_r($post);exit;



?>


appcodelocalSviFormetcconfig.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<version>0.1.0</version>
</Svi_Form>
</modules>

<frontend>
<routers>
<form>
<use>standard</use>
<args>
<module>Svi_Form</module>
<frontName>form</frontName>
</args>
</form>
</routers>
<layout>
<updates>
<form>
<file>form.xml</file>
</form>
</updates>
</layout>
</frontend>
<global>
<models>
<form>
<class>Svi_Form_Model</class>
<resourceModel>form_mysql4</resourceModel>
</form>
<form_mysql4>
<class>Svi_Form_Model_Mysql4</class>
<entities>
<form>
<table>svi_form</table>
</form>
</entities>
</form_mysql4>
</models>
<resources>
<form_setup>
<setup>
<module>Svi_Form</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</form_setup>
<form_write>
<connection>
<use>core_write</use>
</connection>
</form_write>
<form_read>
<connection>
<use>core_read</use>
</connection>
</form_read>
</resources>
<blocks>
<form>
<class>Svi_Form_Block</class>
</form>
</blocks>
<helpers>
<form>
<class>Svi_Form_Helper</class>
</form>
</helpers>
</global>
</config>


appcodelocalSviFormBlockForm.php



<?php
class Svi_Form_Block_Form extends Mage_Core_Block_Template





appcodelocalSviFormHelperData.php



<?php
class Svi_Form_Helper_Data extends Mage_Core_Helper_Abstract





appcodelocalSviFormModelForm.php



<?php
class Svi_Form_Model_Form extends Mage_Core_Model_Abstract

public function _construct()

parent::_construct();
$this->_init('form/form');




appcodelocalSviFormModelMysql4Form.php



<?php
class Svi_Form_Model_Mysql4_Form extends Mage_Core_Model_Mysql4_Abstract

public function _construct()

$this->_init('form/form', 'prical_id');




appcodelocalSviFormModelMysql4FormCollection.php



<?php
class Svi_Form_Model_Mysql4_Form_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract

public function _construct()

//parent::__construct();
$this->_init('form/form');




appcodelocalSviFormsqlform_setupmysql4-install-0.1.0.php



<?php
$installer = $this;

$installer->startSetup();

$installer->run("

-- DROP TABLE IF EXISTS $this->getTable('svi_form');
CREATE TABLE $this->getTable('svi_form') (
`prical_id` int(11) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`content` text NOT NULL default '',
`status` smallint(6) NOT NULL default '0',
`created_time` datetime NULL,
`update_time` datetime NULL,
PRIMARY KEY (`prical_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

");

$installer->endSetup();


Please tell me what is my mistake here. It is not createing table. I am new on Magento that's why I asked this question. Thanks.............










share|improve this question


























  • clear your cache and check it works

    – saravanavelu
    Aug 3 '15 at 8:43











  • could you share your module via .git?

    – zhartaunik
    Aug 3 '15 at 8:51











  • Hi @saravanavelu I cleared my cache many times but it did not work.

    – Amit Kushwaha
    Aug 3 '15 at 10:19











  • check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

    – saravanavelu
    Aug 3 '15 at 10:22












  • @ saravanavelu form_setup is not exist in core_resource table. what to do?

    – Amit Kushwaha
    Aug 3 '15 at 10:56

















2















magentoappetcmodulesSvi_Form.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<active>true</active>
<codePool>local</codePool>
</Svi_Form>
</modules>
</config>


appcodelocalSviFormcontrollersIndexController.php



<?php
Class Svi_Form_IndexController extends Mage_Core_Controller_Front_Action
public function indexAction()
$layout =$this->loadLayout();
$this->renderLayout();


public function postAction()
$post = $this->getRequest()->getPost();
print_r($post);exit;



?>


appcodelocalSviFormetcconfig.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<version>0.1.0</version>
</Svi_Form>
</modules>

<frontend>
<routers>
<form>
<use>standard</use>
<args>
<module>Svi_Form</module>
<frontName>form</frontName>
</args>
</form>
</routers>
<layout>
<updates>
<form>
<file>form.xml</file>
</form>
</updates>
</layout>
</frontend>
<global>
<models>
<form>
<class>Svi_Form_Model</class>
<resourceModel>form_mysql4</resourceModel>
</form>
<form_mysql4>
<class>Svi_Form_Model_Mysql4</class>
<entities>
<form>
<table>svi_form</table>
</form>
</entities>
</form_mysql4>
</models>
<resources>
<form_setup>
<setup>
<module>Svi_Form</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</form_setup>
<form_write>
<connection>
<use>core_write</use>
</connection>
</form_write>
<form_read>
<connection>
<use>core_read</use>
</connection>
</form_read>
</resources>
<blocks>
<form>
<class>Svi_Form_Block</class>
</form>
</blocks>
<helpers>
<form>
<class>Svi_Form_Helper</class>
</form>
</helpers>
</global>
</config>


appcodelocalSviFormBlockForm.php



<?php
class Svi_Form_Block_Form extends Mage_Core_Block_Template





appcodelocalSviFormHelperData.php



<?php
class Svi_Form_Helper_Data extends Mage_Core_Helper_Abstract





appcodelocalSviFormModelForm.php



<?php
class Svi_Form_Model_Form extends Mage_Core_Model_Abstract

public function _construct()

parent::_construct();
$this->_init('form/form');




appcodelocalSviFormModelMysql4Form.php



<?php
class Svi_Form_Model_Mysql4_Form extends Mage_Core_Model_Mysql4_Abstract

public function _construct()

$this->_init('form/form', 'prical_id');




appcodelocalSviFormModelMysql4FormCollection.php



<?php
class Svi_Form_Model_Mysql4_Form_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract

public function _construct()

//parent::__construct();
$this->_init('form/form');




appcodelocalSviFormsqlform_setupmysql4-install-0.1.0.php



<?php
$installer = $this;

$installer->startSetup();

$installer->run("

-- DROP TABLE IF EXISTS $this->getTable('svi_form');
CREATE TABLE $this->getTable('svi_form') (
`prical_id` int(11) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`content` text NOT NULL default '',
`status` smallint(6) NOT NULL default '0',
`created_time` datetime NULL,
`update_time` datetime NULL,
PRIMARY KEY (`prical_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

");

$installer->endSetup();


Please tell me what is my mistake here. It is not createing table. I am new on Magento that's why I asked this question. Thanks.............










share|improve this question


























  • clear your cache and check it works

    – saravanavelu
    Aug 3 '15 at 8:43











  • could you share your module via .git?

    – zhartaunik
    Aug 3 '15 at 8:51











  • Hi @saravanavelu I cleared my cache many times but it did not work.

    – Amit Kushwaha
    Aug 3 '15 at 10:19











  • check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

    – saravanavelu
    Aug 3 '15 at 10:22












  • @ saravanavelu form_setup is not exist in core_resource table. what to do?

    – Amit Kushwaha
    Aug 3 '15 at 10:56













2












2








2








magentoappetcmodulesSvi_Form.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<active>true</active>
<codePool>local</codePool>
</Svi_Form>
</modules>
</config>


appcodelocalSviFormcontrollersIndexController.php



<?php
Class Svi_Form_IndexController extends Mage_Core_Controller_Front_Action
public function indexAction()
$layout =$this->loadLayout();
$this->renderLayout();


public function postAction()
$post = $this->getRequest()->getPost();
print_r($post);exit;



?>


appcodelocalSviFormetcconfig.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<version>0.1.0</version>
</Svi_Form>
</modules>

<frontend>
<routers>
<form>
<use>standard</use>
<args>
<module>Svi_Form</module>
<frontName>form</frontName>
</args>
</form>
</routers>
<layout>
<updates>
<form>
<file>form.xml</file>
</form>
</updates>
</layout>
</frontend>
<global>
<models>
<form>
<class>Svi_Form_Model</class>
<resourceModel>form_mysql4</resourceModel>
</form>
<form_mysql4>
<class>Svi_Form_Model_Mysql4</class>
<entities>
<form>
<table>svi_form</table>
</form>
</entities>
</form_mysql4>
</models>
<resources>
<form_setup>
<setup>
<module>Svi_Form</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</form_setup>
<form_write>
<connection>
<use>core_write</use>
</connection>
</form_write>
<form_read>
<connection>
<use>core_read</use>
</connection>
</form_read>
</resources>
<blocks>
<form>
<class>Svi_Form_Block</class>
</form>
</blocks>
<helpers>
<form>
<class>Svi_Form_Helper</class>
</form>
</helpers>
</global>
</config>


appcodelocalSviFormBlockForm.php



<?php
class Svi_Form_Block_Form extends Mage_Core_Block_Template





appcodelocalSviFormHelperData.php



<?php
class Svi_Form_Helper_Data extends Mage_Core_Helper_Abstract





appcodelocalSviFormModelForm.php



<?php
class Svi_Form_Model_Form extends Mage_Core_Model_Abstract

public function _construct()

parent::_construct();
$this->_init('form/form');




appcodelocalSviFormModelMysql4Form.php



<?php
class Svi_Form_Model_Mysql4_Form extends Mage_Core_Model_Mysql4_Abstract

public function _construct()

$this->_init('form/form', 'prical_id');




appcodelocalSviFormModelMysql4FormCollection.php



<?php
class Svi_Form_Model_Mysql4_Form_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract

public function _construct()

//parent::__construct();
$this->_init('form/form');




appcodelocalSviFormsqlform_setupmysql4-install-0.1.0.php



<?php
$installer = $this;

$installer->startSetup();

$installer->run("

-- DROP TABLE IF EXISTS $this->getTable('svi_form');
CREATE TABLE $this->getTable('svi_form') (
`prical_id` int(11) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`content` text NOT NULL default '',
`status` smallint(6) NOT NULL default '0',
`created_time` datetime NULL,
`update_time` datetime NULL,
PRIMARY KEY (`prical_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

");

$installer->endSetup();


Please tell me what is my mistake here. It is not createing table. I am new on Magento that's why I asked this question. Thanks.............










share|improve this question
















magentoappetcmodulesSvi_Form.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<active>true</active>
<codePool>local</codePool>
</Svi_Form>
</modules>
</config>


appcodelocalSviFormcontrollersIndexController.php



<?php
Class Svi_Form_IndexController extends Mage_Core_Controller_Front_Action
public function indexAction()
$layout =$this->loadLayout();
$this->renderLayout();


public function postAction()
$post = $this->getRequest()->getPost();
print_r($post);exit;



?>


appcodelocalSviFormetcconfig.xml



<?xml version="1.0"?>
<config>
<modules>
<Svi_Form>
<version>0.1.0</version>
</Svi_Form>
</modules>

<frontend>
<routers>
<form>
<use>standard</use>
<args>
<module>Svi_Form</module>
<frontName>form</frontName>
</args>
</form>
</routers>
<layout>
<updates>
<form>
<file>form.xml</file>
</form>
</updates>
</layout>
</frontend>
<global>
<models>
<form>
<class>Svi_Form_Model</class>
<resourceModel>form_mysql4</resourceModel>
</form>
<form_mysql4>
<class>Svi_Form_Model_Mysql4</class>
<entities>
<form>
<table>svi_form</table>
</form>
</entities>
</form_mysql4>
</models>
<resources>
<form_setup>
<setup>
<module>Svi_Form</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</form_setup>
<form_write>
<connection>
<use>core_write</use>
</connection>
</form_write>
<form_read>
<connection>
<use>core_read</use>
</connection>
</form_read>
</resources>
<blocks>
<form>
<class>Svi_Form_Block</class>
</form>
</blocks>
<helpers>
<form>
<class>Svi_Form_Helper</class>
</form>
</helpers>
</global>
</config>


appcodelocalSviFormBlockForm.php



<?php
class Svi_Form_Block_Form extends Mage_Core_Block_Template





appcodelocalSviFormHelperData.php



<?php
class Svi_Form_Helper_Data extends Mage_Core_Helper_Abstract





appcodelocalSviFormModelForm.php



<?php
class Svi_Form_Model_Form extends Mage_Core_Model_Abstract

public function _construct()

parent::_construct();
$this->_init('form/form');




appcodelocalSviFormModelMysql4Form.php



<?php
class Svi_Form_Model_Mysql4_Form extends Mage_Core_Model_Mysql4_Abstract

public function _construct()

$this->_init('form/form', 'prical_id');




appcodelocalSviFormModelMysql4FormCollection.php



<?php
class Svi_Form_Model_Mysql4_Form_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract

public function _construct()

//parent::__construct();
$this->_init('form/form');




appcodelocalSviFormsqlform_setupmysql4-install-0.1.0.php



<?php
$installer = $this;

$installer->startSetup();

$installer->run("

-- DROP TABLE IF EXISTS $this->getTable('svi_form');
CREATE TABLE $this->getTable('svi_form') (
`prical_id` int(11) unsigned NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`content` text NOT NULL default '',
`status` smallint(6) NOT NULL default '0',
`created_time` datetime NULL,
`update_time` datetime NULL,
PRIMARY KEY (`prical_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

");

$installer->endSetup();


Please tell me what is my mistake here. It is not createing table. I am new on Magento that's why I asked this question. Thanks.............







magento-1.8






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 3 '15 at 8:27









Ashvin Monpara

1,0947 silver badges21 bronze badges




1,0947 silver badges21 bronze badges










asked Aug 3 '15 at 8:03









Amit KushwahaAmit Kushwaha

452 silver badges12 bronze badges




452 silver badges12 bronze badges















  • clear your cache and check it works

    – saravanavelu
    Aug 3 '15 at 8:43











  • could you share your module via .git?

    – zhartaunik
    Aug 3 '15 at 8:51











  • Hi @saravanavelu I cleared my cache many times but it did not work.

    – Amit Kushwaha
    Aug 3 '15 at 10:19











  • check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

    – saravanavelu
    Aug 3 '15 at 10:22












  • @ saravanavelu form_setup is not exist in core_resource table. what to do?

    – Amit Kushwaha
    Aug 3 '15 at 10:56

















  • clear your cache and check it works

    – saravanavelu
    Aug 3 '15 at 8:43











  • could you share your module via .git?

    – zhartaunik
    Aug 3 '15 at 8:51











  • Hi @saravanavelu I cleared my cache many times but it did not work.

    – Amit Kushwaha
    Aug 3 '15 at 10:19











  • check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

    – saravanavelu
    Aug 3 '15 at 10:22












  • @ saravanavelu form_setup is not exist in core_resource table. what to do?

    – Amit Kushwaha
    Aug 3 '15 at 10:56
















clear your cache and check it works

– saravanavelu
Aug 3 '15 at 8:43





clear your cache and check it works

– saravanavelu
Aug 3 '15 at 8:43













could you share your module via .git?

– zhartaunik
Aug 3 '15 at 8:51





could you share your module via .git?

– zhartaunik
Aug 3 '15 at 8:51













Hi @saravanavelu I cleared my cache many times but it did not work.

– Amit Kushwaha
Aug 3 '15 at 10:19





Hi @saravanavelu I cleared my cache many times but it did not work.

– Amit Kushwaha
Aug 3 '15 at 10:19













check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

– saravanavelu
Aug 3 '15 at 10:22






check your form_setup is exists in core_resource table. If exists, remove that record. then clear cache and then check ur table created and reocrd in core resource table

– saravanavelu
Aug 3 '15 at 10:22














@ saravanavelu form_setup is not exist in core_resource table. what to do?

– Amit Kushwaha
Aug 3 '15 at 10:56





@ saravanavelu form_setup is not exist in core_resource table. what to do?

– Amit Kushwaha
Aug 3 '15 at 10:56










1 Answer
1






active

oldest

votes


















3















Delete the setup entry (for this module) in core_resource table



Disable the cache.



Refresh any page



Check the database



I have checked your code it working fine. Just disable cached or flush the cached






share|improve this answer



























  • I tried again as you told but it does not work....

    – Amit Kushwaha
    Aug 3 '15 at 11:58











  • try to put the die in your sql file. Is your module is coming under system->advance module list?

    – Bhupendra Jadeja
    Aug 3 '15 at 12:08











  • Yes my module is coming under system->configuration->advanced and It is enabled.

    – Amit Kushwaha
    Aug 3 '15 at 12:14











  • Can you tell me what the mean of ("try to put the die in your sql file")?

    – Amit Kushwaha
    Aug 3 '15 at 12:34






  • 1





    I think it was the problem of the cache as it was working in my magento with very first installation of module

    – Bhupendra Jadeja
    Aug 5 '15 at 7:00













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f76422%2fcustom-module-is-not-creating-new-table%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3















Delete the setup entry (for this module) in core_resource table



Disable the cache.



Refresh any page



Check the database



I have checked your code it working fine. Just disable cached or flush the cached






share|improve this answer



























  • I tried again as you told but it does not work....

    – Amit Kushwaha
    Aug 3 '15 at 11:58











  • try to put the die in your sql file. Is your module is coming under system->advance module list?

    – Bhupendra Jadeja
    Aug 3 '15 at 12:08











  • Yes my module is coming under system->configuration->advanced and It is enabled.

    – Amit Kushwaha
    Aug 3 '15 at 12:14











  • Can you tell me what the mean of ("try to put the die in your sql file")?

    – Amit Kushwaha
    Aug 3 '15 at 12:34






  • 1





    I think it was the problem of the cache as it was working in my magento with very first installation of module

    – Bhupendra Jadeja
    Aug 5 '15 at 7:00















3















Delete the setup entry (for this module) in core_resource table



Disable the cache.



Refresh any page



Check the database



I have checked your code it working fine. Just disable cached or flush the cached






share|improve this answer



























  • I tried again as you told but it does not work....

    – Amit Kushwaha
    Aug 3 '15 at 11:58











  • try to put the die in your sql file. Is your module is coming under system->advance module list?

    – Bhupendra Jadeja
    Aug 3 '15 at 12:08











  • Yes my module is coming under system->configuration->advanced and It is enabled.

    – Amit Kushwaha
    Aug 3 '15 at 12:14











  • Can you tell me what the mean of ("try to put the die in your sql file")?

    – Amit Kushwaha
    Aug 3 '15 at 12:34






  • 1





    I think it was the problem of the cache as it was working in my magento with very first installation of module

    – Bhupendra Jadeja
    Aug 5 '15 at 7:00













3














3










3









Delete the setup entry (for this module) in core_resource table



Disable the cache.



Refresh any page



Check the database



I have checked your code it working fine. Just disable cached or flush the cached






share|improve this answer















Delete the setup entry (for this module) in core_resource table



Disable the cache.



Refresh any page



Check the database



I have checked your code it working fine. Just disable cached or flush the cached







share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 20 at 3:51

























answered Aug 3 '15 at 11:18









Bhupendra JadejaBhupendra Jadeja

2,19416 silver badges38 bronze badges




2,19416 silver badges38 bronze badges















  • I tried again as you told but it does not work....

    – Amit Kushwaha
    Aug 3 '15 at 11:58











  • try to put the die in your sql file. Is your module is coming under system->advance module list?

    – Bhupendra Jadeja
    Aug 3 '15 at 12:08











  • Yes my module is coming under system->configuration->advanced and It is enabled.

    – Amit Kushwaha
    Aug 3 '15 at 12:14











  • Can you tell me what the mean of ("try to put the die in your sql file")?

    – Amit Kushwaha
    Aug 3 '15 at 12:34






  • 1





    I think it was the problem of the cache as it was working in my magento with very first installation of module

    – Bhupendra Jadeja
    Aug 5 '15 at 7:00

















  • I tried again as you told but it does not work....

    – Amit Kushwaha
    Aug 3 '15 at 11:58











  • try to put the die in your sql file. Is your module is coming under system->advance module list?

    – Bhupendra Jadeja
    Aug 3 '15 at 12:08











  • Yes my module is coming under system->configuration->advanced and It is enabled.

    – Amit Kushwaha
    Aug 3 '15 at 12:14











  • Can you tell me what the mean of ("try to put the die in your sql file")?

    – Amit Kushwaha
    Aug 3 '15 at 12:34






  • 1





    I think it was the problem of the cache as it was working in my magento with very first installation of module

    – Bhupendra Jadeja
    Aug 5 '15 at 7:00
















I tried again as you told but it does not work....

– Amit Kushwaha
Aug 3 '15 at 11:58





I tried again as you told but it does not work....

– Amit Kushwaha
Aug 3 '15 at 11:58













try to put the die in your sql file. Is your module is coming under system->advance module list?

– Bhupendra Jadeja
Aug 3 '15 at 12:08





try to put the die in your sql file. Is your module is coming under system->advance module list?

– Bhupendra Jadeja
Aug 3 '15 at 12:08













Yes my module is coming under system->configuration->advanced and It is enabled.

– Amit Kushwaha
Aug 3 '15 at 12:14





Yes my module is coming under system->configuration->advanced and It is enabled.

– Amit Kushwaha
Aug 3 '15 at 12:14













Can you tell me what the mean of ("try to put the die in your sql file")?

– Amit Kushwaha
Aug 3 '15 at 12:34





Can you tell me what the mean of ("try to put the die in your sql file")?

– Amit Kushwaha
Aug 3 '15 at 12:34




1




1





I think it was the problem of the cache as it was working in my magento with very first installation of module

– Bhupendra Jadeja
Aug 5 '15 at 7:00





I think it was the problem of the cache as it was working in my magento with very first installation of module

– Bhupendra Jadeja
Aug 5 '15 at 7:00

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f76422%2fcustom-module-is-not-creating-new-table%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림