[GH-ISSUE #170] Can´t create database #109

Closed
opened 2026-02-28 01:21:02 +03:00 by kerem · 1 comment
Owner

Originally created by @weidnerd on GitHub (Apr 2, 2018).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/170

[Mon Apr 02 21:16:09.370183 2018] [:error] [pid 22159] [client x.x.x.x:54594] PHP Fatal error: Uncaught Exception: Unable to open database: unable to open database file in /var/www/html/nsed it/includes/misc.inc.php:64\nStack trace:\n#0 /var/www/html/nsedit/includes/misc.inc.php(64): SQLite3->__construct('/etc/pdns.users...', 6)\n#1 /var/www/html/nsedit/includes/session.inc.php(4): inclu de_once('/var/www/html/n...')\n#2 /var/www/html/nsedit/index.php(4): include_once('/var/www/html/n...')\n#3 {main}\n thrown in /var/www/html/nsedit/includes/misc.inc.php on line 64

what are the conditions that the database can be created?

Originally created by @weidnerd on GitHub (Apr 2, 2018). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/170 `[Mon Apr 02 21:16:09.370183 2018] [:error] [pid 22159] [client x.x.x.x:54594] PHP Fatal error: Uncaught Exception: Unable to open database: unable to open database file in /var/www/html/nsed it/includes/misc.inc.php:64\nStack trace:\n#0 /var/www/html/nsedit/includes/misc.inc.php(64): SQLite3->__construct('/etc/pdns.users...', 6)\n#1 /var/www/html/nsedit/includes/session.inc.php(4): inclu de_once('/var/www/html/n...')\n#2 /var/www/html/nsedit/index.php(4): include_once('/var/www/html/n...')\n#3 {main}\n thrown in /var/www/html/nsedit/includes/misc.inc.php on line 64` what are the conditions that the database can be created?
kerem closed this issue 2026-02-28 01:21:02 +03:00
Author
Owner

@tuxis-ie commented on GitHub (Apr 2, 2018):

Not much. But writing permissions for the web server users are. It looks like you want it to write to /etc/ which is probably not writable for the webserver user.

<!-- gh-comment-id:378034077 --> @tuxis-ie commented on GitHub (Apr 2, 2018): Not much. But writing permissions for the web server users are. It looks like you want it to write to /etc/ which is probably not writable for the webserver user.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsedit#109
No description provided.