Y
Y
yv19952016-09-28 23:19:34
Magento
yv1995, 2016-09-28 23:19:34

How does error display work in Magento?

Getting started with Magento! I started developing my module and a very interesting and not entirely clear thing is happening! 3-4 times when opening the site (frontend) an error is displayed, which is put in the log, if in the file (in which the error) is written die('hi') before all the code, naturally it blocks the entire page and displays 'hi'! Now we remove die, there are no errors on the site, again we add die('hi') and .... (drumroll ..) there are no errors, there is no hi output, the site works fine (it is clear that the file is not connected, but HOW? ) and now in order to take another look at this error, you need to install another site and upload the module there!
PS CACHE is disabled from the admin panel and deleted just in case, it doesn't help! Error display enabled!
Plz tell me how this magic is done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yv1995, 2016-09-29
@yv1995

Found)) In the module file local/namespace/modulename/etc/config.xml
Remember that the word standard is written with a d at the end, not with a t. After 3 hours of searching, I remembered it for the rest of my life!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question