sqlite3 insert from php 5.3.6 doesn't commit, leaves "-journal" file -


i have 3 web pages on yahoo hosted web site use sqlite3 databases. working fine until week ago. of sudden inserts , updates no longer being saved in database files. also, in same directory database files, there "-journal" file left over. file permissions on database file , directory , parent directory 777. can read database fine, no updates occurring. have tried several things:

  1. pulled down database home computer , ran python sqlite3 test see if insert data database. worked fine - record inserted via python , no "-journal" left over.
  2. tried switching on pdo instead of sqlite3. still not saving data - still "-journal" left over.
  3. tried adding transactions ($db->exec('begin;') , $db->exec('commit;');). did not work.
  4. added try/catch try {...} catch (exception $e) {error_log($e);}. no errors logged.
  5. tried adding logging after each step. log messages printed, including error_log('last row id inserted: ' . $db->lastinsertrowid()); , actual last row inserted printed: [25-jul-2017 06:55:45] last row id inserted: 774. looking in database, row id 774 not there - highest 1 773

this puzzling. wonder happened on 7/18/2017, don't know how figure out... did add php info page: http://coolgadgetssoftware.com/info.php details php environment. switch these 3 pages on mysql, work. want them start working again.

any ideas?


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -