Magento 2: 500 Internal Server ErrorCss and Js not lowdinf from the static and media M2Weird 500 internal server errorhow to fix error after deploy:mode: developer?Receiving 500 Internal Server ErrorMagento 2 Error 500 after admin login (apache)Magento 2 - Admin Icons won't load + backend not functionalCannot create symlink in magentoMagento 500 Internal server errorMagento - Error 500 - Internal Server Error500 Internal Server ErrorMagento 2 .htaccess problem after server migration from siteground to godaddy. internal server error on image,css,js
Brexit - No Deal Rejection
How could an airship be repaired midflight?
How to terminate ping <dest> &
Have the tides ever turned twice on any open problem?
Why does a Star of David appear at a rally with Francisco Franco?
New passport but visa is in old (lost) passport
What options are left, if Britain cannot decide?
As a new Ubuntu desktop 18.04 LTS user, do I need to use ufw for a firewall or is iptables sufficient?
Math equation in non italic font
Are all passive ability checks floors for active ability checks?
Convergence in probability and convergence in distribution
Are relativity and doppler effect related?
How to make healing in an exploration game interesting
The German vowel “a” changes to the English “i”
How could a scammer know the apps on my phone / iTunes account?
What is "focus distance lower/upper" and how is it different from depth of field?
How do I hide Chekhov's Gun?
Problem with FindRoot
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
Happy pi day, everyone!
How to explain that I do not want to visit a country due to personal safety concern?
Describing a chess game in a novel
et qui - how do you really understand that kind of phraseology?
Life insurance that covers only simultaneous/dual deaths
Magento 2: 500 Internal Server Error
Css and Js not lowdinf from the static and media M2Weird 500 internal server errorhow to fix error after deploy:mode: developer?Receiving 500 Internal Server ErrorMagento 2 Error 500 after admin login (apache)Magento 2 - Admin Icons won't load + backend not functionalCannot create symlink in magentoMagento 500 Internal server errorMagento - Error 500 - Internal Server Error500 Internal Server ErrorMagento 2 .htaccess problem after server migration from siteground to godaddy. internal server error on image,css,js
I followed the Magento dev docs per below:
If you add a new .html template, and then edit it, the changes will
not apply until you do the following: delete all files in the
pub/static/frontend and var/view_preprocessing directories, then
reload the pages. You can delete the files manually or run the grunt
clean: command in CLI. For details about using Grunt in
Magento see Installing and configuring Grunt.
However now in developer mode set via htaccess I get Internal Server Error 500 across site and admin urls. Is that a caching issue if its looking for the cleared files to render?
magento2 php error
add a comment |
I followed the Magento dev docs per below:
If you add a new .html template, and then edit it, the changes will
not apply until you do the following: delete all files in the
pub/static/frontend and var/view_preprocessing directories, then
reload the pages. You can delete the files manually or run the grunt
clean: command in CLI. For details about using Grunt in
Magento see Installing and configuring Grunt.
However now in developer mode set via htaccess I get Internal Server Error 500 across site and admin urls. Is that a caching issue if its looking for the cleared files to render?
magento2 php error
2
check your error log.
– MagenX
Feb 9 '16 at 8:41
add a comment |
I followed the Magento dev docs per below:
If you add a new .html template, and then edit it, the changes will
not apply until you do the following: delete all files in the
pub/static/frontend and var/view_preprocessing directories, then
reload the pages. You can delete the files manually or run the grunt
clean: command in CLI. For details about using Grunt in
Magento see Installing and configuring Grunt.
However now in developer mode set via htaccess I get Internal Server Error 500 across site and admin urls. Is that a caching issue if its looking for the cleared files to render?
magento2 php error
I followed the Magento dev docs per below:
If you add a new .html template, and then edit it, the changes will
not apply until you do the following: delete all files in the
pub/static/frontend and var/view_preprocessing directories, then
reload the pages. You can delete the files manually or run the grunt
clean: command in CLI. For details about using Grunt in
Magento see Installing and configuring Grunt.
However now in developer mode set via htaccess I get Internal Server Error 500 across site and admin urls. Is that a caching issue if its looking for the cleared files to render?
magento2 php error
magento2 php error
edited Nov 25 '16 at 14:39
7ochem
5,80393768
5,80393768
asked Feb 8 '16 at 19:37
Matthew McLennanMatthew McLennan
78031028
78031028
2
check your error log.
– MagenX
Feb 9 '16 at 8:41
add a comment |
2
check your error log.
– MagenX
Feb 9 '16 at 8:41
2
2
check your error log.
– MagenX
Feb 9 '16 at 8:41
check your error log.
– MagenX
Feb 9 '16 at 8:41
add a comment |
13 Answers
13
active
oldest
votes
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
add a comment |
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
add a comment |
On CentOS 7, I disabled the firewall settings with the following command:
$ setenforce 0
and thats it. The problem get resolved. with RHEL 7 and CentOS 7, SELinux makes the system more secured but it poses a whole lot of challenges to Non-Linux folks.
add a comment |
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2
and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/
looks like this: http://localhost/magento222/pub/static/
right click the "static" folder and click property to make sure if it is writable.delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.
add a comment |
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
Thank you
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
add a comment |
- It could also be because of wrong file permissions.
- Make sure that you CHMOD to
"user":"group" "magento install DIR"
add a comment |
I also came across the same situation in morning but thanks to @david answer.
After a bit research of log directory of Apache, I came to know about that apache don't have permission to read app/etc/ folder.
So, after giving permission all working fine.
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
add a comment |
seems need only to index.php
show php errors Show PHP errors
and after can fix
in my case - was permission for dirs
add a comment |
If you are using Magento 2.2.4. Then first go to Apache log directory and
[Wed May 30 00:58:17.857269 2018] [core:alert] [pid 7184:tid 1244] [client 127.0.0.1:65528] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:58:42.568180 2018] [core:alert] [pid 7184:tid 1248] [client 127.0.0.1:49165] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:59:01.667499 2018] [core:alert] [pid 7184:tid 1252] [client 127.0.0.1:49169] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:04.655715 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49174] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:35.151803 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49201] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
According to the log, the main problem is a .htaccess file. I don't know the exact reason but following code remove from the .htaccess file is working.
Remove file tag code.
<Files composer.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files composer.lock>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .gitignore>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .php_cs.dist>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .travis.yml>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files CHANGELOG.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files COPYING.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files Gruntfile.js>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE_AFL.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files nginx.conf.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files package.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files php.ini.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files README.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files auth.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files magento_umask>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
Note : I don't know there may problem in future or not. But it's help me.
add a comment |
Struggled for an hour and finally issue got resolved after removing the proxy settings. Whoever facing this issue, check your proxy setting.
add a comment |
In my case it is due to ownership issue. I was using ubuntu os so I used following command to correct ownership.
sudo chown -R root:root /var/www/project_name
add a comment |
Resolved by giving proper file permissions to magento root folder
add a comment |
It is a very sophisticated issue.
Much possible reason can happen for this. Better than going randomly, debug the issue.
if you are using apache2 to go to /var/log/apache2 and you will found error.log, other there you will found a specific reason why this is happening. And solved it by a search over the internet.
Possible Problem:
- If you copy files and database from existing site and put directoly on the new server then there may some copatibilty issue, for this upload a freash copy and try to install it, you will found what is missing
- In the new Magento version, there is a special folder called generated. That must be write permission.
- Another main reason is overall file permission. Be sure var, generated, vendor, app/etc, pub/media & pub/static have proper write access.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f100896%2fmagento-2-500-internal-server-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
13 Answers
13
active
oldest
votes
13 Answers
13
active
oldest
votes
active
oldest
votes
active
oldest
votes
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
add a comment |
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
add a comment |
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
in developer mode the files are automatically generated when requested and not found. So this should not be a Problem.
When facing a 500 error the first thing you should do is search for your webserver error log.
When running on apache it can mostly be found in one of these 2 locations:
/var/log/httpd/ -> centos, archlinux ...
/var/log/apache2/ -> debian, ubuntu ...
answered Feb 8 '16 at 19:41
David VerholenDavid Verholen
5,49611231
5,49611231
add a comment |
add a comment |
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
add a comment |
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
add a comment |
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
answered Jul 20 '16 at 10:45
Gaurav PatelGaurav Patel
412
412
add a comment |
add a comment |
On CentOS 7, I disabled the firewall settings with the following command:
$ setenforce 0
and thats it. The problem get resolved. with RHEL 7 and CentOS 7, SELinux makes the system more secured but it poses a whole lot of challenges to Non-Linux folks.
add a comment |
On CentOS 7, I disabled the firewall settings with the following command:
$ setenforce 0
and thats it. The problem get resolved. with RHEL 7 and CentOS 7, SELinux makes the system more secured but it poses a whole lot of challenges to Non-Linux folks.
add a comment |
On CentOS 7, I disabled the firewall settings with the following command:
$ setenforce 0
and thats it. The problem get resolved. with RHEL 7 and CentOS 7, SELinux makes the system more secured but it poses a whole lot of challenges to Non-Linux folks.
On CentOS 7, I disabled the firewall settings with the following command:
$ setenforce 0
and thats it. The problem get resolved. with RHEL 7 and CentOS 7, SELinux makes the system more secured but it poses a whole lot of challenges to Non-Linux folks.
edited Jun 8 '17 at 13:37
Teja Bhagavan Kollepara
3,00641948
3,00641948
answered Jun 8 '17 at 12:47
RajveerRajveer
211
211
add a comment |
add a comment |
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2
and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/
looks like this: http://localhost/magento222/pub/static/
right click the "static" folder and click property to make sure if it is writable.delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.
add a comment |
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2
and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/
looks like this: http://localhost/magento222/pub/static/
right click the "static" folder and click property to make sure if it is writable.delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.
add a comment |
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2
and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/
looks like this: http://localhost/magento222/pub/static/
right click the "static" folder and click property to make sure if it is writable.delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.
Solution: Internal Server Error!! Magento 2.2.2 Very Important !! especially for WAMPserver in windows10
- Please make sure that LoadModule version_module modules/mod_version.so is loaded from httpd.conf, This bug cause Internal Server Error of Magento 2.2.2
and if following setting got "#" , pls remove "#"
LoadModule version_module modules/mod_version.so
create a new folder and name it "static" after /pub/
looks like this: http://localhost/magento222/pub/static/
right click the "static" folder and click property to make sure if it is writable.delete your old mysql database for magento222 and create a new one to make a clean and safe installation.
P.S.: Ver. 2.2.2 is not a stable version.
edited Jan 26 '18 at 6:37
answered Jan 26 '18 at 2:46
Simon ChangSimon Chang
212
212
add a comment |
add a comment |
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
Thank you
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
add a comment |
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
Thank you
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
add a comment |
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
Thank you
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
Thank you
answered Jan 26 '18 at 11:32
SavooSavoo
1954
1954
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
add a comment |
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
1
1
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
i have replace .htaccess file and resolved issue thanks
– Sagar Dobariya
Mar 19 '18 at 4:35
add a comment |
- It could also be because of wrong file permissions.
- Make sure that you CHMOD to
"user":"group" "magento install DIR"
add a comment |
- It could also be because of wrong file permissions.
- Make sure that you CHMOD to
"user":"group" "magento install DIR"
add a comment |
- It could also be because of wrong file permissions.
- Make sure that you CHMOD to
"user":"group" "magento install DIR"
- It could also be because of wrong file permissions.
- Make sure that you CHMOD to
"user":"group" "magento install DIR"
edited May 19 '17 at 10:38
Teja Bhagavan Kollepara
3,00641948
3,00641948
answered Oct 31 '16 at 22:36
RunehmRunehm
111
111
add a comment |
add a comment |
I also came across the same situation in morning but thanks to @david answer.
After a bit research of log directory of Apache, I came to know about that apache don't have permission to read app/etc/ folder.
So, after giving permission all working fine.
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
add a comment |
I also came across the same situation in morning but thanks to @david answer.
After a bit research of log directory of Apache, I came to know about that apache don't have permission to read app/etc/ folder.
So, after giving permission all working fine.
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
add a comment |
I also came across the same situation in morning but thanks to @david answer.
After a bit research of log directory of Apache, I came to know about that apache don't have permission to read app/etc/ folder.
So, after giving permission all working fine.
I also came across the same situation in morning but thanks to @david answer.
After a bit research of log directory of Apache, I came to know about that apache don't have permission to read app/etc/ folder.
So, after giving permission all working fine.
edited Aug 22 '17 at 11:19
Mohit Kumar Arora
6,66151632
6,66151632
answered Jun 7 '16 at 12:42
Deepanshu JainDeepanshu Jain
22218
22218
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
add a comment |
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
1
1
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
Please tell me the path .
– jafar pinjar
Aug 15 '18 at 9:00
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
If you are on Linux environment then it will be usually /var/log/apache2 or /var/log/httpd/
– Deepanshu Jain
Sep 16 '18 at 6:59
add a comment |
seems need only to index.php
show php errors Show PHP errors
and after can fix
in my case - was permission for dirs
add a comment |
seems need only to index.php
show php errors Show PHP errors
and after can fix
in my case - was permission for dirs
add a comment |
seems need only to index.php
show php errors Show PHP errors
and after can fix
in my case - was permission for dirs
seems need only to index.php
show php errors Show PHP errors
and after can fix
in my case - was permission for dirs
answered Feb 9 '18 at 21:59
AlexAlex
255210
255210
add a comment |
add a comment |
If you are using Magento 2.2.4. Then first go to Apache log directory and
[Wed May 30 00:58:17.857269 2018] [core:alert] [pid 7184:tid 1244] [client 127.0.0.1:65528] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:58:42.568180 2018] [core:alert] [pid 7184:tid 1248] [client 127.0.0.1:49165] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:59:01.667499 2018] [core:alert] [pid 7184:tid 1252] [client 127.0.0.1:49169] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:04.655715 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49174] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:35.151803 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49201] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
According to the log, the main problem is a .htaccess file. I don't know the exact reason but following code remove from the .htaccess file is working.
Remove file tag code.
<Files composer.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files composer.lock>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .gitignore>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .php_cs.dist>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .travis.yml>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files CHANGELOG.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files COPYING.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files Gruntfile.js>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE_AFL.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files nginx.conf.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files package.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files php.ini.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files README.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files auth.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files magento_umask>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
Note : I don't know there may problem in future or not. But it's help me.
add a comment |
If you are using Magento 2.2.4. Then first go to Apache log directory and
[Wed May 30 00:58:17.857269 2018] [core:alert] [pid 7184:tid 1244] [client 127.0.0.1:65528] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:58:42.568180 2018] [core:alert] [pid 7184:tid 1248] [client 127.0.0.1:49165] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:59:01.667499 2018] [core:alert] [pid 7184:tid 1252] [client 127.0.0.1:49169] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:04.655715 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49174] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:35.151803 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49201] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
According to the log, the main problem is a .htaccess file. I don't know the exact reason but following code remove from the .htaccess file is working.
Remove file tag code.
<Files composer.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files composer.lock>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .gitignore>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .php_cs.dist>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .travis.yml>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files CHANGELOG.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files COPYING.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files Gruntfile.js>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE_AFL.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files nginx.conf.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files package.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files php.ini.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files README.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files auth.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files magento_umask>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
Note : I don't know there may problem in future or not. But it's help me.
add a comment |
If you are using Magento 2.2.4. Then first go to Apache log directory and
[Wed May 30 00:58:17.857269 2018] [core:alert] [pid 7184:tid 1244] [client 127.0.0.1:65528] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:58:42.568180 2018] [core:alert] [pid 7184:tid 1248] [client 127.0.0.1:49165] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:59:01.667499 2018] [core:alert] [pid 7184:tid 1252] [client 127.0.0.1:49169] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:04.655715 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49174] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:35.151803 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49201] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
According to the log, the main problem is a .htaccess file. I don't know the exact reason but following code remove from the .htaccess file is working.
Remove file tag code.
<Files composer.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files composer.lock>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .gitignore>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .php_cs.dist>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .travis.yml>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files CHANGELOG.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files COPYING.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files Gruntfile.js>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE_AFL.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files nginx.conf.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files package.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files php.ini.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files README.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files auth.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files magento_umask>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
Note : I don't know there may problem in future or not. But it's help me.
If you are using Magento 2.2.4. Then first go to Apache log directory and
[Wed May 30 00:58:17.857269 2018] [core:alert] [pid 7184:tid 1244] [client 127.0.0.1:65528] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:58:42.568180 2018] [core:alert] [pid 7184:tid 1248] [client 127.0.0.1:49165] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 00:59:01.667499 2018] [core:alert] [pid 7184:tid 1252] [client 127.0.0.1:49169] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:04.655715 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49174] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
[Wed May 30 01:00:35.151803 2018] [core:alert] [pid 7184:tid 1272] [client 127.0.0.1:49201] C:/Creation/wamp64/www/m2version/ms-live-version/.htaccess: Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
According to the log, the main problem is a .htaccess file. I don't know the exact reason but following code remove from the .htaccess file is working.
Remove file tag code.
<Files composer.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files composer.lock>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .gitignore>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .htaccess.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .php_cs.dist>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files .travis.yml>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files CHANGELOG.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files COPYING.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files Gruntfile.js>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files LICENSE_AFL.txt>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files nginx.conf.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files package.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files php.ini.sample>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files README.md>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files auth.json>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Files magento_umask>
<IfVersion < 2.4>
order allow,deny
deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
Note : I don't know there may problem in future or not. But it's help me.
answered May 29 '18 at 19:19
Shuvankar PaulShuvankar Paul
11212
11212
add a comment |
add a comment |
Struggled for an hour and finally issue got resolved after removing the proxy settings. Whoever facing this issue, check your proxy setting.
add a comment |
Struggled for an hour and finally issue got resolved after removing the proxy settings. Whoever facing this issue, check your proxy setting.
add a comment |
Struggled for an hour and finally issue got resolved after removing the proxy settings. Whoever facing this issue, check your proxy setting.
Struggled for an hour and finally issue got resolved after removing the proxy settings. Whoever facing this issue, check your proxy setting.
answered Sep 12 '18 at 5:55
L-BoardL-Board
111
111
add a comment |
add a comment |
In my case it is due to ownership issue. I was using ubuntu os so I used following command to correct ownership.
sudo chown -R root:root /var/www/project_name
add a comment |
In my case it is due to ownership issue. I was using ubuntu os so I used following command to correct ownership.
sudo chown -R root:root /var/www/project_name
add a comment |
In my case it is due to ownership issue. I was using ubuntu os so I used following command to correct ownership.
sudo chown -R root:root /var/www/project_name
In my case it is due to ownership issue. I was using ubuntu os so I used following command to correct ownership.
sudo chown -R root:root /var/www/project_name
answered Sep 27 '18 at 11:42
mukesh ojhamukesh ojha
246
246
add a comment |
add a comment |
Resolved by giving proper file permissions to magento root folder
add a comment |
Resolved by giving proper file permissions to magento root folder
add a comment |
Resolved by giving proper file permissions to magento root folder
Resolved by giving proper file permissions to magento root folder
answered Dec 4 '18 at 11:50
Neethu MohandasNeethu Mohandas
11
11
add a comment |
add a comment |
It is a very sophisticated issue.
Much possible reason can happen for this. Better than going randomly, debug the issue.
if you are using apache2 to go to /var/log/apache2 and you will found error.log, other there you will found a specific reason why this is happening. And solved it by a search over the internet.
Possible Problem:
- If you copy files and database from existing site and put directoly on the new server then there may some copatibilty issue, for this upload a freash copy and try to install it, you will found what is missing
- In the new Magento version, there is a special folder called generated. That must be write permission.
- Another main reason is overall file permission. Be sure var, generated, vendor, app/etc, pub/media & pub/static have proper write access.
add a comment |
It is a very sophisticated issue.
Much possible reason can happen for this. Better than going randomly, debug the issue.
if you are using apache2 to go to /var/log/apache2 and you will found error.log, other there you will found a specific reason why this is happening. And solved it by a search over the internet.
Possible Problem:
- If you copy files and database from existing site and put directoly on the new server then there may some copatibilty issue, for this upload a freash copy and try to install it, you will found what is missing
- In the new Magento version, there is a special folder called generated. That must be write permission.
- Another main reason is overall file permission. Be sure var, generated, vendor, app/etc, pub/media & pub/static have proper write access.
add a comment |
It is a very sophisticated issue.
Much possible reason can happen for this. Better than going randomly, debug the issue.
if you are using apache2 to go to /var/log/apache2 and you will found error.log, other there you will found a specific reason why this is happening. And solved it by a search over the internet.
Possible Problem:
- If you copy files and database from existing site and put directoly on the new server then there may some copatibilty issue, for this upload a freash copy and try to install it, you will found what is missing
- In the new Magento version, there is a special folder called generated. That must be write permission.
- Another main reason is overall file permission. Be sure var, generated, vendor, app/etc, pub/media & pub/static have proper write access.
It is a very sophisticated issue.
Much possible reason can happen for this. Better than going randomly, debug the issue.
if you are using apache2 to go to /var/log/apache2 and you will found error.log, other there you will found a specific reason why this is happening. And solved it by a search over the internet.
Possible Problem:
- If you copy files and database from existing site and put directoly on the new server then there may some copatibilty issue, for this upload a freash copy and try to install it, you will found what is missing
- In the new Magento version, there is a special folder called generated. That must be write permission.
- Another main reason is overall file permission. Be sure var, generated, vendor, app/etc, pub/media & pub/static have proper write access.
answered 5 mins ago
Shuvankar PaulShuvankar Paul
11212
11212
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f100896%2fmagento-2-500-internal-server-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
check your error log.
– MagenX
Feb 9 '16 at 8:41