第 1 頁 (共 2 頁)
[求助]按教學更改後.找不到phpmyadmin(無法進入)
發表於 : 2003-05-07 10:20
由 biubiu
●架設主機作業系統:Win2000 SP3
●快速架站程式:Appserv v1.7.0
●phpBB2 版本:phpBB 2.0.2
●錯誤狀態:
我完全按照這個連結所說明的修改\r
http://phpbb-tw.net/phpbb/viewtopic.php?t=11455
改完後,
"http://xxxxx.adsldns.org"可以直接進入論壇畫面,
但是卻進不了phpMyAdmin Database Manager的設定畫面了.
直接打http://localhost,
也是直接進入論壇畫面.
請問如何叫出phpMyAdmin Database Manager的那個設定畫面呢?
(完全沒有跳出"輸入帳號密碼"的視窗)
感激不盡!
發表於 : 2003-05-07 10:40
由 Takkiworld
在"http://xxxxx.adsldns.org"之後打"/[phpMyAdmin的存放目錄]/"試試看.
發表於 : 2003-05-07 10:47
由 biubiu
謝謝您.
我的phpMyAdmin資料夾,
就放在預設的D:\AppServ\www\下面.
而我打
http://xxxxx.adsldns.org/phpMyAdmin/
或
http://xxxxx.adsldns.org/www/phpMyAdmin/
都會出現找不到網頁的訊息.
蠻奇怪的.....
發表於 : 2003-05-07 10:56
由 biubiu
截取部分檔案內容(config.inc.php),
請前輩幫我看看哪裡有錯誤?
感謝您!
============================================
/**
* Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*/
$cfgPmaAbsoluteUri = 'xxxxx.adsldns.org/phpMyAdmin/';
/**
* Server(s) configuration
*/
$i = 0;
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfgServers[$i]['host'] = 'localhost'; // MySQL hostname
$cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[$i]['controluser'] = '我的帳號'; // MySQL control user settings
// (this user must have read-only
$cfgServers[$i]['controlpass'] = '密碼'; // access to the "mysql/user"
// and "mysql/db" tables)
$cfgServers[$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfgServers[$i]['user'] = 'root'; // MySQL user
$cfgServers[$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfgServers[$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed
// at left frame
// It may also be an array
// of db-names
$cfgServers[$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[$i]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
$cfgServers[$i]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support
$cfgServers[$i]['relation'] = ''; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
$i++;
$cfgServers[$i]['host'] = '';
$cfgServers[$i]['port'] = '';
$cfgServers[$i]['socket'] = '';
$cfgServers[$i]['connect_type'] = 'tcp';
$cfgServers[$i]['controluser'] = '';
$cfgServers[$i]['controlpass'] = '';
$cfgServers[$i]['auth_type'] = 'config';
$cfgServers[$i]['user'] = 'root';
$cfgServers[$i]['password'] = '';
$cfgServers[$i]['only_db'] = '';
$cfgServers[$i]['verbose'] = '';
$cfgServers[$i]['bookmarkdb'] = '';
$cfgServers[$i]['bookmarktable'] = '';
$cfgServers[$i]['relation'] = '';
$i++;
$cfgServers[$i]['host'] = '';
$cfgServers[$i]['port'] = '';
$cfgServers[$i]['socket'] = '';
$cfgServers[$i]['connect_type'] = 'tcp';
$cfgServers[$i]['controluser'] = '';
$cfgServers[$i]['controlpass'] = '';
$cfgServers[$i]['auth_type'] = 'config';
$cfgServers[$i]['user'] = 'root';
$cfgServers[$i]['password'] = '';
$cfgServers[$i]['only_db'] = '';
$cfgServers[$i]['verbose'] = '';
$cfgServers[$i]['bookmarkdb'] = '';
$cfgServers[$i]['bookmarktable'] = '';
$cfgServers[$i]['relation'] = '';
// If you have more than one server configured, you can set $cfgServerDefault
// to any one of them to autoconnect to that server when phpMyAdmin is started,
// or set it to 0 to be given a list of servers without logging in
// If you have only one server configured, $cfgServerDefault *MUST* be
// set to that server.
$cfgServerDefault = 1; // Default server (0 = no default server)
$cfgServer = '';
unset($cfgServers[0]);
發表於 : 2003-05-07 11:00
由 Takkiworld
http://xxxxx.adsldns.org/phpMyAdmin
phpMyAdmin
紅字的必須與副檔名相同. 如果是phpMyAdmin2.0.5-rc, 你必須輸入相同的檔名.
你一定要把所有phpMyAdmin檔案放在一個檔案裡, 否則會出現你所說的問題.
另外, 如果輸入錯誤的副檔名都會出現同等的問題. 如是這樣, 請你查清楚副檔名名稱才輸入.
發表於 : 2003-05-07 11:15
由 Takkiworld
[php]<?php
============================================
/**
* Your phpMyAdmin url
*
* Complete the variable below with the full url ie
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*/
$cfgPmaAbsoluteUri = 'xxxxx.adsldns.org/phpMyAdmin/';
/**
* Server(s) configuration
*/
$i = 0;
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfgServers[$i]['host'] = 'localhost'; // MySQL hostname
$cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[$i]['controluser'] = '我的帳號'; // MySQL control user settings
// (this user must have read-only
$cfgServers[$i]['controlpass'] = '密碼'; // access to the "mysql/user"
// and "mysql/db" tables)
$cfgServers[$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfgServers[$i]['user'] = 'root'; // MySQL user
$cfgServers[$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfgServers[$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed
// at left frame
// It may also be an array
// of db-names
$cfgServers[$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[$i]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
$cfgServers[$i]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support
$cfgServers[$i]['relation'] = ''; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
.............................
?>[/php]
兩個問題:
1, 網址輸入錯誤. 你必須輸入正確的格式 (即 http://....../.../ )
2, 你必須要在適當位置輸入所有資料. 請瀏覽 Coolfreepage架站法作為參考. (你應該輸入錯誤.
發表於 : 2003-05-07 12:45
由 sojen
biubiu 寫:謝謝您.
我的phpMyAdmin資料夾,
就放在預設的D:\AppServ\www\下面.
更正...
我覺得有兩個問題...
1.phpMyAdmin資料夾應該是在appserv\www\底下....沒注意看...有兩個ppserv
2.apache原始路徑應該是c:...你設到d:.....
我也灌過d:...但是跑的時候怪怪的.....
我的原意是c:是工作碟...所以把apache移到d:
哪一天電腦出問題就可以還原...
灌到d:之後沒辦法跑...>.<
發表於 : 2003-05-07 13:02
由 biubiu
了解.謝謝兩位前輩的解說.
我想還是重灌好了.
幸好還沒什麼資料.
不過....
我安裝Appserv完成後,
phpMyAdmin預設就是位於"Appserv\www\"下面耶???
發表於 : 2003-05-07 14:35
由 biubiu
兩位前輩.
我已解決這個問題了.
似乎是Appserv版本的問題?
我重灌1.9.0版的Appserv之後,
問題即迎刃而解.
(包含改用wordpad替代notepad編輯)
而可以確定的是,
phpMyAdmin是要位於"Appserv\www\"下面.
thanks!
發表於 : 2003-05-07 14:38
由 william91
這可能是....但機會不大
發表於 : 2003-05-07 15:56
由 biubiu
不好意思......小弟還有一個問題.
想向前輩們請教:
我現在要連到論壇,
必須連
http://xxxxx.adsldns.org/phpbb203/ 才可以.
請問,
可以讓
http://xxxxx.adsldns.org/直接連到論壇畫面嗎?
要怎麼修改呢?
(之前Appserv 1.7.0修改完phpMyAdmin/config.inc.php後,
http://xxxxx.adsldns.org/就直接可以連了耶?????)
發表於 : 2003-05-07 16:03
由 Takkiworld
只要把所有檔案從PHPBB放置的位置移出來便可.
發表於 : 2003-05-07 16:08
由 william91
把"phpbb203"資料夾內的檔案放到"www"下就行了
發表於 : 2003-05-07 22:09
由 appleboy
這要去改http.conf
發表於 : 2003-05-07 22:19
由 小竹子
appleboy46 寫:這要去改http.conf
不需要
放個轉址的 INDEX.PHP 就可以了