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

Issues during upgrade: CONNECT ERROR: Failed to open file
 
srchurchill
Jr. Member
 
Total Posts:  3
Joined:  2012-04-04
 

Hi

I was performing an upgrade from 1.6.2(?) to 1.7. I used the connect manager, and selected all of the modules that had available updates and selected the option to perform the installation of the updates. There was a fatal error, and now when I try to access the store home page or the administration area I get re-directed to the Welcome to Magento’s Installation Wizard! page, at the Download stage. I click start the download process and get the following in the console window....

Checking dependencies of packages
Already installed
community/Mage_All_Latest 1.7.0.0skipping
Already installed
community/Interface_Adminhtml_Default 1.7.0.0skipping
Already installed
community/Interface_Frontend_Default 1.7.0.0skipping
Already installed
community/Interface_Install_Default 1.7.0.0skipping
Already installed
community/Mage_Downloader 1.7.0.0skipping
Already installed
community/Mage_Centinel 1.7.0.0skipping
Already installed
community/Interface_Frontend_Base_Default 1.7.0.0skipping
Already installed
community/Phoenix_Moneybookers 1.3.1skipping
Already installed
community/Mage_Compiler 1.7.0.0skipping
Installing package community
/Magento_Mobile 1.7.0.0.22.1
Already installed
community/Mage_Core_Adminhtml 1.7.0.0skipping
Already installed
community/Mage_Core_Modules 1.7.0.0skipping
Already installed
community/Lib_Js_Ext 1.7.0.0skipping
Already installed
community/Lib_LinLibertineFont 2.8.14.1skipping
Already installed
community/Lib_Js_TinyMCE 3.4.7.0skipping
Already installed
community/Lib_Varien 1.7.0.0skipping
Already installed
community/Lib_Google_Checkout 1.5.0.0skipping
Already installed
community/Lib_Js_Calendar 1.51.1.1skipping
Already installed
community/Lib_Js_Mage 1.7.0.0skipping
Already installed
community/Lib_Phpseclib 1.5.0.0skipping
Already installed
community/Mage_Locale_en_US 1.7.0.0skipping
Already installed
community/Lib_Mage 1.7.0.0skipping
Already installed
community/Lib_ZF 1.11.1.0skipping
Already installed
community/Lib_Js_Prototype 1.7.0.0.3skipping
Already installed
community/Lib_ZF_Locale 1.11.1.0skipping

CONNECT ERROR
Failed to open file /home/kitchenk/public_html/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

I refresh the page and get the same error. I’m at a loss for what to try next. Please help as I don’t have a working store anymore..

Thank you
Stuart

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brent W Peterson
Moderator
 
Avatar
Total Posts:  3217
Joined:  2009-02-26
Minneapolis MN
 

Can you make sure you folder permissions are set to 777 for the install?

 
Magento Community Magento Community
Magento Community
Magento Community
 
magentorange
Jr. Member
 
Total Posts:  1
Joined:  2012-04-26
 

I am experiencing the same issue trying a new install through the download.php:

Checking dependencies of packages
Installing package community
/Mage_All_Latest 1.7.0.0
Package community
/Mage_All_Latest 1.7.0.0 installed successfully
Installing package community
/Interface_Adminhtml_Default 1.7.0.0
Package community
/Interface_Adminhtml_Default 1.7.0.0 installed successfully
Installing package community
/Interface_Frontend_Default 1.7.0.0
Package community
/Interface_Frontend_Default 1.7.0.0 installed successfully
Installing package community
/Interface_Install_Default 1.7.0.0
Package community
/Interface_Install_Default 1.7.0.0 installed successfully
Installing package community
/Mage_Downloader 1.7.0.0
Package community
/Mage_Downloader 1.7.0.0 installed successfully
Installing package community
/Mage_Centinel 1.7.0.0
Package community
/Mage_Centinel 1.7.0.0 installed successfully
Installing package community
/Interface_Frontend_Base_Default 1.7.0.0
Package community
/Interface_Frontend_Base_Default 1.7.0.0 installed successfully
Installing package community
/Phoenix_Moneybookers 1.3.1
Package community
/Phoenix_Moneybookers 1.3.1 installed successfully
Installing package community
/Mage_Compiler 1.7.0.0
Package community
/Mage_Compiler 1.7.0.0 installed successfully
Installing package community
/Magento_Mobile 1.7.0.0.22.1
Installing package community
/Mage_Core_Adminhtml 1.7.0.0
Package community
/Mage_Core_Adminhtml 1.7.0.0 installed successfully
Installing package community
/Mage_Core_Modules 1.7.0.0
Package community
/Mage_Core_Modules 1.7.0.0 installed successfully
Installing package community
/Lib_Js_Ext 1.7.0.0
Package community
/Lib_Js_Ext 1.7.0.0 installed successfully
Installing package community
/Lib_LinLibertineFont 2.8.14.1
Package community
/Lib_LinLibertineFont 2.8.14.1 installed successfully
Installing package community
/Lib_Js_TinyMCE 3.4.7.0
Package community
/Lib_Js_TinyMCE 3.4.7.0 installed successfully
Installing package community
/Lib_Varien 1.7.0.0
Package community
/Lib_Varien 1.7.0.0 installed successfully
Installing package community
/Lib_Google_Checkout 1.5.0.0
Package community
/Lib_Google_Checkout 1.5.0.0 installed successfully
Installing package community
/Lib_Js_Calendar 1.51.1.1
Package community
/Lib_Js_Calendar 1.51.1.1 installed successfully
Installing package community
/Lib_Js_Mage 1.7.0.0
Package community
/Lib_Js_Mage 1.7.0.0 installed successfully
Installing package community
/Lib_Phpseclib 1.5.0.0
Package community
/Lib_Phpseclib 1.5.0.0 installed successfully
Installing package community
/Mage_Locale_en_US 1.7.0.0
Package community
/Mage_Locale_en_US 1.7.0.0 installed successfully
Installing package community
/Lib_Mage 1.7.0.0
Package community
/Lib_Mage 1.7.0.0 installed successfully
Installing package community
/Lib_ZF 1.11.1.0
Package community
/Lib_ZF 1.11.1.0 installed successfully
Installing package community
/Lib_Js_Prototype 1.7.0.0.3
Package community
/Lib_Js_Prototype 1.7.0.0.3 installed successfully
Installing package community
/Lib_ZF_Locale 1.11.1.0
Package community
/Lib_ZF_Locale 1.11.1.0 installed successfully
Package installed
:
 
community Mage_All_Latest 1.7.0.0
 community Interface_Adminhtml_Default 1.7.0.0
 community Interface_Frontend_Default 1.7.0.0
 community Interface_Install_Default 1.7.0.0
 community Mage_Downloader 1.7.0.0
 community Mage_Centinel 1.7.0.0
 community Interface_Frontend_Base_Default 1.7.0.0
 community Phoenix_Moneybookers 1.3.1
 community Mage_Compiler 1.7.0.0
 community Mage_Core_Adminhtml 1.7.0.0
 community Mage_Core_Modules 1.7.0.0
 community Lib_Js_Ext 1.7.0.0
 community Lib_LinLibertineFont 2.8.14.1
 community Lib_Js_TinyMCE 3.4.7.0
 community Lib_Varien 1.7.0.0
 community Lib_Google_Checkout 1.5.0.0
 community Lib_Js_Calendar 1.51.1.1
 community Lib_Js_Mage 1.7.0.0
 community Lib_Phpseclib 1.5.0.0
 community Mage_Locale_en_US 1.7.0.0
 community Lib_Mage 1.7.0.0
 community Lib_ZF 1.11.1.0
 community Lib_Js_Prototype 1.7.0.0.3
 community Lib_ZF_Locale 1.11.1.0

CONNECT ERROR
Failed to open file /var/www/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

Tried several times, both by refreshing and restarting the downloader, and manually clearing the downloaded files, restarting the server and starting the process again. Always the same issue. I have checked, /var/www permissions are set to 777. Found a closed bug report but it seems to be an ongoing issue.

Debian 6 LAMP server running in virtualbox on Linux.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ConFX
Member
 
Total Posts:  37
Joined:  2009-05-29
 

I get the same error - just to confirm this issue.

Geetz
ConFX

 
Magento Community Magento Community
Magento Community
Magento Community
 
saturn72
Jr. Member
 
Total Posts:  6
Joined:  2009-07-24
 

Have to same problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Onirico
Sr. Member
 
Total Posts:  93
Joined:  2011-01-04
 

The same problem upgrading from 1.6.2 to 1.7.

 
Magento Community Magento Community
Magento Community
Magento Community
 
FetchDesigns
Sr. Member
 
Avatar
Total Posts:  124
Joined:  2008-04-11
Chicago, IL
 

I am having this same issue upgrading from 1.4.0.1 to 1.7.  Did anyone find a resolution?  I am running the update in command line and the errors I got when I tried to run a Mage_All_Latest is…

... (a bunch of stuff saying it installed correctly)

Error
installFailed to open file /XXXXX/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

