Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved]Error When i create the forum
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]Error When i create the forum
PostPosted: 07/29/2007 4:02 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 8:25 AM
Location: Klang, Malaysia
malaysiC.gif
Hi , i want create a new forum on Management, but when i click sumit ,it got a error msg as like below.

Code:
General Error
Couldn't insert row in forums table

DEBUG MODE

SQL Error : 1136 Column count doesn't match value count at row 1

INSERT INTO phpbb_forums (forum_id, forum_name, cat_id, forum_parent, forum_desc, forum_order, forum_status, allow_bump, bump_time, bump_time_period, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments, auth_download) VALUES ('103', 'phpbb Support ', 24, 0, 'Tech support for phpbb', 10, 0, 1, 0, 4, 0, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 0)

Line : 551
File : admin_forums.php


Last edited by masteranu84 on 07/29/2007 6:45 AM; edited 1 time in total
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Error When i create the forum
PostPosted: 07/29/2007 6:14 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:25 AM
Location: St Pete, FL
peace.gif
This was caused by a flaw in the Specify topic bumping MOD.  The MOD author failed to include some code for a SQL query.  So this is what I did to correct the problem:

OPEN
admin/admin_forums.php

FIND
Code:
$sql = "INSERT INTO " . FORUMS_TABLE

IN-LINE FIND
Code:
$field_sql . "

IN-LINE AFTER, ADD
Code:
, bump_topics

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Error When i create the forum
PostPosted: 07/29/2007 6:44 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 8:25 AM
Location: Klang, Malaysia
malaysiC.gif
huh, you has fix it for me? Thanks~~ I still follow the step and want to add the code..but i seen it already added, Thanks so much !!! I think this is the SQL problem just now.. Embarassed
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: [Solved]Error When i create the forum
PostPosted: 07/30/2007 9:50 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:25 AM
Location: St Pete, FL
peace.gif
Yes, I fixed it.  I just wanted you to know what needed to be done.  It wouldn't have made sense for me to do all that research to figure out what the MOD author forgot to include in his MOD, then leave it unfixed...

banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0504s (PHP: 78% - SQL: 22%) - SQL queries: 39 - GZIP disabled - Debug on