Magento Forum

   
Making Magento More Developer Friendly
 
punkstar
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2008-07-14
Bath, UK
 

It’s really annoying that Magento doesn’t just error out like a normal PHP script and that sometimes you can’t even throw that sorely needed echo just to find out if your script is working as it should be because you just won’t get an output.

Any tips and suggestions for people on how to go about developing for Magento without loosing your hair?

 
Magento Community Magento Community
Magento Community
Magento Community
 
alistek
Sr. Member
 
Total Posts:  293
Joined:  2008-04-02
Normal, IL
 

Easiest way is just to comment out the errors and redirects and then you can do var_dumps and echos.

-Adam

 
Magento Community Magento Community
Magento Community
Magento Community
 
alkarim
Guru
 
Total Posts:  368
Joined:  2008-04-10
 

yea, Its kinda annoying. but you can find out of error message. Its display the error paths. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
punkstar
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2008-07-14
Bath, UK
 

The whole “white screen” issue is pretty annoying also, this happens when there is a syntax error in one of your modules for example.  Is there anyway I can get PHP back to complaining about the error and telling me where it is?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top