Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

500 Error after upgrading to 1.4.2.0 from 1.4.1.1
 
martinmjhenson
Jr. Member
 
Total Posts:  3
Joined:  2010-09-05
 

Asked Magento Connect to check for updates and installed updates.

Now I can log into the admin but the frontend shows a 500 internal server error.

Its on shared hosting from Heart Internet and I have changed the permissions back but with no luck.

Please help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Turnkeye
Enthusiast
 
Avatar
Total Posts:  908
Joined:  2008-12-20
URL: turnkeye.com
 

Please check error_log for additional description of the 500 error.
Post it here for review.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cwg32813
Jr. Member
 
Total Posts:  7
Joined:  2010-05-27
 

I am getting the following after upgrade (Yes I have cleared caches and reset all file permissions and made what needs to be writeable, writeable):

[Fri Jan 28 11:50:46 2011] [error] [client 66.249.XX.XX] PHP Fatal error:  Undefined class constant ‘TYPE_CONDITION’ in /chroot/home/username/sitename.com/html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php on line 296

Does anyone have any idea what this means.  there has been almost 0 posts with this exception.

I upgraded to version 1.4.2 stable.  Any thoughts or suggestions would be helpful.  I can get into the downloader, but can not acess the frontend or the admin.  The admin throws an exception like this:

Server error.

The website encountered an error while retrieving http://www.sitename.com/index.php/admin/dashboard/index/key/70582db62c6173d5f1d56af3efdf291f/. It may be down for maintenance or configured incorrectly.

The http log says this:

[Fri Jan 28 11:59:46 2011] [error] [client 76.206.42.6] PHP Fatal error:  Call to undefined method Mage_Reports_Model_Mysql4_Order_Collection::addFilterToMap() in /chroot/home/username/sitename.com/html/app/code/core/Mage/Sales/Model/Mysql4/Order/Collection.php on line 39, referer: http://www.sitename.com/admin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Turnkeye
Enthusiast
 
Avatar
Total Posts:  908
Joined:  2008-12-20
URL: turnkeye.com
 

Seems that update was not complete.

Please check this article:
http://iamtherealnick.com/magento-php-fatal-error-undefined-class-constant-‘type_condition’-abstract-php-on-line-296/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top