Topic: Unable to Fetch Subscription info.
On replying to an existing post, debug mode reveals the following"-
File: /home/virtual/site133/fst/var/www/html/lmforum/post.php
Line: 218PunBB reported: Unable to fetch subscription info
Database reported: Table 'melenie_lm.bans' doesn't exist (Errno: 1146)
I did have to do a re-import of my dbase the other day, after installing a mod that had a few things wrong with it. It appears the restore did not go too well.
Point me in the right direction ?
Edit - ok, so I restored the backup again with phpmyadmin, and got this message, pointing to the fact that it cannot import the ban table - do I manually insert it ? I would have tried this already, but the values required are confusing
Error
SQL query:
CREATE TABLE `bans` (
`id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT ,
`username` varchar( 200 ) default NULL ,
`ip` varchar( 255 ) default NULL ,
`email` varchar( 50 ) default NULL ,
`message` varchar( 255 ) default NULL ,
`expire` int( 10 ) unsigned default NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM AUTO_INCREMENT =10 DEFAULT CHARSET = latin1--
-- Table data for bans
--
INSERT INTO bans
VALUES (
'1', 'cecilianewman', '', 'cecilianewman@adsense4u.org', 'Fuck off and spam elsewhere', ''
);MySQL said: Documentation
#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 'INSERT INTO bans VALUES ('1', 'cecilianewman', '', 'cecilianewman@adsense4u.org'' at line 12
Further, looking at the .sql file in notepad, it looks identical to past backups.
--
-- Table structure for bans
--DROP TABLE IF EXISTS `bans`;
CREATE TABLE `bans` (
`id` int(10) unsigned NOT NULL auto_increment,
`username` varchar(200) default NULL,
`ip` varchar(255) default NULL,
`email` varchar(50) default NULL,
`message` varchar(255) default NULL,
`expire` int(10) unsigned default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1--
-- Table data for bans
--INSERT INTO bans VALUES ('1', 'cecilianewman', '', 'cecilianewman@adsense4u.org', 'Fuck off and spam elsewhere', '');
INSERT INTO bans VALUES ('2', 'BerbasOnlien', '', '*@uganska.net', 'Fuck you spammer', '');
INSERT INTO bans VALUES ('3', 'Sakoviopka', '', 'zkpsyzssypks@itua.info', '', '');
INSERT INTO bans VALUES ('4', '', '', '*@itua.info', '', '');
INSERT INTO bans VALUES ('5', 'TurningOntoTamarron', '71.75.243.219', 'rapingkeither@gmail.com', 'Go post on myspace, unfunny gimmick', '');
INSERT INTO bans VALUES ('6', 'DrivinDelberry', '67.159.44.138', 'byefather@gmail.com', '', '');
INSERT INTO bans VALUES ('7', 'CruisinCastlebay', '', 'torturetheartist@gmail.com', '', '');
INSERT INTO bans VALUES ('8', 'DrivinDelberry', '67.159.44.138', 'byefather@gmail.com', '', '');
INSERT INTO bans VALUES ('9', 'CruisinCastlebay', '68.222.188.228', 'torturetheartist@gmail.com', '', '');