murendie Posted September 21, 2015 Report Share Posted September 21, 2015 Oh noes! SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module_row_id' cannot be null on line 124 in /var/www/Netstreet/my/lib/model.php Printing Stack Trace: #0 /var/www/Netstreet/my/lib/model.php(124): PDOStatement->execute(Array) #1 /var/www/Netstreet/my/components/record/record.php(225): Model->query('INSERT INTO `se...', Array) #2 /var/www/Netstreet/my/app/models/services.php(895): Record->insert('services', Array, Array) #3 /var/www/Netstreet/my/plugins/order/models/order_orders.php(389): Services->add(Array, Array, false) #4 /var/www/Netstreet/my/plugins/order/models/order_orders.php(252): OrderOrders->addService(Array, Array, Array, NULL) #5 /var/www/Netstreet/my/plugins/order/controllers/checkout.php(345): OrderOrders->add(Array, Array) #6 /var/www/Netstreet/my/plugins/order/controllers/checkout.php(71): Checkout->createOrder(Array, NULL) #7 /var/www/Netstreet/my/lib/dispatcher.php(111): Checkout->index() #8 /var/www/Netstreet/my/index.php(21): Dispatcher::dispatch('/index.php/orde...') #9 {main} Quote Link to comment Share on other sites More sharing options...
0 murendie Posted September 25, 2015 Author Report Share Posted September 25, 2015 I had installed a duplicate module. Thank you very much renamed the module folder and installed modules again and it worked. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 Michael Posted September 21, 2015 Report Share Posted September 21, 2015 sounds like you have double modules in the database or the package you have has a invalid module id. Quote Link to comment Share on other sites More sharing options...
0 Cody Posted September 21, 2015 Report Share Posted September 21, 2015 Did you uninstall a module or remove a module record after already having created the package you are trying to add a service for? If so, you need to resave the package with the correct details. Michael 1 Quote Link to comment Share on other sites More sharing options...
0 murendie Posted September 25, 2015 Author Report Share Posted September 25, 2015 I had installed a duplicate module. Thank you very much renamed the module folder and installed modules again and it worked. Quote Link to comment Share on other sites More sharing options...
Question
murendie
Oh noes!
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module_row_id' cannot be null on line 124 in /var/www/Netstreet/my/lib/model.php
Printing Stack Trace:
#0 /var/www/Netstreet/my/lib/model.php(124): PDOStatement->execute(Array)
#1 /var/www/Netstreet/my/components/record/record.php(225): Model->query('INSERT INTO `se...', Array)
#2 /var/www/Netstreet/my/app/models/services.php(895): Record->insert('services', Array, Array)
#3 /var/www/Netstreet/my/plugins/order/models/order_orders.php(389): Services->add(Array, Array, false)
#4 /var/www/Netstreet/my/plugins/order/models/order_orders.php(252): OrderOrders->addService(Array, Array, Array, NULL)
#5 /var/www/Netstreet/my/plugins/order/controllers/checkout.php(345): OrderOrders->add(Array, Array)
#6 /var/www/Netstreet/my/plugins/order/controllers/checkout.php(71): Checkout->createOrder(Array, NULL)
#7 /var/www/Netstreet/my/lib/dispatcher.php(111): Checkout->index()
#8 /var/www/Netstreet/my/index.php(21): Dispatcher::dispatch('/index.php/orde...')
#9 {main}
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.