0

This question already has an answer here:

I got this situation that when I Add Products on my site I sometimes got Internal Server Error.

What can be the solution to prevent the "Internal Server Error"?

Someone suggested increasing the Timeouts.

try changing the following MySQL settings for connection timeouts: connect_timeout=15 wait_timeout=30 interactive_timeout=500 to connect_timeout=90 wait_timeout=600 interactive_timeout=600

Can this be a solution?

marked as duplicate by Fabian Schmengler, Raphael at Digital Pianism, Amit Bera, Keyul Shah, Qaisar Satti Jul 19 '16 at 5:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • go to index.php file, take backup and than uncomment this line : #ini_set(‘display_errors’, 1); and check again – Baby in Magento Jul 18 '16 at 6:01
  • @BabyinMagento sometimes it I got the error but when I refresh the url is gone. I don't know what causing it. – Alen Jul 18 '16 at 6:03
  • can you try uncommenting this line and check what error is coming : #ini_set(‘display_errors’, 1); – Baby in Magento Jul 18 '16 at 6:05
  • do not change this line, especially in production, just check server and magento logs... – MagenX Jul 18 '16 at 7:31
  • This usually happens when PHP crashes with a Fatal Error, so it can be anything. Check your webserver error logs and see the linked question for more information. If you find the error message and need help to understand it, please update the question. – Fabian Schmengler Jul 18 '16 at 8:50
1

You can get additional info about the errors by Turning on Developer Mode. Look in the Magento root file (index.php), you’ll see lines similar to the following

#Mage::setIsDeveloperMode(true);
#ini_set('display_errors', 1);

Uncomment this.This way, you will see the actually problem which lead to the Internal Error Server.

After that let us know excelty which error come. if your issue fixed the please comment out above line from index.php file. Don't forget this.

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