banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành Windows Config vbulletin 3.6 thế nào đây?  XML
  [Question]   Config vbulletin 3.6 thế nào đây? 17/12/2006 05:51:49 (+0700) | #1 | 30899
[Avatar]
VMware
Member

[Minus]    0    [Plus]
Joined: 26/06/2006 19:00:36
Messages: 71
Location: Desktops
Offline
[Profile] [PM]
Code:
Warning: vB_Registry::include(C:\AppServ\www\vBulletin/includes/config.php) [function.vB-Registry-include]: failed to open stream: No such file or directory in C:\AppServ\www\vBulletin\includes\class_core.php on line 2358

Warning: vB_Registry::include() [function.include]: Failed opening 'C:\AppServ\www\vBulletin/includes/config.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\vBulletin\includes\class_core.php on line 2358


Configuration: includes/config.php does not exist. Please fill out the data in config.php.new and rename it to config.php


Tôi mới setup vbulletin trên localhost lần đầu, mong các bạn chỉ giùm cái lỗi này. Thanks

[Up] [Print Copy]
  [Question]   Cònig vbulletin 3.6 thế nào đây? 17/12/2006 05:57:21 (+0700) | #2 | 30901
[Avatar]
learn2hack
Elite Member

[Minus]    0    [Plus]
Joined: 29/06/2006 16:32:37
Messages: 825
Offline
[Profile] [PM] [WWW]
Nó báo là file config.php không tồn tại. Hãy điền dữ liệu vào trong file config.php.new sau đó đổi tên nó thành config.php.
Blog: http://hontap.blogspot.com
Tải phần mềm miễn phí: http://www.taiphanmem.org
[Up] [Print Copy]
  [Question]   Re:Cònig vbulletin 3.6 thế nào đây? 17/12/2006 06:00:09 (+0700) | #3 | 30902
[Avatar]
VMware
Member

[Minus]    0    [Plus]
Joined: 26/06/2006 19:00:36
Messages: 71
Location: Desktops
Offline
[Profile] [PM]
Làm sao đọc file config.php.new? tui sửa nó thành config.php rùi sau đó sửa code data -->lỗi đó :cry: Mà có phải import file nào vào phpmyadmin ko? tui mới chỉ tạo trong phpmyadmin database là vbulletin
[Up] [Print Copy]
  [Question]   Re: Config vbulletin 3.6 thế nào đây? 17/12/2006 09:27:20 (+0700) | #4 | 30920
[Avatar]
havythoai
HVA Friend

Joined: 05/04/2004 22:59:39
Messages: 562
Offline
[Profile] [PM] [WWW]
bạn điền thông tin trong file. config.php thế nào. Có thể đưa lên đây ko
[Up] [Print Copy]
  [Question]   Re:Config vbulletin 3.6 thế nào đây? 17/12/2006 12:46:36 (+0700) | #5 | 30951
[Avatar]
VMware
Member

[Minus]    0    [Plus]
Joined: 26/06/2006 19:00:36
Messages: 71
Location: Desktops
Offline
[Profile] [PM]
Code:
//	****** DATABASE TYPE ******
	//	This is the type of the database server on which your vBulletin database will be located.
	//	Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$config['Database']['dbtype'] = 'mysql';

	//	****** DATABASE NAME ******
	//	This is the name of the database where your vBulletin will be located.
	//	This must be created by your webhost.
$config['Database']['dbname'] = 'vbulletin';

	//	****** TABLE PREFIX ******
	//	Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';

	//	****** TECHNICAL EMAIL ADDRESS ******
	//	If any database errors occur, they will be emailed to the address specified here.
	//	Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'dbmaster@example.com';

	//	****** FORCE EMPTY SQL MODE ******
	// New versions of MySQL (4.1+) have introduced some behaviors that are
	// incompatible with vBulletin. Setting this value to "true" disables those
	// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = true;



	//	****** MASTER DATABASE SERVER NAME AND PORT ******
	//	This is the hostname or IP address and port of the database server.
	//	If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

	//	****** MASTER DATABASE USERNAME & PASSWORD ******
	//	This is the username and password you use to access MySQL.
	//	These must be obtained through your webhost.
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = 'xxx';

	//	****** MASTER DATABASE PERSISTENT CONNECTIONS ******
	//	This option allows you to turn persistent connections to MySQL on or off.
	//	The difference in performance is negligible for all but the largest boards.
	//	If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;



	//	****** SLAVE DATABASE CONFIGURATION ******
	//	If you have multiple database backends, this is the information for your slave
	//	server. If you are not 100% sure you need to fill in this information,
	//	do not change any of the values here.
$config['SlaveServer']['servername'] = 'localhost';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = 'admin';
$config['SlaveServer']['password'] = 'xxx';
$config['SlaveServer']['usepconnect'] = 0;


C:\AppServ\www\vBulletin
$db vBulletin
http://localhost/vbulletin/

error: Lỗi mới khác ban đầu là

Code:
Database error
The database has encountered a problem.
Please try the following:

    * Load the page again by clicking the Refresh button in your web browser.
    * Open the localhost home page, then try to open another page.
    * Click the Back button to try another link.

The localhost forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.


[Up] [Print Copy]
  [Question]   Config vbulletin 3.6 thế nào đây? 17/12/2006 13:37:57 (+0700) | #6 | 30962
[Avatar]
VMware
Member

[Minus]    0    [Plus]
Joined: 26/06/2006 19:00:36
Messages: 71
Location: Desktops
Offline
[Profile] [PM]
Hic tui mới chỉ creat 1 database tên là vbulletin trong phpmyadmin thui, ko biết còn phải sửa code file nào hay import cái gì nữa ko?

Đông người Online vậy mà ko ai giúp tui smilie(


[Up] [Print Copy]
  [Question]   Re: Config vbulletin 3.6 thế nào đây? 17/12/2006 14:00:01 (+0700) | #7 | 30972
BuRaTiNoVnO
Elite Member

[Minus]    0    [Plus]
Joined: 18/06/2005 11:26:40
Messages: 62
Offline
[Profile] [PM]
Nhầm chuồng smilie
[Up] [Print Copy]
  [Question]   Re:Config vbulletin 3.6 thế nào đây? 17/12/2006 15:27:31 (+0700) | #8 | 30988
[Avatar]
VMware
Member

[Minus]    0    [Plus]
Joined: 26/06/2006 19:00:36
Messages: 71
Location: Desktops
Offline
[Profile] [PM]
Đơn giản quá smilie) Thanks mọi người
[Up] [Print Copy]
  [Question]   Config vbulletin 3.6 thế nào đây? 20/12/2006 07:17:32 (+0700) | #9 | 31471
[Avatar]
SuperChicken
Elite Member

[Minus]    0    [Plus]
Joined: 11/07/2006 18:31:27
Messages: 635
Location: bottom of hell
Offline
[Profile] [PM]
Ọc, 2 bài cuối là ý gì vậy, đọc ko hiểu gì lun???
Còn lỗi trên theo tui nghĩ là do chưa install thôi, chứ file config thì có vẻ đúng rồi mà.
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|