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

Datenbankfehler 1.4.1.1
 
chefsache2
Jr. Member
 
Total Posts:  4
Joined:  2011-07-13
 

Hallo zusammen,

brauche mal Hilfe bitte....hatte in der PHP-Datei was geändert, was aber nicht funktionierte und dann wieder den alten Zustand hergestellt - jetzt bekomme ich aber immer wieder diese Fehlermeldung

Cannot send headers; headers already sent in /kunden/x/x/x/lib/Varien/Db/Select.php, line 1

Trace:
#0 /kunden/x/x/x/lib/Zend/Controller/Response/Abstract.php(115): Zend_Controller_Response_Abstract->canSendHeaders(true)
#1 /kunden/x/x/x/app/code/core/Mage/Core/Model/App.php(1151): Zend_Controller_Response_Abstract->setHeader(\\\\\\\\\\\\\\\’Content-Type\\\\\\\\\\\\\\\’, \\\\\\\\\\\\\\\’text/html; char...\\\\\\\\\\\\\\\’)
#2 /kunden/x/x/x/app/code/core/Mage/Core/Controller/Varien/Front.php(80): Mage_Core_Model_App->getResponse()
#3 /kunden/x/x/x/app/code/core/Mage/Core/Model/Url/Rewrite.php(194): Mage_Core_Controller_Varien_Front->getResponse()
#4 /kunden/x/x/x/app/code/core/Mage/Core/Controller/Varien/Front.php(166): Mage_Core_Model_Url_Rewrite->rewrite()
#5 /kunden/x/x/x/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#6 /kunden/x/x/x/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#7 /kunden/x/x/x/index.php(87): Mage::run(\\\\\\\\\\\\\\\’\\\\\\\\\\\\\\\’, \\\\\\\\\\\\\\\’store\\\\\\\\\\\\\\\’)

und so sieht der Codeschnipsel im Ursprung aus - oder hab ich irgendwo nen ; vergessen?

public function __construct(Zend_Db_Adapter_Abstract $adapter)
{
parent::__construct($adapter);
self::$_joinTypes[] = self::STRAIGHT_JOIN_ON;
self::$_partsInit = array(self::STRAIGHT_JOIN => false) + self::$_partsInit;
}

Besten Dank und Grße

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