CZ FORUMS ERROR

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZ FORUMS ERROR
bowen
CZ Super Newbie
 Codezwiz Site Donator
bowen has been a member for over 20 year's 20 Year Member
Occupation: Network Admin
Gender: Male
Website:
Status: Offline
Joined: Mar 08, 2004
0.01 posts per day
Posts: 89
Points: 9,121
   
Gday
one of my users has discovered an error with the CZ Forums Blocks that is running on my site I have put the attachment mod on and that is working fine however when users click on the name or the avatar of a user in the top 5 posters bar they get this error: 5sigh.gif


Couldn't query attachments

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 ') AND (privmsgs_id = 0) GROUP BY attach_id' at line 3

SELECT attach_id FROM nuke_bbattachments WHERE (user_id_1 = ) AND (privmsgs_id = 0) GROUP BY attach_id

Line : 506
File : /home/bemused/public_html/modules/Forums/attach_mod/includes/functions_includes.php



ANY IDEAS icon_question.gif icon_question.gif icon_question.gif

[B]MYSITE INFO

· Os: Linux b
· PHP: 4.3.4
· MySQL: 4.0.18-standard
-CZEnhanced 7
-phpBB 2.0.6 ( the one that came with CZEnhanced 7)
Mods
attachment mod latest version{/B]



Back to top Reply with quote
#2   re: CZ FORUMS ERROR
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
   
Double check your editing in that file.




_________________
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   
bowen
CZ Super Newbie
 Codezwiz Site Donator
bowen has been a member for over 20 year's 20 Year Member
Occupation: Network Admin
Gender: Male
Website:
Status: Offline
Joined: Mar 08, 2004
0.01 posts per day
Posts: 89
Points: 9,121
   
So you are saying that i need to check the functions_includes then ???



Back to top Reply with quote
#4   re: CZ FORUMS ERROR
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
   
I would start there see what the error line is. If it is in the Forums profile page then double check the includes/page_header. Be safe and double check it all it isnt an easy mod to install.




_________________
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
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