You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
Tonight when I am home from work I will make a push to the GitHub repository so that the entire code library is available. It's rather large, but you can then sift through it. I've posted (In the edit history as well as in the question itself) all of the code that I believe is relevant. However, I will post the rest tonight.Nathan F.– Nathan F.2015-06-05 16:41:40 +00:00Commented Jun 5, 2015 at 16:41
-
I have made a push to the projects GitHub page where you can view all of the code in the project. Please note that the project is largely unfinished. The code you've been viewing can be found under "classes/system/core/sql/litesql.class.php" and "classes/system/comments/". The only file being executed in this test is the "tester.php" file located in the root directory of the project. github.com/thefiscster510/ThrowLiteNathan F.– Nathan F.2015-06-07 02:23:54 +00:00Commented Jun 7, 2015 at 2:23
-
After running this on another system, I've realized that is has something to do with my WAMP installation or configuration. I've tried wiping my WAMP installation and reinstalling with no success. Any suggestions?Nathan F.– Nathan F.2015-06-07 19:10:49 +00:00Commented Jun 7, 2015 at 19:10
-
I just tried uninstalling WAMP and installing XAMPP instead, so as far as I know that means it should be running on a completely clean configuration. However, I'm still getting the same issue where three entries are getting inserted instead of just one. This makes absolutely no sense to me since I ran this exact same code on two other machines running clean installations of WAMP and it only inserted one entry..Nathan F.– Nathan F.2015-06-07 20:05:04 +00:00Commented Jun 7, 2015 at 20:05
-
In your /classes/system/comments/core/commentsystem.class.php You are using Throwlite::$systemSQL->executeSql("INSERT into ".SQL_COMMENTTHREADS_TABLE." (id, sort_order) values (DEFAULT, '2')"); so where you have defined $systemSQL object ? you can directly call your executeSql function ? can you please try also can you print your bind array ?rajatsaurastri– rajatsaurastri2015-06-08 07:28:01 +00:00Commented Jun 8, 2015 at 7:28
|
Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. python-3.x), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
default