Re: Fatal error: _setConfig failed
Posted: Thu 18. Nov 2010, 21:49
Das wäre was, ja
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
Code: Select all
Array ( [Field] => f_id [Type] => int(11) [Null] => NO [Key] => PRI [Default] => [Extra] => auto_increment )
Array ( [Field] => f_pid [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_uid [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_kid [Type] => int(2) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_order [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_trash [Type] => int(1) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_aktiv [Type] => int(1) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_public [Type] => int(1) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_tstamp [Type] => timestamp [Null] => NO [Key] => [Default] => CURRENT_TIMESTAMP [Extra] => )
Array ( [Field] => f_name [Type] => varchar(255) [Null] => NO [Key] => MUL [Default] => [Extra] => )
Array ( [Field] => f_cat [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_created [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_changed [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_size [Type] => int(15) unsigned [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_type [Type] => varchar(200) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_ext [Type] => varchar(50) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_shortinfo [Type] => varchar(255) [Null] => NO [Key] => MUL [Default] => [Extra] => )
Array ( [Field] => f_longinfo [Type] => text [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_thumb_list [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_thumb_preview [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_keywords [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_hash [Type] => varchar(50) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_dlstart [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_dlfinal [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_refid [Type] => int(11) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_copyright [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_tags [Type] => varchar(255) [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_granted [Type] => int(11) [Null] => NO [Key] => MUL [Default] => 0 [Extra] => )
Array ( [Field] => f_gallerystatus [Type] => int(1) [Null] => NO [Key] => [Default] => 0 [Extra] => )
Array ( [Field] => f_vars [Type] => blob [Null] => NO [Key] => [Default] => [Extra] => )
Array ( [Field] => f_sort [Type] => int(11) [Null] => NO [Key] => MUL [Default] => 0 [Extra] => )
Code: Select all
$phpwcms['SESSION_FEinit'] = 0;
Code: Select all
www.example.com/include/inc_act/act_structure.php
Code: Select all
{STATUS_MESSAGE}{BE_PARSE_LANG} error while creating new article content: Unknown column 'acontent_tab' in 'field list'
Code: Select all
CREATE TABLE IF NOT EXISTS `phpwcms_log_seo` (
`id` int(11) NOT NULL auto_increment,
`create_date` timestamp NOT NULL,
`domain` varchar(255) NOT NULL DEFAULT '',
`query` varchar(255) NOT NULL DEFAULT '',
`pos` int(11) NOT NULL DEFAULT 0,
`referrer` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
ERROR: Duplicate column name 'article_menutitle' -> ALTER TABLE `phpwcms_article` ADD `article_menutitle` VARCHAR( 255 ) NOT NULL DEFAULT '';
ERROR: Duplicate column name 'cref_module' -> ALTER TABLE `phpwcms_crossreference` ADD `cref_module` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `cref_type`;
ALTER TABLE `phpwcms_crossreference` ADD INDEX ( `cref_module` );
ERROR: Duplicate column name 'f_sort' -> ALTER TABLE `phpwcms_file` ADD `f_sort` INT NOT NULL DEFAULT '0';
ALTER TABLE `phpwcms_file` ADD INDEX ( f_sort );
ERROR: Duplicate column name 'detail_regkey' -> ALTER TABLE `phpwcms_userdetail` ADD `detail_regkey` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `detail_id`;
ERROR: Duplicate column name 'detail_salutation' -> ALTER TABLE `phpwcms_userdetail` ADD `detail_salutation` VARCHAR( 255 ) NOT NULL DEFAULT '' AFTER `detail_title`;
ALTER TABLE `phpwcms_userdetail` ADD INDEX ( detail_regkey );
ERROR: Duplicate column name 'shopprod_track_view' -> ALTER TABLE `phpwcms_shop_products` ADD `shopprod_track_view` INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE `phpwcms_shop_products` ADD INDEX ( `shopprod_track_view` );
CREATE TABLE IF NOT EXISTS `phpwcms_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`log_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`log_type` varchar(50) NOT NULL DEFAULT '',
`log_ip` varchar(30) NOT NULL DEFAULT '',
`log_user_agent` varchar(255) NOT NULL,
`log_user_id` int(11) NOT NULL DEFAULT '0',
`log_user_name` varchar(255) NOT NULL,
`log_referrer_id` int(11) NOT NULL DEFAULT '0',
`log_referrer_url` text NOT NULL,
`log_data1` varchar(255) NOT NULL DEFAULT '',
`log_data2` varchar(255) NOT NULL DEFAULT '',
`log_data3` varchar(255) NOT NULL DEFAULT '',
`log_msg` text NOT NULL,
PRIMARY KEY (`log_id`),
KEY `log_referrer_id` (`log_referrer_id`),
KEY `log_type` (`log_type`)
) TYPE=MyISAM;
ALTER TABLE `phpwcms_calendar` CHANGE `calendar_refid` `calendar_refid` VARCHAR( 255 ) NOT NULL DEFAULT '';
Code: Select all
SHOW VARIABLES LIKE "%version%";
SHOW COLUMNS FROM phpwcms_sysvalue;
Code: Select all
SHOW VARIABLES LIKE "%version%";
Variable_name Value
protocol_version 10
version 5.1.41
version_comment Source distribution
version_compile_machine ia32
version_compile_os Win32
SHOW COLUMNS FROM phpwcms_sysvalue;
Field Type Null Key Default Extra
sysvalue_key varchar(255) NO PRI NULL
sysvalue_group varchar(255) NO MUL NULL
sysvalue_lastchange int(11) NO 0
sysvalue_status int(1) NO MUL 0
sysvalue_vartype varchar(255) NO
sysvalue_value mediumtext NO NULL
Code: Select all
CREATE TABLE IF NOT EXISTS `phpwcms_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`log_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`log_message` text COLLATE utf8_unicode_ci NOT NULL,
`log_ip` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_userid` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`log_id`)
Code: Select all
CREATE TABLE IF NOT EXISTS `phpwcms_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`log_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`log_type` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_ip` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_user_agent` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`log_user_id` int(11) NOT NULL DEFAULT '0',
`log_user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`log_referrer_id` int(11) NOT NULL DEFAULT '0',
`log_referrer_url` text COLLATE utf8_unicode_ci NOT NULL,
`log_data1` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_data2` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_data3` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`log_msg` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`log_id`),
KEY `log_referrer_id` (`log_referrer_id`),
KEY `log_type` (`log_type`)
Hierbei bin ich davon ausgegangen, daß ich die conf.inc.php aus der alten Version in die neue Installation kopieren soll (natürlich mit den entsprechenden Änderungen). Ich habe nun die conf.inc.php der neuen Installation verwendet und dort lediglich die alte (kopierte) Datenbank und das Unterverzeichnis eingetragen, danach das BE aufgerufen und mich eingeloggt. Nun funktioniert bisher alles und es werden keine Fehlermeldungen mehr ausgegeben.Die vorhandene conf.inc.php in die neue Installation kopieren und mit der dort vorhandenen dist.conf.inc.php abgleichen. Hier wird natürlich auch die neue DB eingetragen mit collation und charset und das Unterverzeichnis in dem das neue System gerade läuft.