2

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.

enter image description here

Rakesh Jesadiya
  • 42,221
  • 18
  • 132
  • 183
Gem
  • 699
  • 16
  • 50

5 Answers5

1

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 {} \; 
Nidheesh
  • 1,048
  • 5
  • 11
1

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

Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
Krishna ijjada
  • 8,927
  • 6
  • 41
  • 70
1

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.

Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
Denish Vachhani
  • 4,562
  • 3
  • 16
  • 47
0

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
Murtuza Zabuawala
  • 14,814
  • 9
  • 44
  • 75
0

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

Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
lalit mohan
  • 1,075
  • 10
  • 35