Skip to main content

Questions tagged [setup]

Denotes question related to Magento installation

Filter by
Sorted by
Tagged with
0 votes
2 answers
164 views

Magento 2 : Class "Zend\Mvc\Controller\AbstractActionController" not found

I use Magento 2.4.6-p5 Getting this error on compilation: There is an error in htdocs/setup/src/Magento/Setup/Controller/AddDatabase.php at line: 11 Class "Zend\Mvc\Controller\...
user4095519's user avatar
0 votes
0 answers
54 views

Magento 2.4.6 in subfolder on Apache2

Ok, lets see if this famous issue got some updates and solutions. Seen many questions about it, but no real solutions. I'm having a setup with two different systems in two subfolders, like this root ...
Relja's user avatar
  • 113
0 votes
0 answers
22 views

Trouble running Magento on Linux

My friend was trying to run a source code for a store on Magento. His setting up for magento includes PHP 7.4, Docker and Composer. However, this was what he got: I'm new to Magento so I too have no ...
Ngoc's user avatar
  • 33
0 votes
0 answers
50 views

PWA env MAGENTO_BACKEND_URL change to local virtual host problem

Passed a lot of solutions but didn't get the success The task if the replace the default local virtual host pwa02.wsl wher M2 installed M2 vesion: 2.4.5 (working well) Venia varsion: 13.2.0 Istalled ...
Max.A's user avatar
  • 107
1 vote
1 answer
25 views

Plugin for Magento\Setup\Model\ConfigOptionsList::validate

Is it possible to make a plugin for Magento\Setup\Model\ConfigOptionsList::validate()? This function checks the validity of connection to DB and since I am dynamically generating password for DB, I ...
InToSSH's user avatar
  • 11
0 votes
1 answer
38 views

The store that was requested wasn't found during a clean setup

During my store setup, I received this error message below. The store that was requested wasn't found. Verify the store and try again. Why is it happening since the database is empty?
Rafael Corrêa Gomes's user avatar
1 vote
3 answers
805 views

Install Magento 2 PWA

Can Anybody suggest to me the best guide to install the Magento 2 PWA step by step? I tried many things, but face this issue on using this command : yarn buildpack create-custom-origin packages/venia-...
Rana Zain's user avatar
  • 658
0 votes
1 answer
18 views

How to create morethan oneproduct attribute and assign it to specific attribute set-Magento2

I have an attributeset named dealz and attribute set group with name DealzInformation.Also I have some customproductattributes like dealdate,dealqty,dealprize...etc. Then how to show this group with ...
Alshihab's user avatar
  • 161
0 votes
4 answers
372 views

What is the best way to setup existing magento project with apple M2 chip?

I have tried to install it using markshust/docker-magento but it gives errors in elasticsearch as elasticsearch is now deprecated in M2 chips and I am not sure how to configure magento2 with ...
Ruhani's user avatar
  • 572
0 votes
1 answer
362 views

public static function getVersion() : m2

Setup Data Patch script is executed successfully after running setup:upgrade command. Now i want to execute same script with public static function getVersion() function. Module version is : <?xml ...
Jimit Bhavsar's user avatar
0 votes
2 answers
1k views

How to install Magento 2.4.4 from archive with sample data?

i would like to know how to install Magento 2.4.4 starting from the archive with sample data. The archive can be downloaded here: https://magento.com/tech-resources/download#archive-releases While the ...
aetonsi's user avatar
  • 113
0 votes
1 answer
390 views

Magent 2.3.4 Installation error

I was do setup the magento 2.3.4 version in Php 7.3 version But Frontend throw error Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">...
user104747's user avatar
1 vote
1 answer
263 views

magento 2 cloud docker setup for 2.4.3-p1 failed gives error

I am trying to setup magento2.4.3-p1 with cloud docker when I run the docker.sh command curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.2.0/init-docker.sh | bash -s -- --...
inder's user avatar
  • 61
0 votes
1 answer
137 views

Error on setup:install step 4

