Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLSTATE[HY000]: General error: 1364 Field 'service_code' doesn't have a default value #44

Open
TravelingAdMan opened this issue Jun 4, 2013 · 0 comments

Comments

@TravelingAdMan
Copy link
Contributor

After installing Vehicle Fits and attempting to add a Make results in this error below. Hitting the back button returning to the Manage Vehicles screen the Make is added. Attempting to add a model to the make returns the same error, however, it does not add the make to the database.

Fresh Magento Install Version 1.7.0.2

Vehicle-Fits-Magento.v2-build44.tar.gz from http://www.vehiclefits.com/download

a:5:{i:0;s:86:"SQLSTATE[HY000]: General error: 1364 Field 'service_code' doesn't have a default value";i:1;s:1944:"#0 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\lib\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\lib\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO el...', Array) #3 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\local\Elite\Vaf\Model\Db\Adapter\InsertWrapper.php(60): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO el...', Array)
#4 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\lib\VF\Vehicle.php(264): Elite_Vaf_Model_Db_Adapter_InsertWrapper->insert('elite_1_definit...', Array)
#5 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\local\Elite\Vaf\controllers\Admin\VehicleslistController.php(152): VF_Vehicle->save()
#6 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\core\Mage\Core\Controller\Varien\Action.php(419): Elite_Vaf_Admin_VehicleslistController->saveAction()
#7 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('save')
#8 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\core\Mage\Core\Controller\Varien\Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#10 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\app\Mage.php(686): Mage_Core_Model_App->run(Array)
#11 C:\Users\admin\Documents\Clients\London\Track Weapon\Web\index.php(87): Mage::run('', 'store')
#12 {main}";s:3:"url";s:118:"/index.php/admin/vehicleslist/save/key/f2dac570185487dc4fde88212309ac22/?id=0&entity=make&title=Mercedes&save=Add+Make";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant