NeilUK wrote:I have the "invalid form" error but I am getting in the proSilver style. I have uploaded the new style files from the full package. In fact I used the full package option for upgrading RC5 to RC6, deleting all files first and then copying back the config file and then using database_update file. SubSilver works fine (apart from strangely telling me I have an unread PM when the inbox and outboxes are empty!)
But proSilver just won't have it, I used the SQL command mentioned earlier that clears the cache but no luck
Any Ideas?
Just quoting myself just in case someone hasn't seen this problem but knows the solution.The_Descendant wrote:Last night I updated my RC5 to RC6, now everything worked perfectly. However, I was having the Administrator problem, so I followed Highway of Life's thing directly, BUT actually deleted the files straight from the database in PHPmyadmin. Ya know the Template_id and things? Well, I deleted those, anyway I can get them back?I feel really, REALLY stupid now. And now I'm getting this:
P.S. I have not made a backup. ;-;SQL ERROR [ mysql4 ]
Unknown column 't.template_id' in 'field list' [1054]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Code: Select all
DROP TABLE IF EXISTS `phpbb3_styles_template`;
CREATE TABLE IF NOT EXISTS `phpbb_styles_template` (
`template_id` smallint(4) unsigned NOT NULL auto_increment,
`template_name` varchar(255) collate utf8_bin NOT NULL default '',
`template_copyright` varchar(255) collate utf8_bin NOT NULL default '',
`template_path` varchar(100) collate utf8_bin NOT NULL default '',
`bbcode_bitfield` varchar(255) collate utf8_bin NOT NULL default 'kNg=',
`template_storedb` tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (`template_id`),
UNIQUE KEY `tmplte_nm` (`template_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=3 ;
INSERT INTO `phpbb_styles_template` (`template_id`, `template_name`, `template_copyright`, `template_path`, `bbcode_bitfield`, `template_storedb`) VALUES
(1, 0x70726f73696c766572, 0xc2a92070687042422047726f7570, 0x70726f73696c766572, 0x6c4e673d, 1);
DROP TABLE IF EXISTS `phpbb_styles_template_data`;
CREATE TABLE IF NOT EXISTS `phpbb3_styles_template_data` (
`template_id` smallint(4) unsigned NOT NULL default '0',
`template_filename` varchar(100) collate utf8_bin NOT NULL default '',
`template_included` text collate utf8_bin NOT NULL,
`template_mtime` int(11) unsigned NOT NULL default '0',
`template_data` mediumtext collate utf8_bin NOT NULL,
KEY `tid` (`template_id`),
KEY `tfn` (`template_filename`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
Now what do I do?
SQL query:
INSERT INTO `phpbb_styles_template` ( `template_id` , `template_name` , `template_copyright` , `template_path` , `bbcode_bitfield` , `template_storedb` )
VALUES ( 1, 0x70726f73696c766572, 0xc2a92070687042422047726f7570, 0x70726f73696c766572, 0x6c4e673d, 1 ) ;
MySQL said: Documentation
#1054 - Unknown column 'template_id' in 'field list'