Jump to content

? User_agent & User_id Cannot be Null Error Messages after 5.0.7 u


Recommended Posts

Error messages showing up over and over since upgrade to 5.0.7:

File: [session.class.php] Line: [592] "INSERT INTO `CubeCart_sessions` (`admin_id`,`customer_id`,`ip_address`,`location`,`session_id`,`session_last`,`session_start`,`useragent`) VALUES ('0','0','216.157.109.10','','86c595d9e2bc20c27d79ca7754c791f9','1328410476','1328410476',null);" - Column 'useragent' cannot be null

AND

File: [session.class.php] Line: [159] "INSERT INTO `CubeCart_access_log` (`type`,`time`,`username`,`user_id`,`ip_address`,`useragent`,`success`) VALUES ('F','1328396338','[email protected]',null,'68.38.38.139','Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)','N');" - Column 'user_id' cannot be null

Is anyone else getting these??

Link to comment
Share on other sites

  • 2 weeks later...

I have just upgraded to 5.0.7 last night and getting two similar system "cannot be null" errors. not sure if this is related.

here they are:

File: [session.class.php] Line: [592] "INSERT INTO `cc5CubeCart_sessions` (`admin_id`,`customer_id`,`ip_address`,`location`,`session_id`,`session_last`,`session_start`,`useragent`) VALUES ('0','0','66.211.170.66','','g7a71bv2gg2s0eqa12od5hfc66','1329175029','1329175029',null);" - Column 'useragent' cannot be null

File: [session.class.php] Line: [159] "INSERT INTO `cc5CubeCart_access_log` (`type`,`time`,`username`,`user_id`,`ip_address`,`useragent`,`success`) VALUES ('F','1329163374','UCMatthew',null,'178.165.68.12','Mozilla/5.0 (Windows NT 5.1; U; en) Opera 8.01','N');" - Column 'user_id' cannot be null

Link to comment
Share on other sites

ok suddenly this is a concern. the cart has begun to report lots of errors. Cubecart fresh upgrade to version 5.0.7. script used to install all ok - no mods on this cart.

140 errors of these at the same time

File: [session.class.php] Line: [592] "INSERT INTO `cc5CubeCart_sessions` (`admin_id`,`customer_id`,`ip_address`,`location`,`session_id`,`session_last`,`session_start`,`useragent`) VALUES ('0','0','121.212.227.147','','ihvn6h01v30vosl2drap0fmbu2','1329195363','1329195363',null);" - Column 'useragent' cannot be null

one of these

File: [session.class.php] Line: [159] "INSERT INTO `cc5CubeCart_access_log` (`type`,`time`,`username`,`user_id`,`ip_address`,`useragent`,`success`) VALUES ('F','1329215323','DSoagmaGor',null,'69.162.120.58','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)','N');" - Column 'user_id' cannot be null

one of these

File: [session.class.php] Line: [159] "INSERT INTO `cc5CubeCart_access_log` (`type`,`time`,`username`,`user_id`,`ip_address`,`useragent`,`success`) VALUES ('F','1329201918','Mendozan0',null,'31.192.105.2','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Babya Discoverer 8.0:','N');" - Column 'user_id' cannot be null

one of these

File: [session.class.php] Line: [159] "INSERT INTO `cc5CubeCart_access_log` (`type`,`time`,`username`,`user_id`,`ip_address`,`useragent`,`success`) VALUES ('F','1329197497','angessGurgeT',null,'117.25.129.125','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Maxthon; .NET CLR 1.1.4322)','N');" - Column 'user_id' cannot be null

maybe i need to ticket this to cubecart staff ?

Link to comment
Share on other sites

looks like, possibly, people are trying to log into your admin section? Since you have the wording INSERT INTO `cc5CubeCart_access_log in most of the errors. I hazzard a guess that the 2 different erros happen virtually at the same time - if you cant log in in won't be possible to have a user ID to receive a sesson ID.

Still probably worth raising it as an issue with higher authorities though.

Possible way to see if this is what it is, is to try and log in to admin with wrong credentials and see if this generates the same error logs

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...