Error in functions_post.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Error in functions_post.php
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   
Hello All, I have just upgraded from nukephp-phpbb 10 to 11 and I get the following error when Anonymous try posting in the Forum but for registered users its OK. Here is the error message:::: Thanks.

Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ' 1102722604, 3, 0, 0, 0)' at line 1

INSERT INTO nuke_bbtopics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('Day of Reckoning', , 1102722604, 3, 0, 0, 0)

Line : 258
File : /home2/www/sakafete/includes/functions_post.php



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Attach the includes/functions_post.php




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   


Originally posted by Telli @ Sat Dec 11, 2004 11:14 am:

Attach the includes/functions_post.php



Attached Files
functions_post.txt (28.96 KB, Downloaded: 5235 Time(s))


Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Try this one...



Attached Files
leo51.zip (6.92 KB, Downloaded: 5238 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   


Originally posted by Telli @ Sat Dec 11, 2004 11:36 am:

Try this one...


Hi TELI, now getting a different error message;;;


Could not obtain list of topic watchers

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ' -1) AND tw.notify_status = 0 AND u.user_id = tw.user_id' at line 4

SELECT u.user_id, u.user_email, u.user_lang FROM nuke_bbtopics_watch tw, nuke_users u WHERE tw.topic_id = '207' AND tw.user_id NOT IN (, -1) AND tw.notify_status = 0 AND u.user_id = tw.user_id

Line : 625
File : /home2/www/sakafete/includes/functions_post.php



Back to top Reply with quote
#6   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Try this one...



Attached Files
leo51-2.zip (7.19 KB, Downloaded: 5232 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   
leo51
CZ Super Newbie
leo51 has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Website:
Status: Offline
Joined: Jul 13, 2004
0.00 posts per day
Posts: 35
Points: 2,907
   


Originally posted by Telli @ Sat Dec 11, 2004 12:17 pm:

Try this one...


Tellii, I think that this is a real problem. I have create a forum on a new site and tested a post and its the same error. While I installed the site some week ago I never created any forum. This site has the upgrade from phpnuke-phpbb 10-11 some bodyelse may want to test their forum and post the results. This other site is on a separate server and in a different State.

Error in posting

DEBUG MODE

SQL Error : 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 ' 1102736541, 1, 0, 0, 0)' at line 1

INSERT INTO nuke_bbtopics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('My Love Song', , 1102736541, 1, 0, 0, 0)

Line : 258
File : /home/q95fmco/public_html/includes/functions_post.php



Back to top Reply with quote
#8   re: Error in functions_post.php
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Definatley a problem, I just tried posting on my site as anonymous and received the same error. phpBB 2.0.11 upgraded with BBtoNuke211 from nukeresources. Running Nuke 7.4 Patched 2.7

Error in posting

DEBUG MODE

SQL Error : 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 ' 1102737318, 1, 0, 0, 0)' at line 1

INSERT INTO nuke_bbtopics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('vcbvc', , 1102737318, 1, 0, 0, 0)

Line : 258
File : /home/virtual/site43/fst/var/www/html/includes/functions_post.php



Back to top Reply with quote
#9   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Echo can you PM your login information for the site I would like to go in and have a look. I dont have the problem here but then again I don't allow anonymous to post.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: Error in functions_post.php
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Telli, I see you got the anonymous post to work, however I tried to reply as anonymous and received this error:

Could not obtain list of topic watchers

DEBUG MODE

SQL Error : 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 ' -1) AND tw.notify_stat

SELECT u.user_id, u.user_email, u.user_lang FROM nuke_bbtopics_watch tw, nuke_users u WHERE tw.topic_id = '1' AND tw.user_id NOT IN (, -1) AND tw.notify_status = 0 AND u.user_id = tw.user_id

Line : 625
File : /home/virtual/site43/fst/var/www/html/includes/functions_post.php


Although I do get that error, my reply shows up fine.


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum