Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

1
vote
1answer
34 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
29 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
24 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:...
0
votes
0answers
68 views

Magento2 setup - Page isn't redirecting properly

So I have downloaded the most recent version of Magento 2 and added it to my CentOS 7 server. At first it gave me white screen of death so I thought, permissions you pesky mofo - I ran: $ sudo chown ...
4
votes
1answer
238 views

Blank page instead of setup When install Magento2

Blank page instead of setup When install Magento2 Error : Here
1
vote
1answer
134 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
57 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 { ...
0
votes
1answer
410 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 '...
0
votes
0answers
104 views

Magento 2 - Admin Web Setup Wizard HTTP ERROR 500

After Upgrade Magento 2.2.3 to 2.2.4 Admin > System Web Setup Wizard not working. It shows This page isn’t working. Please check screenshot for better understanding.
0
votes
0answers
47 views

Running Magento 2 on Built in PHP server

I've got everything set up with PHP Built in server. Except, how do I send MIME types to the browser as the site, neither backend nor front, is able to process all the css and js files. I know if I ...
1
vote
1answer
712 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
1answer
87 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
44 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
313 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
92 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
266 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
1
vote
0answers
110 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
504 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
616 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
74 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
137 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
40 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\...
0
votes
0answers
593 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
275 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
144 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
0answers
46 views

Magento 2 ECE : How to setup on local machine?

I have Purchased Magento-2 ECE. But this gives only front-end and admin panel. How to access my file structure and database? Is it possible to setup on my local environment, so that I can migrate my ...
0
votes
1answer
271 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
52 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
905 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 "...
0
votes
1answer
23 views

Setup Wizard succeeds but doesn't create

I followed the easy install procedure guides/v2.1/install-gde/prereq/zip_install.html and used this software version: Magento-CE-2.1.7-2017-05-30-01-54-40.tar.gz Everything set up successfully, ...
3
votes
1answer
452 views

Setup:upgrade doesn't work

I copied my website from localhost to server. For the first 3 days shop worked properly, but now there is an error. http://demo2.ninethemes.net/fastor/magento2/ Please upgrade your database: Run "...
0
votes
1answer
383 views

Error in setup wizard

When I went to system configuration in Setup Wizard to enter and save my keys, it saved them but then gave me the following error: Command "show" failed: [InvalidArgumentException] Package magento/...
0
votes
1answer
65 views

When I type in “localhost/magento2” instead of going to the setup page, I get “Object not found” What do I need to adjust in xampp?

I'm convinced that there is a configuration file in XAMPP that needs to be altered. When I type in "localhost" I'm taking to a project that I've been working on for the past 3 weeks, instead of the ...
0
votes
1answer
103 views

Cannot correct php.ini error in Magento 2.1.6

Hello I was going to use the latest magento 2.1.6 source files from magento website and have been trying deeply the same problems like me for around a week among other website include this website too ...
5
votes
1answer
2k views

Add an image product attribute in Magento 2 in module setup

I've been trying to find an article/question related to the creation of an 'image' type attribute for a product in Magento 2. That is: having just a browse field where the user can upload an image (...
1
vote
0answers
306 views

How to install Magento 2.1 to PostgreSQL

As the topic. I would like to magento worked on PostgreSQL. Is it possible during installation instead of MySQL indicate PostgreSQL database? Completely abandon MySQL. Only use PostgreSQL?
1
vote
1answer
776 views

Magento setup directory cannot be accessed

I am trying to setup Magento on a Apache MacOS local system. I have uploaded the Magento Community Edition 2.0.12 from the official download source, unzipped them in my ~/myusername/Sites/magento ...
0
votes
1answer
378 views

Save email template to database when install data Magento 2

I want create a new template, but not from Marketing > Email Templates i want to do it programmatically from my custom extension, the idea is the new template will be saved when Setup/InstallData.php ...
0
votes
1answer
499 views

Magento 2 Currency Setup - Allowed Currencies programmatically

How to set 'Allowed Currencies' for each store programmatically in Magento2. Options in Admin Panel are placed here: System -> Configuration -> General -> Currency Setup Also I'm not sure ...
0
votes
2answers
4k views

Magento 2 : InstallData.php Does Not Seems to be Running While setup:upgrade

In custom module, I have InstallSchema.php and a InstallData.php files. InstallSchema.php seems to be running fine, both tables declared in file are created. But with the InstallData.php nothing ...
2
votes
3answers
8k views

Magento 2 on shared hosting, Vendor autoload is not found. Please run 'composer install'

I am trying to install magento2 on shared hosting environment this is what i did. Downloaded magento .zip archive and uploaded it to server in public_html/magento2 directory. Tried running it in ...
1
vote
2answers
57 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> ...
0
votes
2answers
89 views

Uncaught Error: Class 'Lime\Courier\Setup\Varien_Db_Ddl_Table' not found in C:\xampp\htdocs\mage2\app\code\Lime\Courier\Setup\InstallSchema.php:81

when i try to install my custom module i got an error saying: Installing schema... PHP Fatal error: Uncaught Error: Class 'Lime\Courier\Setup\Varien_Db_Ddl_Table' not found in C:\xampp7\htdocs\...
4
votes
3answers
6k views

There are no commands defined in the “setup:static-content” namespace

There are no commands defined in the "setup:static-content" namespace. Did you mean one of these? setup setup:config setup:cron setup:db-data setup:db-schema setup:db setup:di setup:...
4
votes
3answers
2k views

show error message through plugin Magento2

Hi i have use a plugin feature in my module to check the zipcode is available in the module or not .Which works fine but on validating i have set the error message like <?php namespace Company\...
4
votes
2answers
435 views

Gruntfile.js, Autoprefixer and bin/magento setup:static-content:deploy

The vanilla checkout of Magento2 contains a Grunt boilerplate including the autoprefixer task. It works all sweet and dandy (according to our frontend devs). However now as I need to make the whole ...
1
vote
0answers
29 views

Magento2 should we use API in setup as best practice?

Some time ago I opened an issue on magento2 about a possibile problem I've spotted in magento EavSetup class. In the discussion that follows some Magento devs are saying that for module setup (...
2
votes
3answers
1k views

Magento 2 add data to core_config_data

I'm having problems with programmatically configuring Magento 2.1. How can I add data to core_config_data? public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { ...
1
vote
1answer
347 views

Redirecting Magento to domain root from sub-folder 500 error

My magento site is stored in a sub-folder of my root domain mydomain.com/magento - I am trying to get the site working at mydomain.com (leaving admin available at mydomain.com/magento/admin). I have ...
3
votes
2answers
397 views

Magento2 install stuck on file permissions

I am using a fresh version of Magento 2.1 Apache 2.2 I have set my file permissions to 777 on the entire folder I can see that Apache is writing as apache:apache I have chown'd the entire folder to ...