Questions tagged [setup]

Denotes question related to Magento installation

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

how to override the Setup/Patch/Data file in magento2

How to override the core "module-store/Setup/Patch/Data/DisableSid.php" into "app/code/Mymodule/Test/" module. can anyone please help me. Thanks
3
votes
2answers
59 views

Magento 2: Setup Magento project after clone git repository

I want to set up a git project on my local machine. I have successfully set up the database. I have run git clone command and clone the project from git but some repository is blank. so how can I ...
0
votes
0answers
9 views

Local Cloud Instance with MAMP not fully working

I did setup a working local clone of my magento cloud project with MAMP. The store front shows and the admin panel works but not everything is there. I got my DB dump with: mgc db:dump Problem 1: ...
0
votes
2answers
41 views

Magento 2.3.3 - How to setup theme after migrate M1 to M2?

After successful migration theme setup not working, setup Magento luma theme not working. Theme Setup : My website look like: Debug.log: main.ERROR: Unable to load theme by specified key: '...
1
vote
2answers
95 views

Magento Update to 2.3.3 backend after login Specified invalid parent id Magento_Analytics

i have a problem while upgrading Magento from 2.3.2 to 2.3.3. The update works fine and i have all done which mentioned here: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html ...
0
votes
0answers
28 views

I am getting an error when i run setup : Magento 1

I am getting below error: Call to a member function getDefaultStore() on boolean in D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php on line 562 can anyone have any ...
1
vote
1answer
31 views

InstallSchema.php fails to execute

I've read various posts here but none of them have been helpful. Steps I have taken: Remove My_Module from setup_module in DB Add Setup/InstallSchema.php Clear generated/* directory Clear cache ...
0
votes
1answer
24 views

Magento 1.3 installaton

i am trying to do magento 1.3 setup on local. The setup is not fresh, its a server setup i am doing it on local and i am getting this error. https://prnt.sc/opxr9g Can anyone help me out please
0
votes
0answers
22 views

White Screen During Setup. Tried everything

I'm trying to set up Magento locally using MAMP, and I'm getting the WSOD. I've changed permissions, to the point that just about everything has full permissions, and still nothing I'm running PHP 7....
2
votes
1answer
164 views

How to convert install/upgrade schema scripts to db_schema.xml files?

I'm following the guide from Magento DevDocs about the Declarative Schema I created a new module with old setup way (InstallSchema.php, InstallData.php) to test the convert install/upgrade schema ...
3
votes
1answer
219 views

phpcs Use ::class notation instead warning on attribute source field

I've created a setup script to load from a source model $eavSetup->addAttribute( \Magento\Catalog\Model\Category::ENTITY, 'location_reference', [ 'type' => 'varchar', ...
0
votes
1answer
26 views

Magento 2 installation settings - mysql database password problem

I am trying to run the magento 2 install (default shown below). However, if I add a symbol into the password it complains and says Your password must include both numeric and alphabetic characters. ...
1
vote
3answers
98 views

Magento installation error from command line

I tried to install magento CE- v2.3.1, from the windows command line interface. Instead of full command i used the short one, as "magento setup:install " I did not provide the full arguments because ...
1
vote
2answers
94 views

Magento 2: How do I enable or disable all modules (or subset) of a vendor in 1 command?

Seeing we are installing, upgrading, removing a new M2 (2.3.1) install we wouldlike a fast way to enable or disable modules from vendors in 1 go. Either by the Vendor name or for a Subset of modules ...
4
votes
0answers
184 views

How to solve Magento 2.3 Setup Version Errors

When running the command n98-magerun2 sys:setup:compare-versions I'm receiving the following errors: +-------------------------------------+---------+---------+---------+--------+ | Setup ...
1
vote
1answer
222 views

How this InstallData works each line in Magento 2?

My questions: I want know how this works by each and every line of code I want to add new attribute here Difference between InstallData and InstallSchema Here is InstallData.php <?php ...
2
votes
1answer
283 views

Specific order for patch

I'm new in Magento 2. I create several Patchs in Project/Module/Setup/Patch : Patch 1 Patch 2 Patch 3 I set all my patchs, one by one, with : php bin/magento setup:upgrade In DB, all it's OK : ...
3
votes
1answer
1k views

Magento 2.3 : How to create product attribute via declarative schema?

How to create a product attribute in Magento 2.3 via declarative schema. I have tried below code but the input element is not visible on the form. <?php namespace Rokanthemes\Updates\Setup\Patch\...
1
vote
1answer
867 views

Magento 2 : Running magento 2 on windows using windows subsystem for Linux

Is there some good guide on how to use Linux subsystem provided with windows 10 to set up and run Magento 2?
1
vote
1answer
366 views

unable to update Magento to latest version from 2.2.4 to 2.3

I am trying to update Magento 2.2.4 to Magento 2.3 via composer but I am getting below error: Your requirements could not be resolved to an installable set of packages. Problem 1: - magento/...
1
vote
1answer
4k views

Magento 2 Setup error on latest xampp version 3.2.2

I've installed Xampp v.3.2.2 and downloaded Magento CE 2.2.4 & 2.3. but I am facing issue when installing them. I get the following error:: Fatal error: Uncaught Exception: Warning: "continue" ...
0
votes
0answers
16 views

Magento 2: is it possible to setup magento 2 community edition instance on bitbucket with multiple branches?

I have to setup a magento 2 instance on bitbucket. I need to create multiple branches for Development, QA and Production. Overall, I need three branches master, qa, staging. I am little bit confuse ...
2
votes
1answer
95 views

Unable to install magento 2

I downloaded magento2 latest version from https://www.mageplaza.com/download-magento/#download. I pasted the unzipped folder to the htdocs of /Applications/MAMP/ When I started the mamp servers and ...
1
vote
0answers
74 views

how to remove setup page magento 2

I'm using 2.2.6, How to remove setup page magento 2 when installed after like http://xxxx.com/setup/index.php/session/unlogin thank you!
0
votes
3answers
1k views

Magento 2 crontab: not found

I read many about problems with setup magento CRON but I don't find something about this error message with putty ssh connection: Error during saving of crontab: sh: line 6: crontab: command not ...
1
vote
1answer
188 views

Install script not running

I know there's a million of these questions with answers but I still can't solve this. It does create the line in the core_resource table, but my install script is supposed to die to show it's running,...
1
vote
1answer
158 views

When is the setup folder created by Magento?

Can I gitignore it in a composer based installation? I tried deleting vendor/ and composer install, but the setup folder was not newly created. EDIT It is not happening on each composer install - ...
0
votes
1answer
57 views

How to display a category on my homepage?

I'm just making my own Magento website and I was wondering if it is possible to display a specific category? I have two categories and I would like to display them separately. I'm using this CMS code:...
4
votes
1answer
1k views

Blank page instead of setup When install Magento2

Blank page instead of setup When install Magento2 Error : Here
1
vote
1answer
920 views

PHP Memory Limit and Setup/Cron issue

I've done numerous searches and found some people with the same issue but nothing has helped. I'm hosted on GoDaddy's Grow Business hosting and installed Magento 2.2.4 through their cPanel. ...
2
votes
2answers
74 views

InstallData not working on Magento 2.1

I have an InstallData script below which works absolutely fine on Magento 2.2 but failed to install data on Magento 2.1 class InstallData implements \Magento\Framework\Setup\InstallDataInterface { ...
4
votes
3answers
2k views

Magento 2.2.4 Web Setup Wizard 'This page isn't working'

I have freshly installed Magento 2.2.4 through softaculous installer in cPanel. After finish installing, Admin > System Web Setup Wizard not working. The link redirects me to ..../setup and it shows '...
4
votes
2answers
5k views

Magento 2.2.2 Web Setup Wizard not visible in backend

Magento 2.2.2 Web Setup Wizard not visible in backend on Nginx and php7
0
votes
2answers
326 views

Magento2 Set theme programmatically and not in InstallData

I have a requirement where Customer can select from available theme to be shown when they are logged in. Now I have theme's id in customer Eav setup custom attribute, I also have setup a ...
0
votes
1answer
50 views

Problem launching Magento 2 wizard on my MAC

I have a problem starting the installation process on my mac. Can't launch the set up wizard. These are the changes I made to my php.ini file /Applications/MAMP/bin/php/php7.2.1/conf/php.ini: ...
1
vote
0answers
1k views

Can not found setup_module table in magento 2

I had the same issue as many people had already Install schema not creating table I searched and I found a solution but even more confused when the solution is work on setup_module table which is ...
0
votes
1answer
425 views

Saved custom model doesn't returns it's id

I have a table with only 2 fields: id (primary key) and name. I've created a model for it, repository model. In my repository model, there is a method save. I'm trying to create a new record in my ...
0
votes
1answer
940 views

How to change the column in core table in magento 2

I need to change the existing column (title to be null) in review_detail table in Review module in magento.Please provide me a solution
2
votes
0answers
195 views

Override class in setup:upgrade command in magento2

I am trying to override the class FilePermissions (magento/framework/Setup/FilePermissions.php) but my changes are not taken in account while I use the bin/magento setup:upgrade I tried : To add a ...
0
votes
1answer
873 views

“An error occurred during execution; please try again later.”

I installed a module called FireGento MageSetup2, and then didn't need it anymore. I then disabled it, uninstalled it then removed it from the composer. However, when trying to load the Web Setup, ...
3
votes
3answers
3k views

php bin/magento setup:upgrade

when I install a new theme I do this commands via Putty: php bin/magento setup:upgrade how can I fix this problem? I'm working on Magento 2.1.0 PHP Warning: Uncaught Exception: Warning: ...
0
votes
1answer
312 views

Composer vs component manger vs manual install

Trying to see which method is the best to install extensions by. I would always lean towards composer however it looks as though many articles online would suggest using Magento's Component manager is ...
0
votes
1answer
241 views

Web Setup Wizard 404

I have Magento 2.2 installed locally using composer on an Apache webserver. Everything seems to be working besides from when I login into the admin and go System -> Web Setup Wizard it takes me to a ...
1
vote
1answer
52 views

Error when trying to add custom attribute programmatically

I got this error when I try to create a custom attribute for products: The configuration parameter "formElement" is a required for "instruction" field. InstallData.php <?php namespace MyVendor\...
2
votes
0answers
905 views

Magento 2.2 Web Setup Wizard missing

I am running Magento 2.2 and the Web Setup Wizard is missing. When I use the url: admin/admin/backendapp/redirect/app/etc on the backend. It leads me to /setup/index.php/session/unlogin not /setup/#/...
1
vote
2answers
657 views

InstallData not working

I have InstallSchema.php as follows: <?php namespace Namespace\Module\Setup; use Magento\Framework\Setup\InstallSchemaInterface; use Magento\Framework\Setup\SchemaSetupInterface; use Magento\...
0
votes
2answers
411 views

After deleting a module : “Setup version for module 'xxx' is not specified”

I was learning Magento 2 by creating a simple module, and after I deleted all files I'm getting this error. I removed the row from setup_module in DB and reindexed, but I'm still getting this error.
0
votes
1answer
449 views

Magento 2 Installation Error

I've installing Magento 2 on my server but i've got below message error : {{$state.current.noMenu ? $state.current.title : titles[$state.current.type]}} See screenshot : Any Solution please?
1
vote
1answer
100 views

How to make a specific script run only once in the lifetime of an extension

The requirement is that I want to execute a script upon the installation of my extension. But I want to make sure that it runs only once and then never again. I tried doing this via Setup Resources. ...
3
votes
3answers
1k views

How To Download Magento 2.2.0 RC Setup using Composer?

I know how to install Magento 2 using composer. Magento lattest release of beta version Magento 2.2.0 - Dev.I don't know how to download or Installation Using Composer. I try to run direct "...