After download magmi from https://github.com/macopedia/magmi-m2 ( Branch:Magento2 ) and paste into root folder, then run www.giri.local/magmi/web/magmi.php getting 404 error page not found.
How to solve this issue?
Hi @Aveeva ,
Can you please check below Magento Stack Exchange Link for your issue.
Hope it helps you!
Problem Solved! Click Kudos & Accept as Solution!
@Nishu Jindal Yes, i update my database details, still get the issue?
Hi @Aveeva ,
can you try enabling error reporting on the Website, So that we will get more clue related to the error?
Add below lines in the index.php
Hi @Aveeva ,
Can you please check this link
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
@Nishu Jindal This is magento2.3 Nginx configuration
map $http_host $MAGE_RUN_CODE {
default '';
www.grocery.local grocery;
}
server {
listen 8087;
server_name www.giri.local www.grocery.local;
set $MAGE_ROOT /usr/share/nginx/html/giri;
include /usr/share/nginx/html/giri/nginx.conf;
error_log /usr/share/nginx/html/giri/giri_error.log;
access_log /usr/share/nginx/html/giri/giri_access.log;
set $MAGE_MODE developer;
set $MAGE_RUN_TYPE website;
}
upstream fastcgi_backend2 {
server 127.0.0.1:9000;
}Is possible to configure magmi for this same Nginx or Should create a new one?
Hi @Aveeva ,
can you please try adding below configurations as well.
location ~ /magmi/(.*) {
root /srv/www/example.com/magmi;
try_files /web/$1 /web/$1/;
location ~ ^/magmi/(.*\.php)$ {
try_files /web/$1 =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm-example.com.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
fastcgi_param PHP_VALUE "memory_limit=2G \n max_execution_time=3600";
fastcgi_read_timeout 3600s;
fastcgi_connect_timeout 3600s;
include fastcgi_params;
}
}Hope this helps you.
Problem Solved! Click Kudos & Accept as Solution!
@Nishu Jindal Nginx failed,
path : etc/nginx/conf.d/magmi.conf
location ~ /magmi/(.*) {
root /usr/share/nginx/html/giri/magmi;
try_files /web/$1 /web/$1/;
location ~ ^/magmi/(.*\.php)$ {
try_files /web/$1 =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm-example.com.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
fastcgi_param PHP_VALUE "memory_limit=2G \n max_execution_time=3600";
fastcgi_read_timeout 3600s;
fastcgi_connect_timeout 3600s;
include fastcgi_params;
}
}
@Nishu Jindal Any help with following error?