Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Infusion install'o kurimas

Parašė avice· 2012 Sau. 26 19:01:32
#1

Taigi bandau sukurt infusion'a ir užstrigau ties infusion.php kurimu.
Kažkodel idiegiant infusion'a nesukuria lenteliu.
Kodas:

 
<?php
.....
$inf_newtables = 3;
$inf_insertdbrows = 1;
$inf_altertables = 0;
$inf_deldbrows = 0;
 
$inf_newtable_[1] = "static_ad (
		ad_id smallint(5) unsigned NOT NULL auto_increment,
		ad_title varchar(200) NOT NULL default '',
		ad_alt varchar(200) NOT NULL default '',
		ad_src varchar(250) NOT NULL default '',
		ad_time varchar(200) NOT NULL default '',
		ad_clicks int(10) NOT NULL default '0',
		ad_on int(2) NOT NULL default '0',
		PRIMARY KEY (ad_id)
	) TYPE=MyISAM;";
 
$inf_newtable_[2] = "static_ad_settings (
		settings_name varchar(200) NOT NULL default '',
		settings_value varchar(200) NOT NULL default ''
	) TYPE=MyISAM;";
 
$inf_newtable_[3] = "static_ad_log (
		ad_log_id smallint(5) unsigned NOT NULL auto_increment,
		ad_log_sms varchar(200) NOT NULL default '',
		PRIMARY KEY (ad_log_id)
	) TYPE=MyISAM;";
 
$inf_insertdbrow_[1] = "static_ad_settings (settings_name, settings_value) VALUES ('max_click', '500'),('period', '30'),('sms_key', ''),('log_status', '1')";
 
 
 
$inf_droptable_[1] = "static_ad";
$inf_droptable_[2] = "static_ad_settings";
$inf_droptable_[3] = "static_ad_log";
?>

Infusion "tipo" isiraso , bet lenteliu nesukuria.
Pats klaidos nesugebu surast ;D