2

When I try to add or edit a product, I get blank page with Error 503: Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

In the past 2 month I have created a lot of extensions and all are working fine. The products are shown in the product grid, no problems.

All modules in Admin are working, a maintanance.flag file does not exist. I disabled all my new modules, nothing works, I am not able to add or edit a product. I dont know what to do, we would like to start next week with our shop.

PLEASE, PLEASE HELP.

Christian

1

Did you check the Server error log files? i mean apache or nginx error files? maybe you can find something useful.

  • I checked them, there are items like:main.CRITICAL: Broken reference: the 'page.breadcrumbs' tries to reorder itself towards 'notifications', but their parents are different: 'page.wrapper' and 'notice or main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3942059a62c87af8724fe1ef3f757dc31 and handles default, catalog_product_attribute_index: Please correct the XML data and try again. I dont know what they mean – Dr. Christian Kusche Feb 22 at 1:14
  • i suppose that you have already check and the server capacity. – JohnTrak Feb 22 at 1:18
  • Another item in log file is: main.CRITICAL: Broken reference: the 'catalog.product.edit.tab.grouped.container' element cannot be added as child to 'product_tabs', because the latter doesn't exist – Dr. Christian Kusche Feb 22 at 1:19
  • Yes I checked the capacity, everything is fine, and it worked in the past without problem – Dr. Christian Kusche Feb 22 at 1:20
  • christian where did you find these errors? I mean the files are inside magento var directory? – JohnTrak Feb 22 at 1:22
1

There are so many error notifications in the web technology & in the server status notification one of them is as follows:

503 Service Unavailable Error

This errors mostly comes when there is some maintenance work going on into the server & other than that mostly when the server is too busy & not able to respond to the request.

There can be so many possibilities for this but in Magento as per my observation this error comes when we are having some code issue that is when we have invoked any method which requires so much time to respond or when we have printed an object or something with very huge content of data.

To trace this you can take the following steps:

  • Please check your log files.
  • Please enable/allow the error message to be shown on the front-end. To do this put the below code into your index.php file present at your root as well as present in your pub directory.

Code to be placed in index.php

ini_set('display_errors', 1);
error_reporting(E_ALL);

Note: Make sure you are in the developer mode because if you are in production mode it is possible then also it will not show any error message on the front-end. Please re deploy your site with the following commands from the command prompt/terminal.

php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disabled
php bin/magento cache:flush
  • Thank your for your help. I just trying int – Dr. Christian Kusche Feb 22 at 4:51
  • One of the items in debug.log is the follow: main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE0_36f1b068ec7ccf4878f9284dd1137afd1 and handles catalog_product_prices: Please correct the XML data and try again. – Dr. Christian Kusche Feb 22 at 5:04
  • And: main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE0_34f4b93930d5c5a39a62d760572cf3b89 and handles default, catalog_product_edit, catalog_product_grouped: Please correct the XML data and try again. – Dr. Christian Kusche Feb 22 at 5:06
  • I dont know where and which XML data I must correct????? – Dr. Christian Kusche Feb 22 at 5:07
  • are you able to see any error in the browser after enabling the error message? & other thing is that are you in a developer mode? – ABHISHEK TRIPATHI Feb 22 at 6:20

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.