Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2.2 rc 2.1 doesn't work after installation #10613

Closed
MaximKitsenko opened this issue Aug 22, 2017 · 8 comments
Closed

Magento 2.2 rc 2.1 doesn't work after installation #10613

MaximKitsenko opened this issue Aug 22, 2017 · 8 comments
Labels
bug report Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@MaximKitsenko
Copy link

MaximKitsenko commented Aug 22, 2017

Preconditions

  1. Magento 2.2.0-rc2.1. I tried to downlaod from github and from repo with helpof composer

  2. PHP 7.0.22-2+ubuntu16.04.1+deb.sury.org+4 (cli) (built: Aug 4 2017 13:04:09) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.22-2+ubuntu16.04.1+deb.sury.org+4, Copyright (c) 1999-2017, by Zend Technologies

  3. Server version: Apache/2.4.18 (Ubuntu) Server built: 2017-07-27T14:34:01

  4. +-------------------------+ | version() | +-------------------------+ | 5.7.19-0ubuntu0.16.04.1 | +-------------------------+

Steps to reproduce

  1. Download magento src from github
  2. Start setup via webWizard.
  3. Check requirements passed (button on first page on wizard)
  4. Go ahea and receive 'Success' message
  5. Open store page
  6. Open admin page

Also i tried:

  1. composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2
  2. receive message: Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead. Writing lock file Generating autoload files
  3. Install from command line
  4. receive message: [SUCCESS]: Magento installation complete. [SUCCESS]: Magento Admin URI: /admin_isq95k
  5. Open store page
  6. Open admin page

Expected result

  1. Correct store page
  2. Correct admin page

Actual result

  1. 404 instead of admin page
  2. Page without styles, links and menu doesn'r work instead of store page.
    virtualbox_2017-08-22_15-35-19

virtualbox_2017-08-22_15-33-47
virtualbox_2017-08-22_15-35-53

for me it looks similar to this

@mrkhoa99
Copy link
Contributor

First of all, don't use localhost as the top level domain. Try to use another domain like mage217.loc, mysite.loc, etc.

Second, the layout broken, we need to run static deploy command.

Third, check your web server mode rewrite. We can add index.php to the url, for example: localhost/magento2-2-0-2-1/index.php/admin_

@misha-kotov
Copy link

@MaximKitsenko did the suggestions resolve the issue?

@serblama
Copy link

I have exactly the same problem.
I can't not find the problem.
I have debian with apache2

@misha-kotov
Copy link

@serblama did you try the suggestions listed above?

@serblama
Copy link

yes, but the second option, I don't understand what do you mean with deploy command

@misha-kotov
Copy link

Read about it here.
CLI command: magento setup:static-content:deploy

Are you running in default mode?
CLI command to check: magento deploy:mode:show

@magento-engcom-team magento-engcom-team added 2.2.0-rc2 bug report Progress: needs update Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 5, 2017
@kolarix
Copy link

kolarix commented Sep 13, 2017

The solution for this is to add this in the default apache2 server config (/etc/apache2/sites-available/000-default.conf).

<Directory "/var/www/html"> AllowOverride All </Directory>

@magento-engcom-team
Copy link
Contributor

@Stike999 thank you for suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

7 participants