Magento Forum

Problem after installing magento mobile
 
hammer4u
Jr. Member
 
Total Posts:  3
Joined:  2011-11-05
 

i use magento 1.4.2 and I installed version 1.4.2.0.22 magento mobile
after i flush magento cache, the site not working and give me this error

There has been an error processing your request

Error in file: “/var/www/html/nextshoes/app/code/core/Mage/XmlConnect/sql/xmlconnect_setup/mysql4-upgrade-1.4.0.8-1.4.0.9.php” - SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘xmlconnect_queue’ already exists

Trace:
#0 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/Resource/Setup.php(390): Mage::exception(’Mage_Core’, ‘Error in file: ...’)
#1 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/Resource/Setup.php(289): Mage_Core_Model_Resource_Setup->_modifyResourceDb(’upgrade’, ‘1.4.0.8’, ‘1.4.0.14’)
#2 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/Resource/Setup.php(233): Mage_Core_Model_Resource_Setup->_upgradeResourceDb(’1.4.0.8’, ‘1.4.0.14’)
#3 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/Resource/Setup.php(161): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/App.php(363): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /var/www/html/nextshoes/app/code/core/Mage/Core/Model/App.php(295): Mage_Core_Model_App->_initModules()
#6 /var/www/html/nextshoes/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#7 /var/www/html/nextshoes/index.php(80): Mage::run(’’, ‘store’)
#8 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

its a version clash, magento dies on “create table” statement as upgrade, make sure your magento install meets the requirements for magneto mobile

 
Magento Community Magento Community
Magento Community
Magento Community
 
hammer4u
Jr. Member
 
Total Posts:  3
Joined:  2011-11-05
 

if i use this magento version and i install magento mobile 1.5.0.22, must update and other data, they affect the platform?

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

honestly, never tried magento mobile, open app/etc/modules/Mage_Mobile.xml or smth, there should be “depends” tags

well, yes, it affects core modules, xmlconnect being one of them

 
Magento Community Magento Community
Magento Community
Magento Community
 
jameslake
Jr. Member
 
Total Posts:  1
Joined:  2011-12-20
 

Yes its working fine with me also, you have to check at your end. Im using in my HTC Phone.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Enase
Jr. Member
 
Total Posts:  19
Joined:  2010-05-11
 

Hi hammer4u,

You can solve your problem by executing the sql query (see below), but pay attantion that all your magento mobile data will be lost.

SET foreign_key_checks = 0;
DROP TABLE `xmlconnect_application`, `xmlconnect_history`, `xmlconnect_notification_template`, `xmlconnect_queue`, `xmlconnect_config_data`;
DELETE FROM `YOUR_DATABASE_NAME_HERE`.`core_resource` WHERE `core_resource`.`code` = \’xmlconnect_setup\’;
SET foreign_key_checks = 1;

Notice: Replace YOUR_DATABASE_NAME_HERE in the query with your data base name.

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