主題: plog 1.0的安裝問題(02/25) 作者: charlesc 於 三月 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 主題: Re: plog 1.0的安裝問題(02/25) 作者: markwu 於 三月 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 主題: Re: plog 1.0的安裝問題(02/25) 作者: charlesc 於 三月 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 主題: plog 1.0的安裝問題(02/25) 作者: markwu 於 三月 01, 2005, 12:31:47 下午 傷腦筋,這又是我沒遇過的狀況。
看樣子 plog 認為你要 update 舊的pLog 1. 請問你是從 0.32 升級的嗎?還是直接透過 http://localhost/plog/wizard.php 來安裝 2. 看一下你的 config/config.properties.php 是不是 程式碼: <?php 如果不是, pLog會認為你要升級,而非重新安裝。 Mark 主題: plog 1.0的安裝問題(02/25) 作者: charlesc 於 三月 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_ 主題: plog 1.0的安裝問題(02/25) 作者: charlesc 於 三月 01, 2005, 04:12:23 下午 重新去下載config.properties.php就好了,裡面的設定應該是空的才對...
感謝Mark! |