Questions tagged [setup]

Denotes question related to Magento installation

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

Error during compilation - Extra parameters passed to parent construct

During deployment when i run setup:di:compile i got error in one of my block, Extra parameters passed to parent construct: $data Guide me on this issue File name:index.php File location:app/code/...
0
votes
0answers
30 views

Error in installing Magento locally: “The Default Website is invalid. Make sure no more than one default is defined”

No idea what could be causing this Issue, here is what i tried to do to fix it: Disabled the modules (still shows the message) Checked to make sure that only one default website is applied (Still ...
0
votes
1answer
155 views

Transport Exception : Content-Length mismatch Installing Magento 2.3.6

I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
0answers
80 views

Magento CLI Install Error Megento_Catalog

I'm trying to install Magento 2.3 from the terminal and I find the following error, does anyone know how to fix it? In PatchApplier.php line 170: ...
1
vote
2answers
172 views

Class NewRelic\Monolog\Enricher\Handler does not exist

I just reinstalled magento using composer install Then I tried to run this command php bin/magento setup:upgrade and also tried running other setup commands. I got the following error: Class NewRelic\...
0
votes
1answer
15 views

Magento 2 Frontend Page shows Try clearing your cookies

I have installed magento through command line by using bin/magento setup:install --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --...
0
votes
1answer
240 views

magento 2.4 setup is not displaying, showing the page isn't working, HTTP error 500

magento 2.4 setup is not displaying, showing the page isn't working HTTP error 500, but i tried with simple php code.server is working fine. what may be the error, i am using php 7.3
0
votes
0answers
133 views

Magento 2 Setup Upgrade Base table or view not found How To Find Which Module Is Causing It or Which File?

I'm getting this error on running php bin/magento setup:upgrade -vvv Schema creation/updates: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'farouni_mage255.mg0f__moulay' doesn't exist, ...
0
votes
2answers
327 views

What are System Requirements for Magento 2.4?

I am using ubuntu 18.04 with PHP 7.3 and MySQL 5.7 Magento 2.3.5 is working fine what are requirements for Magento 2.4
4
votes
4answers
4k views

Magento 2.4 Best way setup with Docker environment

What is the best way to Configure Docker environment with Magento 2.4. If some know please give me a solution.
0
votes
1answer
150 views

Magento2.4 : How to setup PWA with Angular

I want to setup PWA with Angular. I search but I only found Magento 2 project setup with react. I correctly set up with react but not found the best practice and correct way to setup Magento 2.4 with ...
0
votes
1answer
2k views

Composer installation fails with “failed to open stream: Too many open files”

When trying to install Magento 2 Open Source with the following command, I get the following error. I've already upped my maxfiles to kingdom come, without any positive effect. How do I fix this? ...
0
votes
2answers
290 views

Magneto 2 setup - incorrect permissions

After install magento 2.3.5-p1 i got exception on setup page (in web setup). PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
1
vote
1answer
203 views

Cant install magento/pwa

I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa, and after answer of the question- Im getting an error-- Invalid directory path; contains illegal ...
0
votes
1answer
211 views

Magento 2 Angular js error while run setup

I am new to Magento, I am trying to set up Magento with ddev. So, Downloaded setup version 2.3 with sample data. When I run the setup it shows AngularJs errors in the console (See the screenshot). ...
0
votes
2answers
566 views

An error has happened during application run. See exception log for details. during deployment

hope you can help me out! Best regards Joost [2020-03-28 19:24:43] main.CRITICAL: Class Magento\Framework\Session\Config\ConfigInterface\Proxy does not exist {"exception":"[object] (...
0
votes
0answers
34 views

installed project on local and have an error

I installed project on local , used dump in the database but I have an error {"0":"The website with code base that was requested wasn't found. Verify the website and try again.","1":"<pre>#1 ...
0
votes
1answer
130 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/...
0
votes
1answer
767 views

Missing setup_module table in Magento 2.3.2 database

i am missing a table setup_module in magent 2.3.2 database, the site is working, however i cannot install any extensions as the new tables are not being created due to missing setup_module. i could ...
1
vote
1answer
402 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
4
votes
3answers
2k 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
2answers
101 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
3answers
2k 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
39 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
27 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
24 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....
3
votes
1answer
948 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
1k 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
359 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
234 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 ...
0
votes
2answers
496 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
208 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
393 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 ...
3
votes
1answer
1k 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 : ...
4
votes
2answers
6k 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\...
3
votes
1answer
4k 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
699 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
6k 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" ...
2
votes
1answer
112 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
134 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!
1
vote
3answers
4k 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
411 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,...
2
votes
1answer
489 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
65 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
2k views

Blank page instead of setup When install Magento2

Blank page instead of setup When install Magento2 Error : Here
1
vote
1answer
2k 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
97 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
5k 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
6k 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