Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6688549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:24:58+00:00 2026-05-26T05:24:58+00:00

I am trying to create a SQLite database file for iOS and Android. However,

  • 0

I am trying to create a SQLite database file for iOS and Android. However, I am running into an issue I have, so far, not been able to solve.

Point is, I know how to create a SQLite database on both devices, and I know how to do it in PHP, but somehow they cannot read each-others databases.

How I create/open the sqlite file in php:

$dbhandle = sqlite_open('icddb.sqlite', 0777, $error);

I do queries like this:

sqlite_exec($dbhandle,$query);

When I put the filled database to iOS, this message is displayed:

file is encrypted or is not a database

How can this be solved? I have same problem when I create the SQLite file with firefox plugin ‘SQLite Manager’

Note: PHP is in any case able to open the SQLite file.

Edit:

Apparently the latest stable PHP version creates a SQLite v2 file instead of a v3, which is used by all other. This probably is also my fix.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:24:59+00:00Added an answer on May 26, 2026 at 5:24 am

    This is a SQLite version mismatch problem, Related Link:

    • Error: file is encrypted or is not a database
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create entities out of a SQLite database. SQLite doesnt have
I'm trying to create an sqlite database by importing a csv file with urls.
I have an XML file containing seed data that I'm trying to load into
I'm trying to connect to SQLite database with Ecplise but I have some errors.
I'm trying to create image from SQLite database in Java Swing application. But it
I am trying to create an SQLite database. The create method: private static class
I am trying to use fts in my sqlite database, i have created a
I'm trying to use org.sqlite.JDBC to create and update a sqlite database in ant.
I'm trying to find the sqlite database file that rails creates. Sorry if this
I am trying to import a file as a table in SQLite 3 using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.