Skip to content

500 Internal Server Error when install in localhost #783

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

Closed
vigentocommerce opened this issue Dec 6, 2014 · 13 comments
Closed

500 Internal Server Error when install in localhost #783

vigentocommerce opened this issue Dec 6, 2014 · 13 comments
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@vigentocommerce
Copy link

Hey, I got 500 Internal Server Error when start install in localhost http://localhost/magento2-master/setup/
What happen, it is localhost in window so no permission wrong here. Please help.

Thank you in advanced!

@safwkhan
Copy link
Contributor

safwkhan commented Dec 6, 2014

500 is a generic error which may be caused by several reasons. Can you please provide the log details (var/log) for this particular error you get?

@muasir muasir added the PS label Dec 8, 2014
@Crustymd
Copy link

i ahve the same problem on loca and here is the log

[Thu Dec 11 14:57:51.404916 2014] [core:alert] [pid 19000] [client 127.0.0.1:45651] /home/user/www/magento2-test/magento2/setup/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

@Crustymd
Copy link

Ok so in case anybody will have this issue on a locallinux server probably you jsut do not have the mod_rewrite enabled.

To fix this for linux you jstu enter simple 2 commands:

ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load
sudo service apache2 restart

Worked nice for me

@mazhalai
Copy link
Contributor

Rather than soft linking, sudo a2enmod rewrite is the better way to do it. What it does essentially is create the soft link, but it makes it easier to disable by sudo a2dismod rewrite.

@vigentocommerce
Copy link
Author

@Crustymd you are correct, I have to enable mod_rewrite in localhost to make it work.

@kandy
Copy link
Contributor

kandy commented Dec 17, 2014

In any case, we do not recommend using local host as a domain, because you may have a problem with the cookies

@vigentocommerce
Copy link
Author

@kandy agreed

@antonmakarenko
Copy link

This seems to be resolved already: https://github.com/magento/magento2/blob/develop/setup/.htaccess -- now the "RewriteEngine" is enclosed into "IfModule", so it should not produce runtime error:

<IfModule mod_rewrite.c>
    RewriteEngine Off
</IfModule>

@verklov
Copy link
Contributor

verklov commented Dec 29, 2014

Closing this ticket as already resolved.

@verklov verklov closed this as completed Dec 29, 2014
@jaatr
Copy link

jaatr commented Feb 18, 2016

showing server error 500 in magento 1.9 on a live server please help

@mazhalai
Copy link
Contributor

@jaatr please do not post on close issues, also this is only for Magento 2. Please post magento 1 issues in https://community.magento.com/

@jaatr
Copy link

jaatr commented Feb 18, 2016

in magento 2 banner slider not showing only showing please wait plz help

@davidalger
Copy link
Member

@jaatr I would recommend you head over to the Community Forums or Magento Stack Exchange site for technical questions and/or assistance debugging an issue. If you have a bug report with steps to reproduce, then open a new issue with that and environment information, thanks!

@magento magento locked and limited conversation to collaborators Feb 18, 2016
@okorshenko okorshenko added 2.2.x bug report Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Oct 25, 2017
@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Oct 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests