Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /var/www/fs2/30/vapaalas/public_html/kirja/extranet/inc/core/core_config.php on line 114

Warning: session_start(): open(/var/www/fs2/30/vapaalas/session_data/sess_1g0aoghm8n7h1j9bbqaqu8l1nk, O_RDWR) failed: Disk quota exceeded (122) in /var/www/fs2/30/vapaalas/public_html/kirja/inc/config.php on line 31

Warning: session_start(): Failed to read session data: files (path: /var/www/fs2/30/vapaalas/session_data) in /var/www/fs2/30/vapaalas/public_html/kirja/inc/config.php on line 31

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FormCreator has a deprecated constructor in /var/www/fs2/30/vapaalas/public_html/kirja/extranet/inc/core/core_formengine.php on line 29
Sivu: kirja.vapaalasku.com/index.phpdo=showCart Ongelma: Column 'sess_id' cannot be null Sql: INSERT INTO shop_cart (user_id, row_id, sess_id, product_id, cart_time, persistent, price, amount) VALUES (NULL, 1, NULL, 1, NOW(), 0, 39.90, 1) POST = Array ( ) REFERER = Array ( [0] => Array ( [file] => /var/www/fs2/30/vapaalas/public_html/kirja/controllers/cart.php [line] => 43 [function] => query [class] => DB_connection [object] => Database Object ( [table] => Array ( [locations] => jbb3_mod_jalleenmyyjat [languages] => jbb3_languages [question_fields] => jbb3_question_fields [question_values] => jbb3_question_values [attachments] => jbb3_attachments [cart] => shop_cart [options] => shop_options [product] => shop_product [image] => shop_product_image [page_image] => shop_page_image [product_categories] => shop_product_categories [product_property] => shop_product_property [product2property] => shop_product_to_property [product_options] => shop_product_options [product2category] => shop_product_to_category [row2options] => shop_row_to_options [row2property] => shop_row_to_property [user_options] => shop_user_options [user2options] => shop_users_to_options [tags] => shop_tags [tagsjoin] => shop_tags_to_product [users] => shop_users [address] => shop_address [pages] => shop_pages [texts] => shop_texts [delivery] => shop_delivery [orders] => shop_orders [order_invoice] => shop_order_invoice [order_invoice_property] => shop_order_invoice_property [order_special] => shop_order_special [order_content] => shop_order_content [pay] => shop_pay [pay_has_delivery] => shop_pay_has_delivery [offer_has_delivery] => shop_offer_has_delivery [offers] => shop_offers [offer_has_pay] => shop_offer_has_pay [coupon_history] => shop_coupon_history [epay] => shop_epay [event_log] => shop_event_log ) [connection] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => 1048 [error] => Column 'sess_id' cannot be null [error_list] => Array ( [0] => Array ( [errno] => 1048 [sqlstate] => 23000 [error] => Column 'sess_id' cannot be null ) ) [field_count] => 1 [host_info] => mysql2.sigmatic.fi via TCP/IP [info] => [insert_id] => 0 [server_info] => 5.7.24-26-log [server_version] => 50724 [stat] => Uptime: 3241325 Threads: 7 Questions: 2562517835 Slow queries: 65519 Opens: 50584608 Flush tables: 1 Open tables: 21840 Queries per second avg: 790.577 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 56887694 [warning_count] => 0 ) [sql_list] => Array ( ) [db_result] => mysqli_result Object ( [current_field] => 0 [field_count] => 1 [lengths] => Array ( [0] => 5 ) [num_rows] => 1 [type] => 0 ) [tables] => ) [type] => -> [args] => Array ( [0] => INSERT INTO shop_cart (user_id, row_id, sess_id, product_id, cart_time, persistent, price, amount) VALUES (NULL, 1, NULL, 1, NOW(), 0, 39.90, 1) ) ) [1] => Array ( [file] => /var/www/fs2/30/vapaalas/public_html/kirja/index.php [line] => 131 [function] => runControl [args] => Array ( ) ) )
Warning: mysqli_error() expects exactly 1 parameter, 0 given in /var/www/fs2/30/vapaalas/public_html/kirja/extranet/inc/core/core_mysql_db11.php on line 54
Ongelma.
INSERT INTO shop_cart (user_id, row_id, sess_id, product_id, cart_time, persistent, price, amount) VALUES (NULL, 1, NULL, 1, NOW(), 0, 39.90, 1)