[GH-ISSUE #109] Warning: SQLite3Stmt::execute() [sqlite3stmt.execute]: Unable to execute statement: constraint failed in .../nsedit/includes/misc.inc.php on line 297 #62

Closed
opened 2026-02-28 01:20:49 +03:00 by kerem · 4 comments
Owner

Originally created by @jasonhorton on GitHub (Aug 25, 2016).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/109

Brand new setup on Centos 6, PHP 5.3.3

When I disable logging in config.inc.php, we get past this error, but then are hit with "An error occured while communicating to the server."

Originally created by @jasonhorton on GitHub (Aug 25, 2016). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/109 Brand new setup on Centos 6, PHP 5.3.3 When I disable logging in config.inc.php, we get past this error, but then are hit with "An error occured while communicating to the server."
kerem closed this issue 2026-02-28 01:20:49 +03:00
Author
Owner

@richard-underwood commented on GitHub (Aug 26, 2016):

I've not tried with PHP 5.3, but there's at least one issue which will prevent 5.4 from working (and therefore also 5.3).

You could try the diff linked below which addresses it, but there may be other issues with 5.3 - you would probably do better installing CentOS 7 which has PHP 5.4 or using a repository like IUS (https://ius.io/) and installing 5.6.

github.com/richard-underwood/nsedit@2cb95a6959

<!-- gh-comment-id:242667860 --> @richard-underwood commented on GitHub (Aug 26, 2016): I've not tried with PHP 5.3, but there's at least one issue which will prevent 5.4 from working (and therefore also 5.3). You could try the diff linked below which addresses it, but there may be other issues with 5.3 - you would probably do better installing CentOS 7 which has PHP 5.4 or using a repository like IUS (https://ius.io/) and installing 5.6. https://github.com/richard-underwood/nsedit/commit/2cb95a695932c3c5e34ac1a7e6a3b8a6be80d848
Author
Owner

@tuxis-ie commented on GitHub (Aug 26, 2016):

Logging issue is fixed in #105 (Which is now merged). The second issue, could it be related to 2cb95a6959 ?

<!-- gh-comment-id:242667958 --> @tuxis-ie commented on GitHub (Aug 26, 2016): Logging issue is fixed in #105 (Which is now merged). The second issue, could it be related to 2cb95a695932c3c5e34ac1a7e6a3b8a6be80d848 ?
Author
Owner

@tuxis-ie commented on GitHub (Aug 26, 2016):

This was probably the issue with #103 as well..

<!-- gh-comment-id:242668204 --> @tuxis-ie commented on GitHub (Aug 26, 2016): This was probably the issue with #103 as well..
Author
Owner

@jasonhorton commented on GitHub (Aug 26, 2016):

These two fixed the issue so far. Thanks!

<!-- gh-comment-id:242797861 --> @jasonhorton commented on GitHub (Aug 26, 2016): These two fixed the issue so far. Thanks!
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#62
No description provided.