Link to home
Start Free TrialLog in
Avatar of Silas2
Silas2

asked on

PHP/Magento not logging

I don't understand that I have System/Config/Developer/Logging enabled, system+exception files defined. I can see a system.log being made so i know permissions are ok, but.....I've spent half a day adding echo's to a list.phtml file to finally have one output :
 Fatal error: Call to a member function getProductUrl() on a non-object in /hostname.co.uk/app/code/core/Mage/Catalog/Model/Product.php on line 1412 

Open in new window

But no log anywhere. This is only happening remotely and I haven't got remote debug so that's why i'm poking in the dark, but why no log?
Is it because this call come from a .phtml file and not php?
Avatar of Silas2
Silas2

ASKER

The trouble was a corrupted (0 bytes) ftp'd php module/class file that was trying to be instanced, so pretty terminal -  but the echo in the phtml did show the error ...
ASKER CERTIFIED SOLUTION
Avatar of Konstantin Gerasimov
Konstantin Gerasimov
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial