Staredit Network

Staredit Network -> SEN v5 Alpha -> Error in Posting
Report, edit, etc...Posted by Jordan on 2005-12-01 at 20:15:33
Alright well I was testing stuff out and i tried to post and I found an error with a full black page.




Query failed : INSERT INTO forums_posts (`post`, `p_status`, `p_mid`, `p_ip`, `p_itime`, `p_gain`, `p_tid`, `is_topic`) VALUES ('Eh, are we ever going to the status bar on here like on v4?
Addition:
I love the new posting a new topic place .

--------------------------------------------------------------------------------

test
Item
Item 2
Item 3
Item 4

$this->parse_progress('10')
Test', 1, 46, '65.188.137.233', 1133425451, 2, 87, 1)
(1064): You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '10')
Test', 1, 46, '65.188.137.233', 1133425451, 2, 87, 1)


I just checked it. The topic was created, yet no post..
Topic

ADDITION:
*Bump*
Any help here? I'm believing it could be that some BBCodes are implemented yet?
Report, edit, etc...Posted by IsolatedPurity on 2005-12-01 at 22:08:22
I screwed up the progress bbcode while making some edits...
Left off the "e" in the preg_replace... so instead of doing the fuction this->parse_progress('10'), it replaced your progress code with it.
Since a plain ' will break a mysql string, it killed the query.
And since a topic is written into the database first, the post doesn't exist with the topic.
Next Page (1)