- March 2021
- February 2021
- October 2020
- June 2020
- May 2020
- October 2019
- June 2019
- September 2018
- May 2018
- December 2017
- April 2017
- June 2016
- February 2016
- November 2015
- January 2015
- August 2014
- July 2014
- May 2014
- March 2014
- February 2014
- January 2014
- November 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- September 2012
- June 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- September 2011
- July 2011
- June 2011
- May 2011
- March 2011
- January 2011
- October 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- September 2009
- July 2009
- June 2009
- May 2009
- March 2009
- September 2008
- April 2008
- December 2007
- June 2007
- June 2005
- September 2004
- May 2002
- October 2001
- August 2001
2011-07-06: Magento: Blank page in Connect downloader
Magento is extensible with plugin modules. Many free as well as commercial modules are available through the Magento Connect marketplace. Extension packages bought from the marketplace are installed through the Connect Manager. Unfortunately, having Magento working properly doesn't automatically mean the Connect Manager also works. It may complain about not having sufficient write permissions on the Magento folder or even worse, simply displays a blank page.
Blank page: Missing Dependencies
There are several PHP extensions that must be installed into your PHP installation to allow Magento to work. There is a list in the System Requirements page, as well as an automated check. While these extensions are sufficient for getting Magento to work, the Connect Manager has some extra dependencies. For that, you will also need the extensions php_zlib due to a call to gzcompress and php_ftp because of ftp_connect.
This can take you a long time to figure out, as there won't be any error messages, not even in the error log. This is because Magento (in a display of bad design), calls those functions with the error-suppression operator @ in front, without checking whether they actually exist or at least documenting the dependencies.
Insufficient Write Permissions
To be able to install your downloaded extensions, Connect Manager will need write access to the Magento installation. One way to accomplish this is by making the entire installation world-writeable. The security implications of this send shivers down my spine and I prefer to let the Connect Manager use the FTP credentials for the user that owns the Magento folder.
Even if you set these up, the downloader will still complain about not having sufficient write permissions. This is because not all directories that it needs to access are created automatically or with the correct permissions. Make sure the following folders exist within the Magento installation folders and are writeable by the FTP user:
- downloader/.cache/
- var/package/tmp
- media
Comments
Thank you for the good advice,
im looking for developer to help me with this issue, is anyone available?
Post a comment