fpcode問題
剛安裝fpcode在host上,設定(config.inc.php)無誤,
但有2個問題:
1-區域中全變亂碼:Mac ??
2-無法發新聞!
config.ini.php於下:
$fpconfig["dbhost"] = "localhost"; // The host name of the MySQL server.
// Usually it's 'localhost' if MySQL is on the same server as
// Apache web server.
$fpconfig["dbuname"] = "revo2c_hk2c"; // Name used to login MySQL DB
$fpconfig["dbpass"] = "********"; // MySQL password
$fpconfig["dbname"] = "revo2c_hk2c"; // Name of the database. Unless you changed the SQL file, the value should be 'fpcode'
$fpconfig["server_address"] = "hk2c.coms.hk"; //the web server url (or ip address)
$fpconfig["root_path"] = "/home/revo2c/domains/hk2c.coms.hk/public_html/"; // File path to the fpcode directory.
$fpconfig["htdoc_root"] = "/"; // http doc path to the fpcode directory.
$fpconfig["bg_img"] = ""; // Name of the background image for the header table
$fpconfig["banner_img"] = "fpcodelogo.gif"; // Name of the site logo image file
$fpconfig["site_bgcolor"] = "#FFFFFF"; // Background color of the site
$fpconfig["site_name"] = "*~Hk2C~*"; // Text string for the title of the window.
$fpconfig["admin_email"] = "mail@hk2c.coms.hk"; // Put the editor's email address here
$fpconfig["cc_email"] = ""; // If you want other person to get notified also, put the email address here.
$fpconfig["bcc_email"] = ""; // email address put in here will also be notified, but the address will not
// show up in the to: list.
$fpconfig["anon_author_id"] = 1; // This vaule has to match up what is set up in the sql file.
// If you don't know what that means, DON'T CHANGE THIS.
$fpconfig["anon_author_name"] = "佚名"; // This is the name will be used for anonymouse postings
$fpconfig["dummy_passwd"] = "1234"; // The password field is unused in v0.9
$fpconfig["time_diff"] = 0; // Time zone diffence in hours. Set it to 0
// if the server is in the same time zone as
// where your target audience live.
$fpconfig["quickies_title"] = "新聞焦點"; // Name displayed in the news links table.
$fpconfig["swl_title"] = "軟體連結"; // Name displayed in the software links table.
$fpconfig["reports_title"] = "特別報導"; // Name displayed in the report links table.
$fpconfig["sites_title"] = "網站連結"; // Name displayed in the web site links table.
$fpconfig["quickies_max"] = 10; // Maximum display length for news links box.
$fpconfig["sofware_links_max"] = 10; // Maximum display length for software links box.
$fpconfig["reports_max"] = 10; // Maximum display length for reports box.
$fpconfig["sites_max"] = 10; // Maximum display length for reports box.
$fpconfig["summary_max"] = 10; // Maximum display length for news summary.
$fpconfig["ubb_support"] = 0; // Set it to one if you have ubb running.
$fpconfig["ubb_uri"] = "http://your_ubb_site/cgi-bin/ultimatebb.cgi?ubb=get_topic&"; // URI to threads. Just change the 'your_ubb_site' part.
$fpconfig["ubb_home"] = "http://your_ubb_site/cgi-bin/ultimatebb.cgi"; // Home page URL for UBB. Just change the 'your_ubb_site' part.
$fpconfig["sendmail_support"] = 1; // Set it to one if you have sendmail server running.
1-數據庫名字--在mysql中為revo2c_hk2c,這裡應為fpcode?
2-我以/home/revo2c/domains/hk2c.coms.hk/public_html/放入fpcode file.
在$fpconfig["root_path"]和$fpconfig["htcdoc_path"]設定中有誤嗎?
fpcode問題
版主: bryanchang、digdog、謝孟叡
- bryanchang
- 討論區管理員
- 文章: 7057
- 註冊時間: 04/19/2001 1:01 am
- 來自: The '60s
- 聯繫: