Error trying to moderate forum

  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 trying to moderate forum
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
When I try to moderate in my forums by clicking on the "you can moderate this forum" link at the bottom I get the following error:

Parse error: parse error, unexpected T_FOR in /modules/Forums/modcp.php on line 527

So I went to that file and checked out line 527 and found:

524 $row = $db->sql_fetchrowset($result);
525 $db->sql_freeresult($result);
526 mycal_move_event($new_forum_id, $topic_list, isset($HTTP_POST_VARS['move_leave_shadow']))
527 for($i = 0; $i < count($row); $i++)


TIA! icon_mrgreen.gif




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#2   re: Error trying to moderate forum
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Ah...the wonderful pepcac error! Problem exists between computer and chair! Looks like I needed a semi-colon after line 526. Typing out your problems publically helps sometimes...lol.

It should be like this:

524 $row = $db->sql_fetchrowset($result);
525 $db->sql_freeresult($result);
526 mycal_move_event($new_forum_id, $topic_list, isset($HTTP_POST_VARS['move_leave_shadow'])) ;
527 for($i = 0; $i < count($row); $i++)

I must have deleted it while tweaking some code...

Everything is working now...




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
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