I am installing magento in clean database but it throws an error In StoreRepository.php line 112: The store that was ...
Giga Todadze's user avatar
0 votes
1 answer
129 views

error when doing setup install on clean database magento2

Here is an error that occurs when I run setup:install command on clean database magento2 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clean.core_confi g_data' doesn't exist I added ...
Giga Todadze's user avatar
0 votes
1 answer
578 views

Magento 2.4, How to autofill value of Page Builder/textarea instead of Page Builder(form details) initialized as blank

In admin Catalog->Category->content I would like this Form detail:Page Builder to have Layout->Row and Element->HTML Code="Default Value" at setup. <?php namespace Justins\...
Justin Collins's user avatar
0 votes
2 answers
113 views

couldn't start dockergento and pull images

I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue. tried restarting everything, re logging in docker etc. pulled docker-hello ...
Giga Todadze's user avatar
0 votes
2 answers
703 views

Magento after setup ReflectionException Class Magento\Search\ViewModel\ConfigProvider does not exist

I setup my project in localhost and I get the below error when try to access frontend. Exception #0 (ReflectionException): Class Magento\Search\ViewModel\ConfigProvider does not exist My project is ...
Sukeshini's user avatar
  • 9,965
0 votes
2 answers
180 views

php -dmemory_limit=-1 bin/magento setup:di:compile

I am trying to install our live website into the localhost But I have encountered this error while running command php -dmemory_limit=-1 bin/magento setup:di:compile Parse error: syntax error, ...
user99886's user avatar
0 votes
1 answer
102 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/...
Sabin's user avatar
  • 1
0 votes
1 answer
659 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 ...
Shoaib Fareed's user avatar
0 votes
0 answers
144 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: ...
Cristopher Quispe's user avatar
1 vote
2 answers
344 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\...
Magento_learner's user avatar
0 votes
1 answer
181 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 --...
Prasanth's user avatar
  • 147
0 votes
1 answer
720 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
vinaysirige's user avatar
0 votes
3 answers
570 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
Waqar Ali's user avatar
  • 2,349
6 votes
7 answers
11k 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.
Saditha Udayanga's user avatar
0 votes
1 answer
430 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 ...
Saditha Udayanga's user avatar
0 votes
1 answer
4k 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? ...
Ambidex's user avatar
  • 113
1 vote
2 answers
1k views

Magento 2 setup - Incorrect permissions

After installing magento 2.3.5-p1 I get an 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 ...
Mikhaylo HODOVANIUK's user avatar
1 vote
1 answer
1k 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 ...
Garik Garik's user avatar
0 votes
1 answer
277 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). ...
Geee's user avatar
  • 101
0 votes
2 answers
1k 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] (...
Joost Jonker's user avatar
0 votes
0 answers
47 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 ...
Giga Todadze'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
0 votes
1 answer
2k 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 ...
Nittn Warshne's user avatar
2 votes
2 answers
1k 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
venkata prasad's user avatar
4 votes
2 answers
5k 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 ...
Bhavesh Prajapati's user avatar
0 votes
2 answers
142 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: '...
zus's user avatar
  • 175
2 votes
3 answers
3k 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 ...
Beendeluxe's user avatar
0 votes
0 answers
29 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 ...
ygiweb's user avatar
  • 1
1 vote
1 answer
72 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 ...
tylersDisplayName's user avatar
0 votes
1 answer
29 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
Nafsss's user avatar
  • 760
0 votes
0 answers
28 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....
mediabloke's user avatar
7 votes
2 answers
3k 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 ...
Khoa TruongDinh's user avatar
4 votes
1 answer
3k 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', ...
Dominic Pixie's user avatar
0 votes
2 answers
1k 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. ...
Jon Holland's user avatar
1 vote
3 answers
325 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 ...
Anand Rituraj's user avatar
0 votes
2 answers
1k 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 ...
snh_nl's user avatar
  • 5,452
4 votes
0 answers
224 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 ...
AJK's user avatar
  • 751