I want to get all of the attributes for a specific product using its id or sku. This is my try:
$prod=Mage::getSingleton('catalog/product')->load(8536);
var_dump($prod->getAttributeText());
but i got this error message: Call to a member function getSource() on a non-object in... What should I do ?