i'm working on a magento CE 1.7.0.2 and I have to update indexes from shell. However I'm trying the commands:
php -f indexer.php info
and also
php -f indexer.php -- -reindex catalog_url
but they don't show any output.
UPDATE
If I add -d display_errors=1, it returns:
Fatal error: Call to a member function getSingleton() on a non-object in indexer.php on line 45
Any idea why? thanks so much