Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
arclight
New Member
New Member



Joined: Jun 26, 2006
Posts: 7

PostPosted: Tue Jun 27, 2006 9:55 am Reply with quote

I recently had to restore my nuke_bb tables after an exploit and the hackers messed with nuke_bbconfig. Everything else on my phpnuke installation is working as it did normally now, except for the ability to post on the forums. Now my users cannot post because the following error comes up:

"Error in posting

DEBUG MODE

SQL Error : 1062 Duplicate entry '0' for key 1

INSERT INTO nuke_bbposts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies, enable_sig) VALUES (4067, 1, 11, '', 1151423477, '46f78801', 1, 1, 1, 0)

Line : 241
File : functions_post.php"

I tried doing a repair on the nuke_bbposts table from phpmyadmin but that didnt work. Any suggestions appreciated. Thanks.

Paul
 
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Tue Jun 27, 2006 10:02 am Reply with quote

Can you post the table structure for me please.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
arclight







PostPosted: Tue Jun 27, 2006 10:30 am Reply with quote

--
-- Table structure for table `nuke_bbposts`
--

DROP TABLE IF EXISTS `nuke_bbposts`;
CREATE TABLE `nuke_bbposts` (
`post_id` mediumint(Cool unsigned NOT NULL default '0',
`topic_id` mediumint(Cool unsigned NOT NULL default '0',
`forum_id` smallint(5) unsigned NOT NULL default '0',
`poster_id` mediumint(Cool NOT NULL default '0',
`post_time` int(11) NOT NULL default '0',
`poster_ip` varchar(Cool NOT NULL default '',
`post_username` varchar(25) default NULL,
`enable_bbcode` tinyint(1) NOT NULL default '1',
`enable_html` tinyint(1) NOT NULL default '0',
`enable_smilies` tinyint(1) NOT NULL default '1',
`enable_sig` tinyint(1) NOT NULL default '1',
`post_edit_time` int(11) default NULL,
`post_edit_count` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`post_id`),
KEY `forum_id` (`forum_id`),
KEY `topic_id` (`topic_id`),
KEY `poster_id` (`poster_id`),
KEY `post_time` (`post_time`)
) TYPE=MyISAM;
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©