{"action":"closed","issue":{"url":"https://api.github.com/repos/mgp25/Chat-API/issues/1749","repository_url":"https://api.github.com/repos/mgp25/Chat-API","labels_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1749/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1749/comments","events_url":"https://api.github.com/repos/mgp25/Chat-API/issues/1749/events","html_url":"https://github.com/mgp25/Chat-API/issues/1749","id":142689588,"number":1749,"title":"database disk image is malformed","user":{"login":"tablesuplex","id":17705675,"avatar_url":"https://avatars.githubusercontent.com/u/17705675?v=3","gravatar_id":"","url":"https://api.github.com/users/tablesuplex","html_url":"https://github.com/tablesuplex","followers_url":"https://api.github.com/users/tablesuplex/followers","following_url":"https://api.github.com/users/tablesuplex/following{/other_user}","gists_url":"https://api.github.com/users/tablesuplex/gists{/gist_id}","starred_url":"https://api.github.com/users/tablesuplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tablesuplex/subscriptions","organizations_url":"https://api.github.com/users/tablesuplex/orgs","repos_url":"https://api.github.com/users/tablesuplex/repos","events_url":"https://api.github.com/users/tablesuplex/events{/privacy}","received_events_url":"https://api.github.com/users/tablesuplex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T15:41:29Z","updated_at":"2016-03-22T15:45:39Z","closed_at":"2016-03-22T15:45:39Z","body":"Make sure these boxes are checked before submitting your issue -- thank you!\r\n\r\n\r\n- [x] You are using PHP > 5.6\r\n- [x] You have installed all extensions and modules listed in [here](https://github.com/mgp25/Chat-API/wiki/Dependencies). PHP Protobuf and Curve25519 are required!\r\n- [x] You have checked if someone has already asked the same issue you have.\r\n- [x] You have read the [wiki](https://github.com/mgp25/Chat-API/wiki).\r\n- [x] Is not a programming question.\r\n- [x] You are using latest Chat API code.\r\n\r\n\r\n### Error\r\nI have deleted the axolotl, but after that i have got this error:\r\n\r\n> Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 11 database disk image is malformed' in SqliteAxolotlStore.php:187 Stack trace: #0 SqliteAxolotlStore.php(187): PDOStatement->execute() #1 Login.php(65): axolotlSqliteStore->loadPreKeys() #2 whatsprot.class.php(286): Login->doLogin() #3 whatsprot.class.php(430): WhatsProt->loginWithPassword('XXXXXX.') #4 whatsprot.class.php(444): WhatsProt->resetEncryption() # in SqliteAxolotlStore.php on line 187\r\n\r\n\r\n### Debug log\r\nPost your debug log below:\r\n\r\n```xml\r\n2016-03-22 16:20:02: <pre>rx  <stream:features></stream:features>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>rx  <challenge>e9e825fda9efd4c60b6a2d1e4616a72f02331ef1</challenge>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>tx  <response>46b0581a73390212b3d92541475a02d416d27ec11634a72f35674ec2221252632c1838bc6e0745c6b262d0ada1080fae64f0af6f52fc87b0448f1481cd532761e606ce17961c67af84614a882268</response>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>rx  <success t=\"1458660023\" props=\"4\" kind=\"free\" status=\"active\" creation=\"1453881370\" expiration=\"4444444444\">c7967436ba5da5fdf8528c9e62ffc6ee882d9e07</success>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>tx  <presence name=\"Test\" type=\"available\"></presence>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>tx  <iq id=\"01\" xmlns=\"jabber:iq:privacy\" type=\"get\">\r\ntx    <query>\r\ntx      <list name=\"default\"></list>\r\ntx    </query>\r\ntx  </iq>\r\n\r\n</pre>\r\n2016-03-22 16:20:02: <pre>tx  <iq id=\"02\" xmlns=\"urn:xmpp:whatsapp:push\" type=\"get\" to=\"s.whatsapp.net\">\r\ntx    <config></config>\r\ntx  </iq>\r\n\r\n</pre>\r\n\r\n```\r\n"}}