-1

Whe i try to enter some configurations in magento backend i get strange 404 error page.

enter image description here

I am running Nginx server so htaccess has nothing to do with this. Anyone had this issue? Any help would be very appreciated.

I'm entering sales->orders and any order. This error appears also in multiple module configuration pages.

I'v noticed that something is wrong with stores. Because when i created new store and set it as default. Now every page gives me the same error. Anyone know how to fix this?

  • Add more details, like logs and what are you entering where? – Triyugi Narayan Mani Apr 22 '16 at 12:36
  • I'm entering sales->orders and some order. System logs are empty so are nginx error logs. – 90sKid Apr 22 '16 at 12:40
  • Did you try to add / remove /index.php/ to your URL ? – Matthéo Geoffray Apr 22 '16 at 12:42
  • Tried it now. Didn't make any difference. – 90sKid Apr 22 '16 at 12:43
  • Are you sure that the admin URL key is the same as in /etc/local.xml in XML path admin/routers/adminhtml/args/frontName ? – Matthéo Geoffray Apr 22 '16 at 12:44
0

It's simple, in nginx config, where is located the php location, you muat pass the store code id eg "default".

The variable is

MAGE_RUN_CODE and MAGE_RUN_TYPE

Something like

fastcgi_param MAGE_RUN_TYPE store; fastcgi_param MAGE_RUN_CODE default;

  • Well didn't fix the error. Thanks for reply. I'm thinking about reinstalling magento from scratch. Because there is something very wrong with stores. – 90sKid Apr 25 '16 at 8:08
  • @90sKid paste here the nginx config specially the php location – x86fantini Apr 25 '16 at 10:58
  • location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; # # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini # # # With php5-cgi alone: # fastcgi_pass 127.0.0.1:9000; # # With php5-fpm: fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; }` – 90sKid Apr 25 '16 at 10:59
  • @90sKid see, you miss those parameters fastcgi_param MAGE_RUN_TYPE store; fastcgi_param MAGE_RUN_CODE default; also what is your store code? – x86fantini Apr 25 '16 at 11:00
  • That part gives me 404 page on every page. – 90sKid Apr 25 '16 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.