Jump to content

Django, Sqlite - Malformed Database Disk


burchardtist

Recommended Posts

Hello,

when I try to launch my site I get error "Caught DatabaseError while rendering: database disk image is malformed". Of course it isn't completaly true, because this database works fine on my computer. I have 0 knowledge about databases, but I just uploaded this file generated by Django on server and now I have no idea what to do. Internet wasn't helpful, SQLite runs this file and loads every table, but I wonder why it is without any extension. When I rename it to *.db debuger throws "Caught OperationalError while rendering: unable to open database file", but after replacing with another, created manually in SQLite, database with proper extension .db it seems to work. I can't even write it manually, because there is not any source about it. Can anyone help me with SQLite installation?

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...