Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [installer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
4 answers
460 views

Not able to install Google Pay module(unboundcommerce/module-googlepay)

As per the requirement I need to integrate Google Pay in my Magento 2 site. But I am getting an error added below. Command php -dmemory_limit=6G vendor/bin/composer require unboundcommerce/module-...
Dipu R's user avatar
  • 101
3 votes
4 answers
8k views

Unable to apply patch Magento\InventorySales\Setup\Patch\Schema\InitializeWebsiteDefaultSock

When running a fresh install I am presented with this error. This is using the lastest composer package, as per the Magento docs. [Progress: 113 / 1106] Module 'Magento_InventorySales': In ...
Adam's user avatar
  • 587
0 votes
1 answer
49 views

Extension not installing database values

I installed a free magento extension on two magento sites. both sites are working fine after install, but one site i notice missing some features (the tab in edit category page and it's page) Then i ...
Suneth Kalhara's user avatar
0 votes
1 answer
261 views

How to override a file in root/setup/src/Magento/ in Magento?

I'm working on a solution that requires adding a bit of functionality to the magento installation process. How do I override a file in root/setup/src/Magento/... How would i override setup/src/...
CarComp's user avatar
  • 1,256
3 votes
2 answers
2k views

Create new table to existing module in Magento2

I have created a new module and installed it, but did not include Setup/InstallSchema.php to create the table first time. Once the module is created can we create new table using InstallSchema.php? ...
Jafar Pinjar's user avatar
  • 1,929
0 votes
1 answer
194 views

Product attribute create issue magento 2

I am using below script to create product attribute with options. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $setup = $objectManager->get('Magento\Framework\Setup\...
Jafar Pinjar's user avatar
  • 1,929
1 vote
0 answers
74 views

Update label option of attribute

I try to update labels options on my size label in an installer. I use the following code : $attributeId = Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product', '...
Kozame's user avatar
  • 964
2 votes
1 answer
392 views

How to activate a new module in magento 1 this module should create a table

I am trying to activate a new module in Magento 1. Here are my actions step-by-step: I created a new file in /app/etc/modules, called : Mage_ContactMessage.xml : I created a new folder in /app/code/...
klsdskldsd's user avatar
1 vote
1 answer
1k views

How to add a foreign key with onUpdate Cascade in an M2 installer script?

I want to add a table with a foreign key in an installer script. The foreign key should have ONDELETE CASCADE and ONUPDATE CASCADE set, - but the ->addForeignKey method supports only the ONDELETE ...
hey's user avatar
  • 1,137
0 votes
1 answer
309 views

Creating custom customer attribute and getting its value issue in Magento 1

This is how i created my custom customer attribute $installer = new Mage_Customer_Model_Resource_Setup('core_setup'); $installer->startSetup(); //$installer->removeAttribute('customer', '...
Attila Naghi's user avatar
  • 4,023
0 votes
2 answers
63 views

Running a data install script using php -f /data-install-0.1.0.php

I'm trying to run this script and I keep getting this error. vagrant@precise32:/var/www/app/code/local/Project/Config/data/project_config$ php -f data-install-0.1.0.php PHP Notice: Undefined ...
Head's user avatar
  • 177
1 vote
0 answers
57 views

Magento-2 installer not moving beyond step 5

I have been trying to install magento-2 since over a week now but each time the magento installer gets stuck at step-5 ( see attached picture of screen) The next button clicks, but is irresponsive. ...
rickssster's user avatar
1 vote
0 answers
131 views

New module doesn't create table

My new module cant create a table while i clean core_resource table. Here is my config.xml file: <?xml version="1.0"?> <config> <modules> <Alkos_Flexibleimport>...
Alkos's user avatar
  • 33
3 votes
3 answers
2k views

Magento Installer - File Permission Check Fail

I had been struggling with Magento-CE-2_1_3 installation without success. The installation process is always terminated because of the File Permission Check "File Permission Check 4 file ...
ika's user avatar
  • 43
1 vote
2 answers
93 views

the installer script is not firing magento?

i have setup the resource like the following at config file, <?xml version="1.0" encoding="UTF-8"?> <config> <DigitalHorizons_Att> <version>0.1.0</version> ...
manokarthick karthick's user avatar
0 votes
1 answer
610 views

Module Installer Script not working

Trying to create a custom module with an installer script, I followed this tutorial (with a few edits): http://inchoo.net/magento/magento-install-install-upgrade-data-and-data-upgrade-scripts/ I've ...
123TFO's user avatar
  • 109
0 votes
1 answer
1k views

Change Maximum Qty Allowed in Shopping Cart programmaticaly

When I go to System -> Configuration -> Catalog -> Inventory -> Product Stock Options, I can change Maximum Qty Allowed in Shopping Cart. I need to do that in setup script. How to do that via setup ...
Wojciech Ka's user avatar
6 votes
2 answers
6k views

Magento 2: programmatically run setup upgrade

My Client wants me to write code to : programmatically upload a customized module and then enable the module(php bin/magento module:enable VENDORNAME_MODULENAME) and then upgrade the system(php bin/...
Ipsita Rout's user avatar
3 votes
4 answers
964 views

How to install Magento older version?

I am new to Magento. My theme supports 1.9.2.0 version. Can somebody please provide me with the download link or documentation to install 1.9.2.0 version?
sujit's user avatar
  • 43
1 vote
1 answer
79 views

Magento 2.0.7 Web Configuration failure

When I am installing Magento 2.0.7 the Next button of the Web Configuration page is not working. When i click on Next it stay on the same page, no error message appearing on the page. What should I do?...
AisneT's user avatar
  • 11
0 votes
2 answers
522 views

Bitnami Magento 2 Installer - Installed on Azure VM Ubuntu

I'm a new guy on LAMP stack and trying to install Magento from a Bitnami insatller. (Bitnami Magento 2 installer for Ubuntu 14.04 on Azure VM). The installation went very well except that I have to ...
Wan Arif Wan Muhamad's user avatar
0 votes
1 answer
118 views

mysql4_installer not working

following is my config file <config> <modules> <Opco_Planner> <version>1.0.0.0</version> </Opco_Planner> </modules> &...
Haris Khalique's user avatar
1 vote
1 answer
45 views

how do I bootstrap a mysql upgrade installer?

I would appreciate help on this, I'm having trouble bringing these two together. I am basically familiar with the mysql upgrade process in magento. In a folder's etc/config.xml file you update the ...
Oliver Williams's user avatar
0 votes
2 answers
36 views

Magento extension Installer automatically Installed on the Site?

I have found some unknown "Package manager extension" installed on the site automatically. If I go to that Extension site I have found that non of there extension is installed on my site, then how ...
Mehar's user avatar
  • 205
1 vote
1 answer
258 views

I'm tyring to add image attribute to product by installer

I'm trying to add an image attribute by the following code: <?php $installer = Mage::getResourceModel('catalog/setup', 'catalog_setup'); $installer->startSetup(); $installer->addAttribute('...
user3684098's user avatar
0 votes
1 answer
239 views

Add multiselect attribute by installer: Wrong values

I am trying to add a multiselect by my install script. This is my code: $installer = Mage::getResourceModel('catalog/setup', 'catalog_setup'); $installer->startSetup(); $options = array(); ...
user3684098's user avatar
0 votes
1 answer
32 views

Creating a new table in magento using the installer issue

I have created a module, but now i need to create a table in db. this is the content of the Mynamespace/Mymodule/sql/mynamespace_mymodule_setup/mysql4-install-0.1.0.php: <?php /* @var $installer ...
Attila Naghi's user avatar
  • 4,023
2 votes
4 answers
4k views

Magento completely broken: Call to a member function getCode() on boolean & There was no 404 CMS page configured or found

Suddenly (without any changes or updates) our magento installation seems to be completely broken. Every day we're now getting some of this errors: There was no 404 CMS page configured or found when ...
sleepless's user avatar
  • 157
1 vote
2 answers
52 views

Magento on live site forwarding to localhost!

i have a problem with the re-setup magento. i download back-up site on Cpanel. and export DB. i want setup to localhost. But it just redirects to the live site. How it works on localhost. I've edited ...
Shadow's user avatar
  • 83
1 vote
0 answers
120 views

Installing local tar.gz of magento enterprise with n98-magerun tool

I have this in my .n98-magerun.yaml: commands: N98\Magento\Command\Installer\InstallCommand: magento-packages: - name: magento-ee-1.14.2.1 version: 1.14.2.1 dist: ...
user avatar
0 votes
1 answer
579 views

MySQL Function in installer script

Is it possible to create a function from within a Magento installer script? I currently have the following code: $installer = $this; $installer->startSetup(); $installer->run(" DROP ...
Douglas Radburn's user avatar
3 votes
2 answers
316 views

What's going on in this install script? [duplicate]

I keep running this script and getting a MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ...
glimmertea's user avatar
2 votes
1 answer
904 views

setup script remove atribute group from attribute set

I have setup script which create a new attribute set. And i need remove attribute groups "Gift Options" and "Recurring Profile" from created attribute set. How can I do this? <?php $installer=$...
omelandr's user avatar
  • 1,267
6 votes
1 answer
153 views

Usage of superfluous (and potentially dangerous) standard code in installer scripts

I always thought it's some kind of epidemic plague that users behave in a high risk manner introducing $installer->startSetup() and $installer->stopSetup() calls in installer scripts. Many of ...
hakre's user avatar
  • 2,831