|
Written on: 25. 04. 2011 [21:08]
|
|
tonylush
Tony Lush
registered since: 01.12.2009
Posts: 12
|
With Typogento 1.0.2, TYPO3 4.5.2, and Magento 1.4.1.1 we get errors when a user tries to log in to the TYPO3 frontend.
If the user exists in TYPO3 and Magento with the email address as the username, an error is displayed:
#3: This customer email already exists. which comes from:
/home/.../public_html/magento/app/code/core/Mage/Customer/Model/Entity/Customer.php:
00091: throw Mage::exception('Mage_Core', Mage::helper('customer')->__('This customer email already exists.'),
00092: Mage_Customer_Model_Customer::EXCEPTION_EMAIL_EXISTS
00093: );
00094: }
00095
and /home/.../public_html/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php:
00952: $object->setParentId((int) $object->getParentId());
00953:
00954: $this->_beforeSave($object);
00955: $this->_processSaveData($this->_collectSaveData($object));
00956: $this->_afterSave($object);
If the TYPO3 user exists (with email address as username), but the username does not exist in Magento, the error is:
#1045: SQLSTATE[28000] [1045] Access denied for user 'correctLogin'@'localhost' (using password: YES)
Zend_Db_Adapter_Exception thrown in file
/home/.../public_html/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php in line 144.
19 Zend_Db_Adapter_Pdo_Abstract::_connect()
/home/.../public_html/magento/lib/Zend/Db/Adapter/Pdo/Mysql.php:
00094: }
00095:
00096: parent::_connect();
00097: }
00098:
18 Zend_Db_Adapter_Pdo_Mysql::_connect()
/home/.../public_html/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php:
00249:
00250: $this->_debugTimer();
00251: parent::_connect();
00252: $this->_debugStat(self: EBUG_CONNECT, '');
00253:
17 Varien_Db_Adapter_Pdo_Mysql::_connect()
/home/.../public_html/magento/lib/Zend/Db/Adapter/Abstract.php:
00830: public function quote($value, $type = null)
00831: {
00832: $this->_connect();
00833:
00834: if ($value instanceof Zend_Db_Select) {
16 Zend_Db_Adapter_Abstract::quote("186", NULL)
/home/.../public_html/magento/lib/Zend/Db/Adapter/Abstract.php:
00900: {
00901: if ($count === null) {
00902: return str_replace('?', $this->quote($value, $type), $text);
00903: } else {
00904: while ($count > 0) {
15 Zend_Db_Adapter_Abstract::quoteInto("fe_users.uid=?", "186", NULL, NULL)
/home/.../public_html/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php:
01154: $value = new Zend_Db_Expr('NULL');
01155: }
01156: return parent::quoteInto($text, $value, $type, $count);
01157: }
01158:
Has anyone been able to get TYPO3 logins to work properly with Typogento 1.0.2?
Thank you -- Tony
|