The following error message
Fatal error: Method Varien_Object::__tostring() cannot take arguments
is generated by Magento 1.3 version when it is running on PHP 5.3. Please follow the instructions from How to run Magento 1.3 with PHP 5.3 version to solve this.