Seite 2 von 2

Verfasst: 19.05.2007 12:10
von Boecki91
Genau das meint er

also immer das eine b zu viel wegmachen:

Code: Alles auswählen

CREATE TABLE `phpb_captcha_config` ( 
`config_name` varchar(255) NOT NULL default '', 
`config_value` varchar(100) NOT NULL default '', 
PRIMARY KEY (`config_name`) 
) TYPE=MyISAM; 

INSERT INTO `phpb_captcha_config` VALUES ('width', '350'); 
INSERT INTO `phpb_captcha_config` VALUES ('height', '90'); 
INSERT INTO `phpb_captcha_config` VALUES ('exsample_code', 'SAMPLE'); 
INSERT INTO `phpb_captcha_config` VALUES ('background_color', '#E5ECF9'); 
INSERT INTO `phpb_captcha_config` VALUES ('jpeg', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('jpeg_quality', '50'); 
INSERT INTO `phpb_captcha_config` VALUES ('pre_letters', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('pre_letters_great', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('font', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('trans_letters', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('chess', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('ellipses', '1'); 
INSERT INTO `phpb_captcha_config` VALUES ('arcs', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('lines', '1'); 
INSERT INTO `phpb_captcha_config` VALUES ('image', '0'); 
INSERT INTO `phpb_captcha_config` VALUES ('bg_transition', '25'); 
INSERT INTO `phpb_captcha_config` VALUES ('gammacorrect', '0.8'); 
INSERT INTO `phpb_captcha_config` VALUES ('foreground_lattice_x', '15'); 
INSERT INTO `phpb_captcha_config` VALUES ('foreground_lattice_y', '15'); 
INSERT INTO `phpb_captcha_config` VALUES ('lattice_color', '#FFFFFF'); 
INSERT INTO `phpb_captcha_config` VALUES ('avc_version', '1.2.0'); 

ALTER TABLE `phpb_confirm` CHANGE `code` `code` CHAR(10) NOT NULL; 

Verfasst: 19.05.2007 18:03
von michimunk
Aha! Werd das morgen früh mal probieren.
Hab aber den selben code bei dem anderen Forum benutzt und da hat er funktioniert.
Hier der Code:

Code: Alles auswählen

CREATE TABLE `phpbb_captcha_config` (
  `config_name` varchar(255) NOT NULL default '',
  `config_value` varchar(100) NOT NULL default '',
  PRIMARY KEY  (`config_name`)
) TYPE=MyISAM;

INSERT INTO `phpbb_captcha_config` VALUES ('width', '350');
INSERT INTO `phpbb_captcha_config` VALUES ('height', '90');
INSERT INTO `phpbb_captcha_config` VALUES ('exsample_code', 'SAMPLE');
INSERT INTO `phpbb_captcha_config` VALUES ('background_color', '#E5ECF9');
INSERT INTO `phpbb_captcha_config` VALUES ('jpeg', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('jpeg_quality', '50');
INSERT INTO `phpbb_captcha_config` VALUES ('pre_letters', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('pre_letters_great', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('font', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('trans_letters', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('chess', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('ellipses', '1');
INSERT INTO `phpbb_captcha_config` VALUES ('arcs', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('lines', '1');
INSERT INTO `phpbb_captcha_config` VALUES ('image', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('bg_transition', '25');
INSERT INTO `phpbb_captcha_config` VALUES ('gammacorrect', '0.8');
INSERT INTO `phpbb_captcha_config` VALUES ('foreground_lattice_x', '15');
INSERT INTO `phpbb_captcha_config` VALUES ('foreground_lattice_y', '15');
INSERT INTO `phpbb_captcha_config` VALUES ('lattice_color', '#FFFFFF');
INSERT INTO `phpbb_captcha_config` VALUES ('avc_version', '1.2.0');

ALTER TABLE `phpbb_confirm` CHANGE `code` `code` CHAR(10) NOT NULL;

Verfasst: 19.05.2007 18:05
von Michael Zacher
Die Eingabe unterscheidet sich ja auch kaum.
Nur das Du bei einem Board den Prefix phpb_ hast und bei dem anderen scheinbar phpbb_.
Demzufolge musste es ja bei dem anderen klappen. ;)

Verfasst: 20.05.2007 08:52
von michimunk
Super!!!!!!!!!
Vielen Dank, hat funktioniert!
Da wär ich nie drauf gekommen.