Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 6 Years, 2 Months ago SQLite Errors?
#1
Solved: 6 Years, 2 Months ago
I have never worked with SQLite before, but we are wanting to link our MMORPG game to our forums.

When we get to the installation part of MyBB, I selected SQLite 3 from the dropdown and it asks for me "Database Path".
I have inserted the following:


/database/RootDB.db

It then came back with:


Warning [2] PDO::__construct(): open_basedir restriction in effect. File(G:\database\RootDB.db) is not within the allowed path(s): (G:/PleskVhosts//onyxlegion.com\;C:\Windows\Temp\) - Line: 44 - File: G:\PleskVhosts\onyxlegion.com\httpdocs\community\inc\db_pdo.php PHP 5.4.43 (WINNT)

---

I also tried:

database/RootDB.db

Which it replied with:

Connection failed: SQLSTATE[HY000] [14] unable to open database file

---

The path and file are both writable. Not sure what could be causing this.
What am I doing wrong here? Thanks for the help!
#2
Solved: 6 Years, 2 Months ago
Have you created the folder "database" before?
[Image: banner.png]
#3
Solved: 6 Years, 2 Months ago
-Removed-


Forum Jump:


Users browsing this thread: 1 Guest(s)