Question

It's been a rough day. I am the IT generalist for my employer. Employer has 2 domains, each have Magento maintaining their product catalog, but both in the same Magento admin area (shared database?). Last night, the server admin upgraded PHP to 5.3 for the server. When I came in, the product catalog was erroring out with: Fatal Error: Method Varien Object: __toString() cannot take arguments. I googled and found a mean to find/replace the 'toString' references and change them to 'invoke'. Now the primary domain is working well, with no errors when attempting to view the products catalog.

The second domain is not working in that same way. It appears it is pointing to an empty directory in /products/report. The problem only is affecting the products tab. The other tabs are maintained by 'Expression Engine'.

how it looked before fixing toString how it looks after implementing the toString fix the magento admin showing the two domain's catalog layout

So the main domain works perfectly now. But I can't figure out how to make whatever is drawing the nav bar, aim for the proper menu.

Any advice? I could really use some right about now.

Was it helpful?

Solution

I highly recommend to update magento to a proper version. PHP 5.4 is out of active support http://php.net/supported-versions.php

Your problem should be fixed with a proper PHP and magento version.

Beside this, Magento 1.3 and PHP 5.3 are out of security patch support for a long time and I assume you don'T pay anyone to backport the current patches?

OTHER TIPS

Fabian, You are absolutely right. The environment does need major updating. As I am the relatively new IT generalist here, I will make that a project to create a new webserver and migrate sites to that current unit.

My question was more on looking for answers on how to solve the issue in the current environment. Upgrading one component led to problems, so I am sure upgrading more would lead to more issues.

I ended up doing a full restore of the box from the previous night's backup, lost a few hours of production data, but things are back to the status quo.

Thank you for your advice. eric

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top