主題: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lovehint37 於 九月 05, 2006, 01:01:59 上午 原本之前都好好的,昨天手癢裝了mod_security和mod_evasive這兩個apache模組,還有daemonshield, denyhosts, blockhosts(不過這三個是sshd的東西,應該不可能影響到httpd才對...)今天發現進入我的blog(http://mitnik.mine.nu/blog)變成空白頁了...但是首頁http://mitnik.mine.nu卻可以顯示~還有我改了一些php.ini的設定:safe_mode=on, register_globals=on, magic_quotes_gpc=on, allow_url_fopen=off, expose_php=off 我印象中只做過這些改動而已,怎麼blog忽然變空白了= = 我有試著把那兩個模組的LoadModule加上# 和把php.ini改回預設直,都沒用...但是phpMyAdmin和http://mitnik.mine.nu/phpinfo.php這個php卻都可以正常使用,搞了一整天了還是不知道哪裡出了問題,只好來這裡求助= =" 另外,admin.php可以登入,不過點其他的選項一樣會變成空白頁...下面是我進入blog產生的錯誤訊息:
[Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Object of class SessionInfo could not be converted to int in /home3/Wangsf/Public_html/blog/class/net/http/session/sessionmanager.class.php on line 47 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Node.php on line 524 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Only variable references should be returned by reference in /home3/Wangsf/Public_html/blog/class/xml/tree/Tree.php on line 486 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Notice: Object of class BlogSettings could not be converted to int in /home3/Wangsf/Public_html/blog/class/dao/bloginfo.class.php on line 55 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Warning: fopen(tmp/sql_error.log) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home3/Wangsf/Public_html/blog/class/logger/appender/fileappender.class.php on line 57 [Tue Sep 05 01:53:26 2006] [error] [client 59.114.64.189] PHP Fatal error: Uncaught exception 'Exception' with message 'Cannot open log file: tmp/sql_error.log' in /home3/Wangsf/Public_html/blog/class/logger/appender/fileappender.class.php:59\nStack trace:\n#0 /home3/Wangsf/Public_html/blog/class/logger/appender/fileappender.class.php(43): FileAppender->openFP()\n#1 /home3/Wangsf/Public_html/blog/class/logger/loggermanager.class.php(142): FileAppender->FileAppender(Object(PatternLayout), Array)\n#2 /home3/Wangsf/Public_html/blog/class/logger/loggermanager.class.php(114): LoggerManager->createAppenderInstance('file', Object(PatternLayout), Array)\n#3 /home3/Wangsf/Public_html/blog/class/logger/loggermanager.class.php(87): LoggerManager->_loadLoggerConfig()\n#4 /home3/Wangsf/Public_html/blog/class/logger/loggermanager.class.php(177): LoggerManager->LoggerManager()\n#5 /home3/Wangsf/Public_html/blog/class/logger/loggermanager.class.php(192): LoggerManager->getInstance()\n#6 /home3/Wangsf/Public_html/blog/class/template/template.class.php(61): LoggerManager->getLogger('default')\n#7 /home3/Wangs in /home3/Wangsf/Public_html/blog/class/logger/appender/fileappender.class.php on line 59 假如找不到辦法解決,那如果我下載1.1 beta重新安裝,那麼我原本blog裡面的文章還會在嗎? (我有備份lifetype的資料表) 麻煩大大們幫幫忙... :-S 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: james 於 九月 05, 2006, 07:56:57 上午 建議你重新安裝好了。
資料表還在,可以使用升級的方式安裝LT 1.1 B2 這樣應該會比較快。當然只要資料庫是ok的,那升級後文章還會保留的。 James. 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lovehint37 於 九月 05, 2006, 05:20:49 下午 我剛剛下載 1.1 beta2升級後...還是一片空白= =|||| 然後出現這個錯誤:
[Tue Sep 05 18:18:09 2006] [error] [client 59.114.64.189] PHP Notice: Undefined property: Cache_Lite::$log in /home3/Wangsf/Public_html/blog/class/cache/Cache_Lite/Lite.php on line 724, referer: http://mitnik.mine.nu/blog/ [Tue Sep 05 18:18:09 2006] [error] [client 59.114.64.189] PHP Fatal error: Call to a member function error() on a non-object in /home3/Wangsf/Public_html/blog/class/cache/Cache_Lite/Lite.php on line 724, referer: http://mitnik.mine.nu/blog/ $this->log->error('Unable to write cache file : '.$this->_file, LOGGER_PRIO_ERROR ); ...... 如果我用1.1重新安裝,然後再載入lifetype資料表~這樣可行嗎?? :-| :'( 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lss 於 九月 05, 2006, 08:05:27 下午 原本之前都好好的,昨天手癢裝了mod_security和mod_evasive這兩個apache模組,... 把這兩個 apache 模組先移掉看看,問題應該出在這兒。lss 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lovehint37 於 九月 06, 2006, 01:07:51 上午 好像不是那二個模組的問題,我重新安裝了1.1 beta2之後又可以用了,不過以前的文章都沒了=.= 還有一些設定也要重新改過...
如果把之前資料表載入現在的資料庫,可以回覆以前的文章嗎?? 因為版本不同,我怕弄錯又要再安裝一次. :-O 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: james 於 九月 06, 2006, 09:08:40 下午 好像不是那二個模組的問題,我重新安裝了1.1 beta2之後又可以用了,不過以前的文章都沒了=.= 還有一些設定也要重新改過... 不可以把之前的資料表載入到1.1b2的資料庫中,因為資料結構有更動。如果把之前資料表載入現在的資料庫,可以回覆以前的文章嗎?? 因為版本不同,我怕弄錯又要再安裝一次. :-O 你必需使用升級的方式,讓1.1b2幫你自動更改1.0.x的資料庫結構。 James. 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lovehint37 於 九月 06, 2006, 11:40:55 下午 我今天重新安裝1.0.6然後載入之前的資料庫,就OK了!! 以前的文章都回來了 :-D
昨天重新安裝1.1 beta2用起來怪怪的,原本剛裝好時都正常,進入後台設定一些東西,過一陣子後台就自動變空白了,然後blog也一樣... 所幸重新安裝1.0.6 = = 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: jiunn32 於 九月 07, 2006, 10:05:17 上午 應該是plugins的關係.
我今天升級1.1,結果進去都變成空白. 解決方式: 清空plugins路徑 清空tmp路徑 以上,請參考. 目前知道1.1的官方的plugins,似乎都還是過去的版本. 目前使用沒問題的只有authimage,而且還要使用者進去重新啟用一次. 主題: Re: Mark大~~救命呀...我的blog被我搞不見了=.= 作者: lss 於 九月 07, 2006, 03:20:48 下午 大部份的 plugin 應該都已經 port 到 1.1 版了,升級 1.1 的同時,請把安裝的 plugin 也同步更新為 1.1 版專用的 plugin 。
lss |