knut Posted July 23, 2018 Report Share Posted July 23, 2018 After updating from v. 11.0.0 to 12.0.0 / 12.0.1 I cannot save any new records and get following error code: Abfrage: INSERT INTO tng_people (personID,firstname,lnprefix,lastname,nickname,prefix,suffix,title,nameorder,living,private,birthdate,birthdatetr,birthplace,sex,altbirthdate,altbirthdatetr, altbirthplace,deathdate,deathdatetr,deathplace,burialdate,burialdatetr,burialplace,burialtype,baptdate,baptdatetr,baptplace,confdate,confdatetr,confplace,initdate,initdatetr,initplace, endldate,endldatetr,endlplace,changedate,gedcom,branch,changedby,famc,metaphone,edituser,edittime) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,"",?,"","0")ssssssssssssssssssssssssssssssssssssssssss | I1530 | | | | | | | | 0 | 1 | 0 | | 0000-00-00 | | U | | 0000-00-00 | | | 0000-00-00 | | | 0000-00-00 | | 0 | | 0000-00-00 | | | 0000-00-00 | | | 0000-00-00 | | | 0000-00-00 | | 2018-07-23 12:13:36 | tree1 | | Knut | Column 'personID' cannot be null I kindly ask the forum to help me to solve thes issues. Quote Link to comment Share on other sites More sharing options...
tomgee Posted July 23, 2018 Report Share Posted July 23, 2018 knut, I very fortunately did not have this problem. Everything seems to be working normally after I hacked the collations in MySQL and ran the update script. From your error message the person ID is not null, it is I1530 but I don't know what that long string of leading "s" is. Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted July 23, 2018 Report Share Posted July 23, 2018 You may need to report this to Darrin. That query does not look quite right. The long string of sss and ?s are part of the prepared statements that Darrin now uses Quote Link to comment Share on other sites More sharing options...
knut Posted July 24, 2018 Author Report Share Posted July 24, 2018 Thanks so much, tomgee & Ken, I will get in contact with Darrin. Quote Link to comment Share on other sites More sharing options...
knut Posted August 7, 2018 Author Report Share Posted August 7, 2018 Am 24.7.2018 um 07:24 schrieb knut: Thanks so much, tomgee & Ken, I will get in contact with Darrin. Finally we found out that the hosting service did not run the latest PHP update. That was the reason why the prepared statements did not get supported. Quote Link to comment Share on other sites More sharing options...
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.