Hello Forum,
I want to install Magento CE 2.1.2 with Sample data. I want to learn what this software can do and I want to use the REST interface. I have tried the installation manual via Web Interface and via Commandline interface. In both cases I get the answer that the installation succeed. But when I try to access the Admin address, I get a 404 error. If I try to access the shop directly I get this view. Could this be the sample webshop? Does it look so bad, or does it indicate that the installation is in some kind broken?
I'm installing Magento on a Debian 8.6 VM with 4GB Ram.
I have installed all php/apache/mysql extensions I was asked for.
Can someone give me a hint how to get a working webshop with sample data?
Thanks
Kin
Hi @kinwazo
Did you deploy the static content using following command?
php bin/magento setup:static-content:deploy
Is your store front is loading properly?
Please also refer following link on dev docs site Verify the installation
I have added the sample data like you mentioned. Now the storefront looks exactly like in your picture. But If click on something, I get every time a 404 message: Creating an Account, looking at Gear->Bags, etc
I want to log into the admin account, but it does not work either, I get also a 404 error.
I have created the webshop with this command:
./magento setup:install --backend-frontname="BE" --session-save="files" --db-host="127.0.0.1" --db-name="magento" --db-user="magento" --db-password="12345678" --base-url="http://127.0.0.1/" --language="en_US" --timezone="Europe/Prague" --currency="EUR" --use-rewrites="1" --use-secure="1" --base-url-secure="https://127.0.0.1/" --use-secure-admin="1" --admin-use-security-key="1" --admin-user="admin" --admin-password="12345678" --admin-email="my@email.adr" --admin-firstname="kin" --admin-lastname="wazo" --cleanup-database --use-sample-data
After creating the shop, I get the message that the Admin URI would be "/BE".
I have tried http://127.0.0.1/BE and http://127.0.0.1/Admin_BE but nothing worked.
I have the same issue on one of the successful installations but when I use thie static deploy command I get status: 404 Not Found
Try the following and revert back if you still face the problem:
php bin/magento setup:static-content:deploy php bin/magento setup:upgrade php bin/magento cache:clean
Delete var/cache folder
Even then if you face the problem then there must be an issue with your web server config. If you are using apache do the following:
Inside apache2.conf change AllowOverride none to AllowOverride All
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted