您在這裡

從哪個文件修改資料庫路徑?

AACC88's 的頭像
AACC88 在 2008-11-02 (周日) 09:01 發表

從本機虛擬伺服器測試後,把drupal和資料庫上傳到正式伺服器上,通過哪個文件修改資料庫路徑?

謝謝回復。
我修改了settings.php中的以下代碼:
$db_url = 'pgsql://username:password@localhost/databasename';
打開網頁後首頁能出現,但下方出現:
Warning: openlog() has been disabled for security reasons in /data/apache/users/.../modules/syslog/syslog.module on line 76
Warning: syslog() has been disabled for security reasons in /data/apache/users/.../modules/syslog/syslog.module on line 79
Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (…) in /data/apache/users/.../includes/database.mysql.inc on line 128
登錄後進入自己虛擬服務器上的localhost頁面。不知應怎樣解決?