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

Kurulum sırasında hata alıyorum
 
ali_admin
Jr. Member
 
Total Posts:  2
Joined:  2012-03-22
 

kurulum evresinin, veritabanı bilgilerini girdikten sonraki kısmında

/home/../public_html/magento/app/code/core/Mage/SalesRule/sql/salesrule_setup/upgrade-1.6.0.0-1.6.0.1.php\\\” - SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for \\\’period\\\’

Trace:
#0 /home/../public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(\\\’Mage_Core\\\’, \\\’Error in file: ...\\\’)
#1 /home/../public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(422): Mage_Core_Model_Resource_Setup->_modifyResourceDb(\\\’upgrade\\\’, \\\’1.6.0.0\\\’, \\\’1.6.0.1\\\’)
#2 /home/../public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb(\\\’1.6.0.1\\\’)
#3 /home/../public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4/home/../public_html/magento/app/code/core/Mage/Core/Model/App.php(412): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/../public_html/magento/app/code/core/Mage/Core/Model/App.php(338): Mage_Core_Model_App->_initModules()
#6 /home/../public_html/magento/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#7 /home/../public_html/magento/index.php(80): Mage::run(\\\’\\\’, \\\’store\\\’)
#8 {main}

hatasi alıyorum , vede phpmyadminden baktıgımda da 215 tane tablo acıldıgını gordum . halbuki localhosta kurdugumda 320 tane tablo vardı. bu sorunun sebebi ve cozumu icin yardımcı olurmusunuz.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ali_admin
Jr. Member
 
Total Posts:  2
Joined:  2012-03-22
 

ilk hatayı bu baslık sayesinde gectim :http://www.magentocommerce.com/boards/26245/viewthread/263672/#t379724

su anda admin sifresini alfabetik ve numerik girdigim halde Password must include both numeric and alphabetic characters. hatası alıyorum

 
Magento Community Magento Community
Magento Community
Magento Community
 
rockeyfreak
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2012-02-12
 

replace in the file magento\\app\\code\\core\\Mage\\SalesRule\\sql\\salesrule_setup\\install-1.6.0.0.fp
lines 333-335:

-> addColumn (’period’, Varien_Db_Ddl_Table :: TYPE_DATE, null, array (
‘nullable’ => false,
), ‘Period’)

on

-> addColumn (’period’, Varien_Db_Ddl_Table :: TYPE_DATE, null, array (
‘nullable’ => true,
), ‘Period’)

good luck.

Regards
[Rahul Dhamehca]

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