歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 24, 2024, 11:28:40 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  plog 1.0的安裝問題(02/25) « 上篇主題 下篇主題 »
頁: [1]
作者 主題: plog 1.0的安裝問題(02/25)  (閱讀 14814 次)
charlesc
新手見習
*
文章: 30


檢視個人資料 個人網站
« 於: 三月 01, 2005, 09:12:47 上午 »

我在兩個不同的server安裝,都有同樣的問題。

1. wizard.php無法正常載入template
Exception message: stat failed for /header.template (errno=2 - No such file or directory)
Error code: 2
Stack trace is not available

Exception message: Smarty error: unable to read resource: "/header.template"
Error code: 512
Stack trace is not available

2. wizard.php停在顯示Database Info的步驟,只有"next"的按鈕,回不去上一頁。

3. 只能產生四個資料表,其他殘念@@

New table Map of categories to articles created successfully.
New table Definition of custom fields created successfully.
New table Custom fields that have been assigned to articles created successfully.
New table Text of the articles created successfully.
** New tables created successfully **

Error modifying table Articles: Table 'plogdb10.plog_articles' doesn't exist
Error modifying table Article Categories: Table 'plogdb10.plog_articles_categories' doesn't exist
Error modifying table User Comments: Table 'plogdb10.plog_articles_comments' doesn't exist
Error modifying table Notifications: Table 'plogdb10.plog_articles_notifications' doesn't exist
Error modifying table Blogs: Table 'plogdb10.plog_blogs' doesn't exist
Error modifying table Referrers: Table 'plogdb10.plog_referers' doesn't exist
Error modifying table Trackbacks: Table 'plogdb10.plog_trackbacks' doesn't exist
Error modifying table Filtered Content: Table 'plogdb10.plog_filtered_content' doesn't exist
Error modifying table Blocked hosts: Table 'plogdb10.plog_host_blocking_rules' doesn't exist
Error modifying table Gallery Albums: Table 'plogdb10.plog_gallery_albums' doesn't exist
Error modifying table Gallery Resources: Table 'plogdb10.plog_gallery_resources' doesn't exist
Error modifying table Links: Table 'plogdb10.plog_mylinks' doesn't exist
Error modifying table Links Categories: Table 'plogdb10.plog_mylinks_categories' doesn't exist
Error modifying table Users: Table 'plogdb10.plog_users' doesn't exist
Error modifying table Bayesian Filter data table: Table 'plogdb10.plog_bayesian_filter_info' doesn't exist
Error modifying table Permissions: Table 'plogdb10.plog_users_permissions' doesn't exist
There was an error executing: Table 'plogdb10.plog_config' doesn't exist
已記錄

...EVALS TEN 是 我
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #1 於: 三月 01, 2005, 10:01:46 上午 »

引用自: charlesc

1. wizard.php無法正常載入template
Exception message: stat failed for /header.template (errno=2 - No such file or directory)
Error code: 2
Stack trace is not available

Exception message: Smarty error: unable to read resource: "/header.template"
Error code: 512
Stack trace is not available


這個問題已解決!

其他的部分,你是再怎麼樣的 Server 下安裝的呢?Linux/Windows, Mysql 版本, php 版本。另外如果 apache error.log 有錯誤訊息的話?能不能請你一併列出呢?

Mark
已記錄

charlesc
新手見習
*
文章: 30


檢視個人資料 個人網站
« 回覆文章 #2 於: 三月 01, 2005, 11:08:27 上午 »

引用自: markwu

其他的部分,你是再怎麼樣的 Server 下安裝的呢?Linux/Windows, Mysql 版本, php 版本。另外如果 apache error.log 有錯誤訊息的話?能不能請你一併列出呢?


有一台是:
Apache version 1.3.33 (Unix)
PHP version 4.3.10
MySQL version 4.0.22-standard

另一台只知道:
MySQL 版本 3.23.53
已記錄

...EVALS TEN 是 我
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #3 於: 三月 01, 2005, 12:31:47 下午 »

傷腦筋,這又是我沒遇過的狀況。

看樣子 plog 認為你要 update 舊的pLog

1. 請問你是從 0.32 升級的嗎?還是直接透過 http://localhost/plog/wizard.php 來安裝
2. 看一下你的 config/config.properties.php 是不是

程式碼:
<?php
#
# database settings
#
$config["db_host"&#93; = "localhost";
$config["db_username"&#93; = "markwu";
$config["db_password"&#93; = "guitar";
$config["db_database"&#93; = "plog";
$config["db_prefix"&#93; = "plog_";
?>


如果不是, pLog會認為你要升級,而非重新安裝。

Mark
已記錄

charlesc
新手見習
*
文章: 30


檢視個人資料 個人網站
« 回覆文章 #4 於: 三月 01, 2005, 04:00:51 下午 »

看來plog的確認為我是要update...它上面的step是:
1 Update » 2 Database Changes » 3 Data changes » 4 Done!

但我是要裝新的,可能因為之前的資料庫設定不正確。
不過,我把那個config檔案內容改掉之後,一進去wizard.php,還是出現資料庫的設定資料,還是以為我在更新...
引用
Database Info
Info

The following database settings have been detected in the configuration file. Please make sure that they are correct and press "Next" to move to the next step. If they are not correct, please make the necessary changes in your configuration file before continuing.

The following step will consist of making the changes to the database structure, required by some of the new features in 1.0.
Database server
localhost
Database User
markwu
Database password
guitar
Database table
plog
Database prefix
plog_
已記錄

...EVALS TEN 是 我
charlesc
新手見習
*
文章: 30


檢視個人資料 個人網站
« 回覆文章 #5 於: 三月 01, 2005, 04:12:23 下午 »

重新去下載config.properties.php就好了,裡面的設定應該是空的才對...
感謝Mark!
已記錄

...EVALS TEN 是 我
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  plog 1.0的安裝問題(02/25) « 上篇主題 下篇主題 »
    前往: