1 頁 (共 1 頁)

[問題]安裝第一步就發生錯誤

發表於 : 2003-12-31 13:37
sonic325
●架設主機作業系統:Windows 2000 Server
●快速架站程式:appserv-win32-2.3.0.exe
●免費空間連結:
●您的上網方式:hinet ADSL
●您安裝的程式:用快速架站程式
●您的 phpBB2 版本:phpBB 2.0.6
●您的 domain(網域名稱) :還沒有
●您的 phpBB2 連結網址: http://61.218.159.43/
●錯誤代碼:

●錯誤狀態:phpBB : Critical Error

Could not connect to the database

我安裝之後先新增資料庫->安裝PHPBB2->中文化,然後執行PHPBB的安裝,在打完資料按開始安裝之後就出現這兩行(密碼和帳號都沒有問題),我有多次移除所有系統再重新安裝,但每次都這樣....請各位大大幫忙一下,謝謝!

發表於 : 2003-12-31 13:44
sonic325
第一個找到的問題是MYSQL選錯版本,但是後來選了4.X的版本後,開始安裝出現了下列錯誤
Warning: mysql_connect(): Access denied for user: 'andrew@localhost' (Using password: YES) in c:\appserv\www\phpbb2\db\mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in c:\appserv\www\phpbb2\db\mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in c:\appserv\www\phpbb2\db\mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database

發表於 : 2003-12-31 13:56
吉川拓也
你要不要先確定你 phpmyadmin 有沒有設定帳號密碼 ..
重新開啟電腦後順便開啟 config.php 作設定看看 !!

發表於 : 2003-12-31 14:04
sonic325
config.php裡面是空白,能告訴我那個步驟錯了嗎?謝謝!

發表於 : 2003-12-31 14:10
sonic325
果然沒有密碼,我在安裝PHPBB2時資料庫不設密碼就可以通過,但是開始安裝後又出了這個錯\r
Please ensure both the install/ and contrib/ directories are deleted
而且以後進login.php 都出現這個訊息

發表於 : 2003-12-31 14:16
吉川拓也
sonic325 寫:果然沒有密碼,我在安裝PHPBB2時資料庫不設密碼就可以通過,但是開始安裝後又出了這個錯\r
Please ensure both the install/ and contrib/ directories are deleted
而且以後進login.php 都出現這個訊息
[php]<?php
Please ensure both the install/ and contrib/ directories are deleted
?>[/php]

要有點基本英文概念喔 ...請把 install 和 contrib 這兩個(具爭議)的資料夾刪除

發表於 : 2003-12-31 14:18
mit
那不是錯誤訊息。
那是提醒你該查字典了.... :mrgreen:

發表於 : 2003-12-31 14:27
sonic325
謝謝各位大大,一急就忽略了手邊的字典,感謝!