Seite 1 von 1

SmiX.MODs Feed News Center

Verfasst: 03.05.2013 08:43
von treumer
habe ein kleines Problem mit dem mod SmiX.MODs Feed News Center 040 .Ich habe ausversehen die datenbank gelöscht von dem mod jetzt weis ich nicht mehr wie ich die datenbank wieder hinbekomme kann mir da jemand helfen in der install.php steht drin

Code: Alles auswählen

// INSTALL latest version
	// If you have problems with this install script, insert this into db manually
	$sql_array = array(
		'DROP TABLE IF EXISTS ' . SFNC_FEEDS,
		'CREATE TABLE ' . SFNC_FEEDS . ' (
			id int(11) NOT NULL AUTO_INCREMENT,
			feed_name varchar(255) NOT NULL DEFAULT \'\',
			url varchar(255) NOT NULL DEFAULT \'\',
			feed_type varchar(10) NOT NULL DEFAULT \'\',
			next_update varchar(10) NOT NULL DEFAULT \'0\',
			last_update int(10) NOT NULL DEFAULT \'0\',
			available_feed_attributes varchar(255) NOT NULL DEFAULT \'\',
			available_item_attributes varchar(255) NOT NULL DEFAULT \'\',
			encoding varchar(255) NOT NULL DEFAULT \'\',
			refresh_after varchar(5) COLLATE utf8_bin NOT NULL DEFAULT \'3600\',
			template_for_displaying varchar(255) NOT NULL DEFAULT \'\',
			template_for_posting varchar(255) NOT NULL DEFAULT \'\',
			poster_id int(5) NOT NULL DEFAULT \'0\',
			poster_forum_destination_id int(5) NOT NULL DEFAULT \'0\',
			poster_topic_destination_id int(5) NOT NULL DEFAULT \'0\',
			posting_limit int(2) NOT NULL DEFAULT \'1\',
			enabled_posting int(1) NOT NULL DEFAULT \'0\',
			enabled_displaying int(1) NOT NULL DEFAULT \'0\',
			PRIMARY KEY (id)
		);',
		// I've decided to skip the default feed, because the settings can be faulty on not vanilla boards ...
//		'INSERT INTO ' . SFNC_FEEDS . ' (id, feed_name, url, feed_type, next_update, last_update, available_feed_attributes, available_item_attributes, encoding, refresh_after, template_for_displaying, template_for_posting, poster_id, poster_forum_destination_id, poster_topic_destination_id, posting_limit, enabled_posting, enabled_displaying) VALUES (NULL, \'phpBB.com\', \'http://www.phpbb.com/community/feed.php?mode=news\', \'atom\', \'0\', \'0\', \'\', \'\', \'utf-8\', \'7200\', \'\', \'\', \'2\', \'2\', \'0\', \'5\', \'1\', \'0\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_download_function\', \''.$default_function.'\', \'0\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_cron_init\', \'0\', \'1\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_cron_posting\', \'0\', \'1\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_index_init\', \'0\', \'1\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_index_posting\', \'0\', \'1\');',
		'INSERT INTO ' . CONFIG_TABLE . ' VALUES (\'sfnc_version\', \'' . $version . '\', \'0\');',
	);
}
aber leider weis ich nicht wie ich das umschreiben muss damit es die datebank erfasst

oder vielleicht hat jemand die atenbank und kann sie mir geben währe sehr nett :grin: :grin:

Re: SmiX.MODs Feed News Center

Verfasst: 03.05.2013 09:08
von Gast234254
Falls du noch die mod Dateien hast, lade den ordner contrib erneut auf deinen Server und führe /contrib/install.php aus. Oder du aktualisierst den Mod auf die neueste Version 0.4.0c.

Re: SmiX.MODs Feed News Center

Verfasst: 03.05.2013 09:11
von treumer
habe ich schon alles versucht

dann kommt immer This version is already installed also alles klar dann gehe ich ins acp stelle es ein dann kommt Table 'tempel.phpbb_sfnc_feeds' doesn't exist [1146] also datenbank fehlt