Hot answers tagged

8 votes
Accepted

I want to move magento2 to live server but No app/etc/local.xml in my magento 2?

In Magento 2, the equivalent to app/etc/local.xml is app/etc/env.php. You need to edit that file and everything should be fine. In case you need an example... 'db' => array ( 'connection'...
Toan Nguyen's user avatar
  • 3,049
8 votes

Magento 2 404 error for scripts and css

I faced this problem and try to figure out. I agree with Chris O'Toole. I will add an extra step. My steps are, Open app/etc/di.xml and search Symlink. Check it is in the following section. <...
cha's user avatar
  • 341
8 votes

Magento 2.4.2 Window10 localhost Xampp 404 not found

Step 1: - We need to set document root to pub, to do this go to file C:\xampp\apache\conf\extra\httpd-vhosts.conf <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/magento24/pub" ...
Sonal- TheCoachSMB's user avatar
4 votes
Accepted

How can I install Magento on Ubuntu 16.04 XAMPP with PHP version 7.1.1?

Yes The error shows correct . Because Magento 2 won't support PHP version 7.1.1. Both Magento 2.0.x and Magento 2.1.X both Support PHP 7 Version but with limited version Edition. Magento 2 ...
Manthan Dave's user avatar
  • 9,816
2 votes

I want to move magento2 to live server but No app/etc/local.xml in my magento 2?

In magento1 Local.xml has credentials for connection to DB. In magento2 credentials are stored in file env.php. Just edit in this file credentials for DB.
goral's user avatar
  • 659
2 votes

Magento 2 404 error for scripts and css

Remember to update file permissions after Magento creates these new static files. They are not owned by www-data, so they will give 404.
Kevin's user avatar
  • 81
2 votes
Accepted

Magento doesn't check php version

I am putting this answer that How it worked for me. Went to Magento Directory opened CMD there & Ran below commands. To run the cron separately. Php bin/magento cron:run php update/cron.php php ...
Abhishek Tripathi's user avatar
2 votes

Magento 2 : How to check MEQP2 for My Extension

@LazyCoder Yes, You can generate log in an external file. For that, you need to pass one argument (> Filename.log) with the command. Example: C:\xampp\htdocs\m2fresh\magento-coding-standard\vendor\...
Emipro Technologies Pvt. Ltd.'s user avatar
2 votes
Accepted

Magento 2 : How to check MEQP2 for My Extension

I think it creates an Issue because you are passing cd(change directory) in your command. try to execute without it. And one more thing If you are using Window OS then you need to make sure about ...
Keyur Shah's user avatar
2 votes
Accepted

Magento 2 Setup error on latest xampp version 3.2.2

I'm assuming Xampp v3.2.2 uses php 7.3? Probably should downgrade php to 7.2 as using continue throws the warning above in the latest php version https://raw.githubusercontent.com/php/php-src/PHP-7....
djfordz's user avatar
  • 342
2 votes

Warning: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256'

It looks like you are missing the mcrypt php extension. I've read in various places that it's not that straight forward to install mcrypt on php 7.2. But you can follow this tutorial on how to do it: ...
Marius's user avatar
  • 198k
2 votes

how to export large sql file to phpmyadmin in kali linux?

It's so simple. You can export the database to any directory which you want. To do so: Open terminal (CTRL + ALT + T) and put the following command first: cd /opt/lampp Now run the mysqldump ...
Mohit Kumar Arora's user avatar
2 votes
Accepted

Is it possible to install using checkout from existing SVN?

My experience is with Magento V1. I don' know how much has changed in V2. I have been using a SVN method of keeping our live site up to date for about a year now. I have a separate URL for the ...
Kane Shaw's user avatar
  • 315
2 votes

Magento2 Installation Problem on Windows 10

I have same issue to with magento 2.3 on Windows 10, backoffice page show blank page with brown background. after searching the problem on the web, finally found solution open file /vendor/magento/...
Sangeeta Chandaliya's user avatar
2 votes
Accepted

Magento 2 installation freeze at 0%

try to install magento2 with Command its work fast php bin/magento setup:install --base-url="http://localhost/mag234/" --db-host="localhost" --db-name="mag234" --db-user="root" --admin-firstname="...
Jigs Parmar's user avatar
  • 2,438
2 votes
Accepted

Magento 2: Errors after installation on xampp

To resolve this issue on the localhost. vendor/magento/framework/View/Element/Template/File/Validator.php Find the below code if (0 === strpos($realPath, $directory)) { return true; } And ...
Kishor Thummar's user avatar
2 votes
Accepted

Magento under XAMPP very slow on windows

I'm going to give the official answer Magento would give you. Magento isn't supported on windows so your experience will be less than ideal if it works at all. If you would like to develop magento you ...
Mark Rees's user avatar
  • 356
2 votes

Magento 2.4.2 Window10 localhost Xampp 404 not found

This is not a Magento issue, most likely your question will be closed. This seems to be a XAMPP issue. You will have to set up a virtual host in your XAMPP. Learn how to setup Virtual Host in your ...
Adarsh Khatri's user avatar
1 vote
Accepted

XAMPP Magento 2 vendor folder does not have any core modules

You can download from official Magento site i.e https://magento.com/tech-resources/download Note: You need an active account to download
Pawan's user avatar
  • 5,846
1 vote
Accepted

install magento2 on xampp

The error you are getting is quite common with beginners during magento 2 installation. It is better to follow this documentation. The error you are seeing in your installation process means that your ...
P S's user avatar
  • 1,983
1 vote
Accepted

when i run magento using xampp it shows Fatal error: Uncaught Exception: Deprecated Functionality:

You should refer to documentation Magento has provided through their DevDocs Magento 2.2.x technology stack requirements. In addition to listing compatible versions of PHP that Magento2 can handle, ...
Aditya Shah's user avatar
  • 7,597
1 vote

Run multiple Magento 2 versions in windows xampp

There is a simple way to go about it. You just have to use the full path when invoking php in the CLI. So for instance instead of php bin/magento setup:di:compile you will use the full path like this ...
Elisha Senoo's user avatar
1 vote

Magento 2.2.5 new customer account form not working for Chrome, Internet Explorer but works fine in Mozilla

I finally found the answer. Step 1: ( <?php echo $block->getBlockHtml('formkey')?> )Add this code inside the "register.phtml" after <form>. Step 2: Change your link http://localhst/...
jsjq-finder's user avatar
1 vote
Accepted

SOLVED: Magento 2 GET 500 (Internal Server Error)

Okay Run the Following Command in the command line. php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
Harshil Parekh's user avatar
1 vote

Can't login into Magento 2 admin xampp

In my case, since I did a data strip with magerun2. The data from this table: authorization_role was also erased. This query fixed it: INSERT INTO authorization_role (role_id, parent_id, tree_level, ...
Attila Naghi's user avatar
  • 3,993
1 vote
Accepted

Can't login into Magento 2 admin xampp

Try creating a new user: bin/magento admin:user:create --admin-user="testing" --admin-password="123123q" --admin-email="[email protected]" --admin-firstname="Test&...
Greg's user avatar
  • 2,929
1 vote

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?

Since your question does not clearly depict your problem I am assuming that you are not able to run the correct path of your Magento folder to run setup. So I will tell you the correct method to do so....
kusum's user avatar
  • 81
1 vote
Accepted

How to boost Magento speed on localhost/xampp?

When developing localy on windows there are two common causes of delay, resolution of localhost is one and windows slow file operations due to complex OS ACL is the other. To improve the situation ...
Abhinav Singh's user avatar
1 vote
Accepted

How to import a >300Mb database using XAMPP?

Via SSH CLI Typically you want to SCP (secure copy) the SQL file to the server and run the mysql client to import the SQL script. To send the file to the server, one would use this command: scp ...
Brett's user avatar
  • 1,854
1 vote

Magento 2 CE on Windows 10 XAMPP

You must write static view files to the Magento file system manually using the command: php bin/magento setup:static-content:deploy
Vitalii's user avatar
  • 608

Only top scored, non community-wiki answers of a minimum length are eligible