... (more stuff saying it installed correctly)

Error
installPackage community/Lib_Varien 1.7.0.0 depends on PHP extensions: Array

... (
even more stuff saying it installed correctly)
 
Magento Community Magento Community
Magento Community
Magento Community
 
fjwp
Jr. Member
 
Total Posts:  1
Joined:  2012-05-08
 

Same error here, fresh install from download.

CONNECT ERROR: Failed to open file /home/vvegmak/domains/xxxx.xxl/public_html/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

If I browse to the folder ..../preview I don’t see the document “catalog_android.phtml”
Is there a way to obtain that file manually?

 
Magento Community Magento Community
Magento Community
Magento Community
 
onepack
Sr. Member
 
Total Posts:  98
Joined:  2008-06-02
Amsterdam
 

Same here on a reinstall of the interakting slider:

Checking dependencies of packages
Starting to download BusinessDecision_Interaktingslider-1.0.6.tgz ...
...done: 65,656 bytes
Installing package community/BusinessDecision_Interaktingslider 1.0.6

CONNECT ERROR: Failed to open file /home/user/domains/domain.com/public_html/downloader/.cache/community/BusinessDecision_Interaktingslider-1.0.6/app/code/community/BusinessDecision/Interaktingslider/sql/interaktingslider_setup/mysql4-install-1.0.6.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
onepack
Sr. Member
 
Total Posts:  98
Joined:  2008-06-02
Amsterdam
 

In my logs:

2012-05-08T21:10:20+00:00 ERR (3): Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/user/domains/domain.com/public_html/downloader/lib/Mage/HTTP/Client/Curl.php on line 529

2012-05-08T21:10:39+00:00 ERR (3): Warning: file_exists(): open_basedir restriction in effect. File(/usr/local/php5/lib/php/BusinessDecision/Interaktingslider/Block/Interaktingslider.php) is not within the allowed path(s): (/home/userabc/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/user/domains/domain.com/public_html/app/code/core/Mage/Core/functions.php on line 145

The host already said Open_basedir won’t be removed.

/usr/local/php5/lib/php is different from /usr/local/lib/php/ and should not be used as the path they said.

Anyone else has this error? How to solve this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
aaronwallace
Member
 
Total Posts:  59
Joined:  2011-07-18
 

How many products are you using? And list all the extensions you are using on 1.7

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
jamespro
Jr. Member
 
Total Posts:  3
Joined:  2012-05-10
 

I was getting:

CONNECT ERRORFailed to open file /home/ytrxz/domains/ytrxz.com/public_html/store/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

Try Magento Cleanup Tool:

http://www.magentocommerce.com/boards/viewreply/386288/

http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions
THANK YOU WHOEVER MADE IT

I tried a whole lot of stuff, so I can\\\’t say 100% that was it.

I uploaded old cache files from /var/cache/—but I think the cleanup tool deleted them, so that might have been a waste of time--or not.

I also uploaded the Mobile files to a place on the server that looked similar. I downloaded the full package and dug around in there to find them.

/public_html/store/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design

I also repaired the database through my web host\\\’s control panel.

I was getting \\\"Exception during cache and session cleaning\\\” errors, and 503 Service unavailable

Random pages that might be helpful:

http://www.magentocommerce.com/boards/viewthread/279464/

http://www.expertmagentodevelopers.com/blog/how-to-upgrade-from-magento-1-6-1-to-1-7-0-using-connect-manager/

Exception printing is disabled by default for security reasons:
http://www.commonitman.com/2010/06/fix-magento-error-message.html

IT REALLY DIDN\\\’T HELP THAT THESE FORUMS WERE DOWN at the worst possible time. Can they schedule accidental outages AFTER my site is working?

 
Magento Community Magento Community
Magento Community
Magento Community
 
bryanpugh
Jr. Member
 
Total Posts:  4
Joined:  2011-09-14
 

I was able to get past this error by doing the following:

When I get to the screen where I get

CONNECT ERRORFailed to open file /home/XXXX/public_html/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/catalog_android.phtml

I went to the terminal and copied

/var/www/MAGENTO_INSTALL/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1.tgz

to /tmp/ where I extracted it and then copied the files from

/tmp/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/*

to

/var/www/MAGENTO_INSTALL/downloader/.cache/community/Magento_Mobile-1.7.0.0.22.1/app/design/adminhtml/default/default/template/xmlconnect/edit/tab/design/preview/

Then back in the browser I pressed [Continue Magento Install].

(NOTE: If you hit [Re-Download All Magento Core Packages] it will not work as it will overwrite the files just copied)

From there it seemed to work.

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