LifeType 中文開發論壇

支援 => 使用與操作 => 主題作者是: TonTon 於 二月 27, 2006, 12:48:21 上午



主題: PHP5 + Mysql5 會出錯
作者: TonTon二月 27, 2006, 12:48:21 上午
我是安裝在 PHP5 + Mysql 5 上

OS 是 Solaris 10

使用起來怪怪的 !

ex : 當我在後做任何修改完要更新時會出現入下訊息

程式碼:
Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: md5() expects parameter 1 to be string, object given in /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php on line 586

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php:586) in /usr/local/apache2/htdocs/plog/class/view/view.class.php on line 317

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/plog/class/cache/Cache_Lite/Lite.php:586) in /usr/local/apache2/htdocs/plog/class/view/view.class.php on line 175


不知要如何解決呢 ?


主題: Re: PHP5 + Mysql5 會出錯
作者: TomexOu二月 27, 2006, 03:28:09 上午
請篇文章有提及解決之道:
http://forum.lifetype.org.tw/index.php?topic=1859.msg11023#msg11023

經過我的實際經驗,去除warning,是可以跑的!
latin1->utf8的db升級則要小心varchar欄位被截斷的問題
其他的挺順的。