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

Upgrade from 1.6.2 to 1.7 Internal Server Error
 
RichardCaldwell
Jr. Member
 
Total Posts:  8
Joined:  2012-01-19
 

I upgraded from 1.6.2 to 1.7 using Magento Connect Manager and after trying to go back to admin I get.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

This is on my test site that is hosted on HostGator Any Ideas?

RickC

 
Magento Community Magento Community
Magento Community
Magento Community
 
RichardCaldwell
Jr. Member
 
Total Posts:  8
Joined:  2012-01-19
 

\"index.php\" permissions were changed from 644 to 666 I changed them back to 644 and its up and running.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Username Taken
Jr. Member
 
Total Posts:  10
Joined:  2009-04-28
 

Same here.

Have you noticed anything else changed? Customizations are gone in the backend, other than that, I am trying to find whatever might have changed so I can fix it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
johncmoores
Jr. Member
 
Total Posts:  2
Joined:  2011-04-16
 

Had a similar error 500 server error, this was our fix

It was the .htaccess file directive of concern that I had to comment-out (disable) to avoid the 500 error:

############################################

## TRACE and TRACK HTTP methods disabled to prevent XSS attack

RewriteCond % ^TRAC[EK]

RewriteRule .* - [L,R=405]

############################################

I also had to comment-out a number of other PHP-based directives (\\\\\\\’php_flag\\\\\\\’ and \\\\\\\’php_value\\\\\\\’) which would also have caused the 500 error as we use suPHP which does not allow PHP directives in .htaccess files.

---

PHP 5.2.14 (cli) (built: Nov 28 2010 00:36:50) cess

Copyright (c) 1997-2010 The PHP Group pico .htaccess

Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd., and

with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

---

This worked for us
Hope this helps someone

 
Magento Community Magento Community
Magento Community
Magento Community
 
tonyschirmer
Member
 
Avatar
Total Posts:  35
Joined:  2011-10-13
 

Hey Richard,

I had the same problem running IIS7 with PHP

I posted a solution on our blog
http://www.neotheme.com.au/blog/iis7-problems-when-upgrading-to-magento-1-7-0-0/

It turned out to be a PHP extension (specificly pdo_mysql) that was running in non-thread safe (as with my entire PHP installation for speed), which turned out to cause all the problems. I switched over to a thread safe PHP version and havn’t had a problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
designlobby12
Jr. Member
 
Total Posts:  1
Joined:  2012-04-29
 
johncmoores - 26 April 2012 01:48 AM
Had a similar error 500 server error, this was our fix

It was the .htaccess file directive of concern that I had to comment-out (disable) to avoid the 500 error:

############################################

## TRACE and TRACK HTTP methods disabled to prevent XSS attack

RewriteCond % ^TRAC[EK]
RewriteRule .* - [L,R=405]

############################################

Hi,

Im new to Magento and am testing locally on my Mac using MAMP.
The fix above worked great for me, thanks!

I just wanted to know, what has that change actually done, and will it affect the security of my site if I went live?

cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
joez
Jr. Member
 
Total Posts:  3
Joined:  2012-03-01
 

Thanks....This post helped get my fresh install up. Just edited out those two lines and we are good to go.

 
Magento Community Magento Community
Magento Community
Magento Community
 
wsijordy
Jr. Member
 
Total Posts:  3
Joined:  2012-11-21
 

The .htaccess trick worked for me as well. Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
teoteo1
Jr. Member
 
Total Posts:  2
Joined:  2012-11-01
 

Hello, I see you had already found the solution to your problem, but nevertheless- for the future : Your could use Cart2Cart migration service, to avoid all this routine work, while upgrading your store to the newest version. I had already used it for two tomes ( to migrate to Magento from ZenCart, and to upgrade to Magento 1.7- both times successfully)

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