Magento Forum

   
Notice: Undefined offset: Response.php
 
ubuntuUser
Jr. Member
 
Total Posts:  15
Joined:  2007-09-27
 

Hello Everyone,

I am trying to install Magento on a ubuntu system. PHP5.2 and apache2

I have SSL setup and I can get to the configuration screen when it asks me about the MySQL Database connection. The database is located on a different server so I put in the IP Address, db, username, and password. When I try to move to the next page I get an ugly error.

How do I get around this?

Thanks!

Notice: Undefined offset:  1 in /var/www/magento/lib/Zend/Http/Response.php on line 526
[0] in Zend_Http_Response::extractBody("/var/www/magento/lib/Zend/Http/Response.php on line 605
[1] in Zend_Http_Response::fromString("/var/www/magento/lib/Zend/Http/Client.php on line 768
[2] in Zend_Http_Client->request("GET") in /var/www/magento/lib/Varien/Http/Client.php on line 47
[3] in Varien_Http_Client->request("GET") in /var/www/magento/app/code/core/Mage/Install/Model/Installer/Config.php on line 113
[4] in Mage_Install_Model_Installer_Config->_checkUrl("http://localhost:80/magento/") in /var/www/magento/app/code/core/Mage/Install/Model/Installer/Config.php on line 103
[5] in Mage_Install_Model_Installer_Config->_checkHostsInfo(Array[16]) in /var/www/magento/app/code/core/Mage/Install/Model/Installer/Config.php on line 66
[6] in Mage_Install_Model_Installer_Config->install() in /var/www/magento/app/code/core/Mage/Install/Model/Installer.php on line 88
[7] in Mage_Install_Model_Installer->installConfig(Array[12]) in /var/www/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 160
[8] in Mage_Install_WizardController->configPostAction() in /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 232
[9] in Mage_Core_Controller_Varien_Action->dispatch("configPost") in /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 138
[10] in Mage_Core_Controller_Varien_Router_Standard->match(Zend_Controller_Request_Http) in /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 139
[11] in Mage_Core_Controller_Varien_Front->dispatch() in /var/www/magento/app/Mage.php on line 356
[12] in Mage::run("base") in /var/www/magento/index.php on line 27

exception ‘Zend_Controller_Response_Exception’ with message ‘Cannot send headers; headers already sent in /var/www/magento/app/code/core/Mage/Core/functions.php, line 126’ in /var/www/magento/lib/Zend/Controller/Response/Abstract.php:265
Stack trace:
#0 /var/www/magento/lib/Zend/Controller/Response/Abstract.php(131): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 /var/www/magento/app/code/core/Mage/Install/controllers/WizardController.php(168): Zend_Controller_Response_Abstract->setRedirect(’https://localho...’)
#2 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(232): Mage_Install_WizardController->configPostAction()
#3 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(138): Mage_Core_Controller_Varien_Action->dispatch(’configPost’)
#4 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(139): Mage_Core_Controller_Varien_Router_Standard->match(Object(Zend_Controller_Request_Http))
#5 /var/www/magento/app/Mage.php(356): Mage_Core_Controller_Varien_Front->dispatch()
#6 /var/www/magento/index.php(27): Mage::run(’base’)
#7 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Yep it’s ugly and it’s in Zend Framework:

$parts preg_split('|(?:\r?\n){2}|m'$response_str2);
        if (! 
$parts[0]) return $headers;
Needs to be changed to isset($parts[0]) ..
Can’t reproduce this, notified their contact.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ubuntuUser
Jr. Member
 
Total Posts:  15
Joined:  2007-09-27
 

Is this something I can change myself? If so, what file and line am I looking at?

Thanks!

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