I Configure Sub domain Unfortunetley I got this error

[an error occurred while processing this directive]

I don't Know What is the problem on it. Front end it's opening but it show's this error Backend it redirect to Live Backend.

I don't know it's related to server error or Magento Error can any one please guide me on this?


Step 1: Enable Error Printing in PHP OR Enable DEVELOPER_MODE

In order to find out the bug, enable errors for your PHP.

From http://www.phpfunctionalism.com/config/error-reporting/:


If that doesn't work, edit php.ini (see http://php.net/manual/en/errorfunc.configuration.php) and set:


If you don't know where your php.ini is located use:

<?php phpinfo(); ?>

And locate "configuration file (php.ini) path".

Step 2: Debug your Apache / Web Server Log

If you still don't get any errors in PHP, the problem has to be with web server:

If you are using Apache, locate access.log and error.log and see if they contain messages related to this issue.

Hint: tail -f xxx.log allows you to track changes in a log in real-time (very useful for debugging).

Step 3: Check directory and file permission

Directory permission must be 755 other permissions like (752, 753, 756, and 777) cause limitation and will not work..

File permission must be 644 other permissions like (642, 643, 646 and 647) cause limitation and will not work..

| improve this answer | |
  • I tried all no solution – user31402 Mar 8 '16 at 6:08
  • Checked apache log? – Rohit Kundale Mar 8 '16 at 6:10
  • It's server error or Magento error – user31402 Mar 8 '16 at 6:11
  • Where to check in var folder i didn't find – user31402 Mar 8 '16 at 6:12
  • It's web server error. Do you have access to server error log? Check my second step – Rohit Kundale Mar 8 '16 at 6:14

You should check that the


folder exists in the Magento root directory and that the web user has permissions to write in it.

hope this will work for you.

| improve this answer | |
  • No temp folder on that Location – user31402 Mar 8 '16 at 6:22
  • Please create one and then assign appropriate permissions so web server user can write – liyakat Mar 8 '16 at 6:37

You can solve this error by just one PHP script. Download it by this site:- https://wpbloggerbasic.com/special-guide/an-error-occurred-while-processing-this-directive/

| improve this answer | |

Your Answer

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