Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Infusion table

Parašė vilmantux· 2010 Rugp. 24 02:08:45
#1

Labas vakaras perdarinėdamas šita modifikacija http://www.phpfusion.lt/song-cha...lausa,m540 su siduriau su problema, man infusion.php failas nesukuria table, infusion failas cia va:

P.S moda perdarineju is v6 i v7

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (!defined("DB_CHARTS")) {
   define("DB_CHARTS", DB_PREFIX."charts");
}


if (file_exists(INFUSIONS."song_charts_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."song_charts_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."song_charts_panel/locale/Lithuanian.php";
}

// Infusion Information
$inf_title = $locale['title'];
$inf_description = $locale['desc'];
$inf_version = "3.0";
$inf_developer = "AJFire & zDon";
$inf_email = "ajfire@phptool.de / adziukas112@gmail.com";
$inf_weburl = "http://www.phptool.de / http://www.mes";

$inf_folder = "song_charts_panel";
$inf_admin_image = "";
$inf_admin_panel = "admin/index.php";



$inf_newtable[1] = DB_CHARTS." (
  id int(8) unsigned NOT NULL auto_increment,
  artist varchar(255) NOT NULL default '',
  title varchar(255) NOT NULL default '',
  daina varchar(255) NOT NULL default '',
  vote int(8) default '0',
  PRIMARY KEY  (id)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
";

$inf_droptable[1] = DB_CHARTS;

$inf_adminpanel[1] = array(
   "title" => "Dainu administravimas",
   "image" => "",
   "panel" => "admin/index.php",
   "rights" => "SCL"
);

$inf_sitelink[1] = array(
   "title" => "Dainu topas",
   "url" => "charts.php",
   "visibility" => "0"
);
   
?>




gal jus galite padėti nes klausiau all-infusion.lt ir http://www.phpfusion.lt taciau normalios pagalbos nesulaukiau, vienas zmogus man ten forume rase kad perdarytas ta moda bet taip jokiu ziniu is jo ir nesulaukiau gal jau apie 3 dienas jau ne daugiau.

Redagavo vilmantux· 2010 Rugp. 24 16:08:01