列出文章
|
頁: 1 [2]
|
16
|
支援 / 安裝與設定 / 0.32升級1.0問題
|
於: 四月 11, 2005, 03:51:44 下午
|
自問自答
一開始執行wizard.php一直會出現上面的錯誤訊息,而造成無法更新,甚至我還原後慘了!!!!!原來的文章都不見了~~ >_<
將原本plog先改名 /var/www/html/plog => /var/www/html/plog_old 上傳1.0版放在 /var/www/html/plog ===================
/etc/rc.d/init.d/mysql stop 先將舊的資料庫改名 mv /var/lib/mysql/plog /var/lib/mysql/plog_old /etc/rc.d/init.d/mysql start ===================
執行phpmyadmin 新增資料庫=>plog 使用phpmyadmin檔案匯入功能 失敗................... (之前用指令備份 /usr/bin/mysqldump plog -uuser -ppassword --opt > /backup/plog_data.sql) ===================
使用指令強迫回覆 mysql -uuser -ppassword plog < plog_data.sql 沒錯誤訊息,成功了!!! ===================
將舊的config.properties.php,拷到1.0的目錄裡 執行wizard.php 下一步=>下一步...........都正常
看一下,大功告成!!! 還好都還原了,一開始緊張死了....還以為全掛了!! 不過原本改的template又要重改了,因為我試過用改過的會有問題~
ps: 資料庫mysql那部份 =>我用phpmyadmin查看時,顯示資料庫plog(28) =>重新建立資料庫,匯入資料庫 =>再用phpmyadmin進入查看,顯示資料庫plog(24) 差了4,這我就不清楚為什麼了??
另外還有,剛好查了關於mysql的備份 大部人建議的方法是 停掉mysql 直接備份/var/lib/mysql/plog裡的全部檔案 再啟動mysql
以上僅供參考
|
|
|
17
|
支援 / 安裝與設定 / 0.32升級1.0問題
|
於: 四月 11, 2005, 12:00:28 下午
|
小弟有照置頂的文章方式改 不過執行wizard.php後,按下next會出現如下的畫面 Error creating table: Table 'plog_article_categories_link' already exists Error creating table: Table 'plog_custom_fields_definition' already exists Error creating table: Table 'plog_custom_fields_values' already exists Error creating table: Table 'plog_articles_text' already exists Error modifying table Articles: Duplicate key name 'blog_id_slug_category_id' Error modifying table Article Categories: Duplicate key name 'mangled_name' Error modifying table User Comments: Duplicate key name 'article_id' Error modifying table Notifications: Duplicate key name 'blog_id' Error modifying table Blogs: Duplicate key name 'mangled_blog' Error modifying table Referrers: Duplicate key name 'blog_id_article_id' Error modifying table Trackbacks: Duplicate key name 'article_id' Error modifying table Filtered Content: Duplicate key name 'blog_id' Error modifying table Blocked hosts: Duplicate key name 'blog_id' Error modifying table Gallery Albums: Duplicate key name 'owner_id_mangled_name' Error modifying table Gallery Resources: Duplicate key name 'resource_type' Error modifying table Links: Duplicate key name 'category_id' Error modifying table Links Categories: Duplicate key name 'blog_id' Error modifying table Users: Duplicate column name 'status' Error modifying table Bayesian Filter data table: Duplicate key name 'blog_id' Error modifying table Permissions: Duplicate key name 'user_id_permission_id'
請問不知是那邊沒設定呢? 謝謝~
|
|
|
18
|
開發 / 模版設計 / FireFox & IE
|
於: 二月 23, 2005, 11:12:43 上午
|
我是建議圖片不要太大 有試著去改css 不過還是不能太大 長超過500就會有你講的情形了~
|
|
|
20
|
支援 / 安裝與設定 / 別人連不到我的blog...
|
於: 二月 17, 2005, 06:03:52 下午
|
Apache假設已啟動 請對方打http://你的ip 若連apache的網頁都出不來那就得檢查你的防火牆囉~
假設可以就要看看plog的設定,就如markwu講的~
try try see~
|
|
|
22
|
開發 / 外掛程式 / 迴響驗證 (AuthImage) 的圖片無法顯示的問題
|
於: 二月 08, 2005, 07:50:49 下午
|
如果是更改權限的部份可透過兩種方式
1. 自己架ftp server,例用如cuteftp,flashfxp等ftp client程式就可以更改權限了 2.至工具=>資料夾選項=>檢視=>使用簡易形共用打勾拿掉 然後再到你要分享的資料夾就可以更改安全性了
不過剛mark wu說不是這個問題,以上這個就不一定可以派上用場了~ 供大家參考~
|
|
|
23
|
支援 / 使用與操作 / 請教關於迴響的問題
|
於: 二月 08, 2005, 06:20:39 下午
|
真是不好意思~ 讓你過年還在試~ 沒關係的,等您有空再來試就行了 我剛有照您的方法試 不過仍然情形一樣 我另外試了幾個方法 1.更換template,看看是不是plugin影響,不過結果仍相同 2.在文章中加入meta html語法 ,讓格式強迫為UTF-8,不過結果仍相同 3.試用firefox browser,不過結果仍相同 我也好傷腦筋... 另外我的server裡還有另外三個blog http://hoher.idv.tw/plog/index.php?blogId=2http://hoher.idv.tw/plog/index.php?blogId=3http://hoher.idv.tw/plog/index.php?blogId=4這幾個裡,我有問過他們,他們說也曾遇到過 但不是每篇都會(不過我幾天po的每天都會有這個情形,真是怪哉) 另外請問mark wu大大 我想更新php至4.3.10,不過rebuild時才發現真是大工程 需要更新非常多的套件,如lib,httpd,apr,file.....一堆啊~ centos官方站台裡居然還沒有新版的php... 請問有沒其他的方法可以更新的呢? 再次感謝您~
|
|
|
24
|
支援 / 使用與操作 / 請教關於迴響的問題
|
於: 二月 08, 2005, 12:34:53 上午
|
所以你的這兩個 error 都是無傷大雅的。 還有你的 Header 也未包含 Charset 資訊: Server: Apache/2.0.46 (CentOS) X-Powered-By: PHP/4.3.2 Content-Type: text/html 順便建議你更新你的 PHP , 4.3.10 以前的版本全都有嚴重漏洞。 關於Charset我之前有在試過,不管是否有加或是我把他mark掉(AddDefaultCharset UTF-8),結果也是一樣!! 另外今天搞了好久,想要更新php 我去抓了fedora的 php-4.3.10-2.4.src.rpm php-4.3.10-3.2.src.rpm 要rebuild 可是結果都是 make: *** [ext/pcre/php_pcre.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.99714 (%build) 兩個不一樣的rpm-tmp.99714<==數字不一樣 查了一些網站,都搞不清楚原因在那...>_< 還請mark wu大大指導,感謝~
|
|
|
26
|
支援 / 使用與操作 / 請教關於迴響的問題
|
於: 二月 06, 2005, 11:35:31 上午
|
謝謝Mark Wu 出下如下的錯誤 [Sun Feb 06 12:10:55 2005] [error] [client 220.134.56.91] File does not exist: /var/www/html/favicon.ico [Sun Feb 06 12:11:14 2005] [error] [client 220.134.56.91] File does not exist: /var/www/html/favicon.ico
我查了一下這個plog應該沒關係吧?這好像是網址的icon的圖示 我查了template裡所有的檔案都沒相關字串 真是怪了 我也試著把這個檔案放入/var/www/html
但情行仍相同,不過錯誤訊息就不再出現了!!!
我另外也看了access_log 也沒什麼特殊錯誤字串 不知還有那些地方沒注意到的呢? 感謝回覆~
|
|
|
|
|
|