When i try to open my site it is not opening, same as my back end as i added the error below.
Adminpanel issue in site.
-
2Previously i am also facing this problem so,please follow thissunil kumar Kanigalupula– sunil kumar Kanigalupula2016年10月22日 11:33:17 +00:00Commented Oct 22, 2016 at 11:33
-
@TejabhagavanKollepara : my magento ver 1.9.x,Gem– Gem2017年01月24日 07:15:06 +00:00Commented Jan 24, 2017 at 7:15
5 Answers 5
It looks like your magento is unable to read the xml configuration files. Try giving appropriate read permission to all your xml files and try.
cd your/magento_root/
find . -type f -name '*.xml' -exec chmod 644 {} \;
The problem is the magento can't read your xml files. Check the file permission, remove the cache. Make sure your file permissions are set to
Directories : 755 ::: Files : 644
-
how can i check permission and how can i change permissionGem– Gem2016年09月27日 05:39:39 +00:00Commented Sep 27, 2016 at 5:39
-
Are you using ubuntu or windows ?Krishna ijjada– Krishna ijjada2016年09月27日 05:42:19 +00:00Commented Sep 27, 2016 at 5:42
-
-
-
google.co.in/…Krishna ijjada– Krishna ijjada2016年09月27日 05:55:05 +00:00Commented Sep 27, 2016 at 5:55
Reason 1
Try clearing cache, and check file permissions are correctly set,
Directories : 755
Files : 644
Else another alternative is Reinstall Magento and do following steps:
It may solve the issue, but suggested to have round of research before doing and surely back up database:
Before to import database : - Add query
1) SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
OR
at beginning of sql import script
After import / installation : - Execute following query
2) UPDATE `core_store` SET `store_id` = 0 WHERE `code` like 'admin';
UPDATE `core_website` SET `website_id` = 0 WHERE `code` like 'admin';
UPDATE `customer_group` SET `customer_group_id` = 0 WHERE `customer_group_code` like 'NOT LOGGED IN';
Reason 2
The problem is the magento can't read your xml files. So check file permission again for xml files and check your xml files under app/etc folder and every custom modules under app/code/local/ may be some xml files are corrupted (miss formed).
clear cache
Note:- not given proper permission also occurs this error.
-
what is mean Directories : 755 Files : 644Gem– Gem2016年09月27日 07:07:08 +00:00Commented Sep 27, 2016 at 7:07
-
you can reset all permission please find github.com/IndiesServices/Magento/blob/master/…Denish Vachhani– Denish Vachhani2016年09月27日 07:47:14 +00:00Commented Sep 27, 2016 at 7:47
-
-
how you execute this code?Denish Vachhani– Denish Vachhani2016年09月27日 09:20:51 +00:00Commented Sep 27, 2016 at 9:20
-
just past in rool folder, then execute through urlGem– Gem2016年09月27日 09:47:01 +00:00Commented Sep 27, 2016 at 9:47
open your terminal or connect your website via ssh access and fire below command one by one for file/directory permission
chmod -R 644 ./*
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chmod 550 ./mage
-
could you pls briefly explain, i run in my local hostGem– Gem2016年09月27日 07:06:39 +00:00Commented Sep 27, 2016 at 7:06
-
your problem is related is file permission so open your terminal and fire above command one by one2016年09月27日 07:11:30 +00:00Commented Sep 27, 2016 at 7:11
-
-
The problem is the Magento can't read your XML files. So check file permission again for xml files and check your xml files under app/etc folder and every custom modules under app/code/local/ may be some XML files are corrupted (miss formed).
just run an rsync -p on with your production site
Can Use cleanup Script for your localhost cleanup script