đừng điền thông số data vào file này

|
|
|
|
|
|
||
|
|
|



đừng điền thông số data vào file này

|
|
|
|
|
|
||
|
|
|



|
|
|
|
|
|
||
|
|
|



|
|
|
|
|
|
||
|
|
|



|
|
|
|
|
|
||
|
|
|



đa up file sql lên data forum
<?
#####################################
# vBHome Version 3.0 Extended #
# Code by chiplove.9xpro #
# Y!m: chiplove.9xpro #
# Update 12/9/2010 #
#####################################
define('FORUM', '/home/meovacin/domains/meovac.info/public_html/vBHome'); // up file test.php len forum roi chay de lay duong dan
if(!is_dir(FORUM)) die('The path to the directory forum is not defined correctly!');
include(FORUM . '/includes/config.php');
include(FORUM . '/includes/class_core.php');
include(FORUM . '/includes/functions.php');
include('class_mysql.php');
define('TABLE_PREFIX', $config['Database']['tableprefix']);
define('COOKIE_PREFIX', $config['Misc']['cookieprefix']);
define('VBHOME_PREFIX', '1vbhome_');
define('VBHOME_VERSION', 'vBHome 3.0 Extended');
define('template_main', 'main.html');
define('template_ajaxbox', 'ajaxbox.html');
$forum_url = 'http://meovac.info/diendan';
$db =& new Mysql;
$db->connect(
$config['MasterServer']['servername'],
$config['Database']['dbname'],
$config['MasterServer']['username'],
$config['MasterServer']['password']
);
if(THIS_SCRIPT != 'vbhome_install'){
$result = $db->query("
SELECT name, value FROM " . VBHOME_PREFIX . "config
" . ((defined(vbhome_musiclist)) ? "WHERE name = 'music_list'" : "") . "
");
while($r = $db->fetch_array($result)){
$$r['name'] = stripslashes($r['value']);
}
$description = $web_title . ' - ' . $keywords;
$showthread = $forum_url . '/showthread.php?t=';
$forumdisplay = $forum_url . '/forumdisplay.php?f=';
$db->free_result($result);
}
?>
nhưng vẫn hiện lỗi như vậy:Not the connect to database. Access denied for user 'meovacin'@'localhost' (using password: NO)
at query :
A xem file config sửa như nè đúng chưa
|
|
|
|
|
||
|
|
|



Cho mình hỏi mình dùng bản của chip giờ mình muốn bỏ hẳn cái cột Thủ Thuật luôn thì xóa chỗ nào,mình vào trong main.html xóa nhưng bị lỗi.Mình muốn hỏi thêm muốn chèn nhạc từ zing hay nhaccuatui thì làm sao,mong đc hướng dẫn sớm,cần lắm
|
|
|
|
|
||
|
|
|



|
|
|
|
|
|
||
|
|
|



|
|
|
|
|
||
|
|
|



Thậ ự rất cần sự giúp đỡ,các bạn ko giúp thì thui chứ
|
|
|
|
|
|
||
|
|
|



Có 1 người đang xem chủ đề. (0 thành viên và 1 khách)



