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 ...
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.
<...
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'...
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"
...
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.
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 ...
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
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.
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.
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 ...
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": ...
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
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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\...
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: ...
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....
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/...
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="...
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 ...
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 ...
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 ...
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, ...
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&...
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 ...
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....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xampp × 100magento2 × 57
localhost × 16
magento2.3 × 13
php × 8
php-7 × 8
windows × 8
windows10 × 7
database × 6
error × 6
installation × 6
apache × 6
magento-1.9 × 5
magento2.4.2 × 4
cron × 3
git × 3
apache2 × 3
linux × 3
magento-2.1 × 2
magento-1 × 2
extensions × 2
magento2.4 × 2
admin-panel × 2
magento2.2.2 × 2
magento2.3.0 × 2