As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

92 votes
Accepted

Magento 2 404 error for scripts and css

When not in production mode Magento 2 will try to create symlinks for some static resources. You can change that behavior by doing the following. Open up app/etc/di.xml and find the virtualType ...
Chris O'Toole's user avatar
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
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
  • 2,969
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
6 votes

The directory is not writable by server. Magento 1.9 on XAMPP

I needed to create /media/wysiwyg and set write permissions. It was not created because magento could not write into /media.
PiTheNumber's user avatar
  • 3,214
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,756
4 votes
Accepted

One or more indexers are invalid. Make sure your Magento cron job is running

Try to run from the project root: php bin/magento indexer:reindex
Alex Paliarush's user avatar
3 votes

The directory is not writable by server. Magento 1.9 on XAMPP

I checked that there is no wysiwyg folder in the media folder. I created it and wola it worked. Hope this will work for those who are facing same problem.
Navin Bista's user avatar
  • 1,093
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

Deploying a Magento Store from a live server to XAMPP/WAMP

This YouTube tutorial might help: https://www.youtube.com/watch?v=OOIzGpXCuT4 Once you've copied all the files to your local htdocs folder, I believe you'll need to migrate your MySQL database from ...
mikekim85's user avatar
2 votes

How can i installing Magento 2 with Sample data on my windows Xampp

Step 5 describes altering the composer.json file that came with your Magento 2. After adding "minimum-stability": "beta",, the top of the composer.json file should look similar to this: { "name": ...
Herman Slatman's user avatar
2 votes
Accepted

Ignore Redis on Local Server

just fall back to default sessions in your app/etc/local.xml file. <session_save><![CDATA[files]]></session_save> and remove the redis_session configuration
Andrew Kett's user avatar
  • 3,478
2 votes

Local admin in xampp is redirecting to live site

Remove cache, sessions and locks from the var folder. After that check core_config_data for web/unsecure/base_url and web/secure/base_url in your db to see if they match the url you are accessing in ...
mbalparda's user avatar
  • 7,363
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
  • 649
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
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

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

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
  • 17.8k
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

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
  • 197k
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
  • 332
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,533
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

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,785
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="testing@example.com" --admin-firstname="Test&...
Greg's user avatar
  • 2,889
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

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

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