LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: alin999 於 十月 29, 2005, 10:24:44 下午



主題: 关于session的问题
作者: alin999十月 29, 2005, 10:24:44 下午
第一次安装plog 开始安装的。32版 所有安装都顺利进行。完毕后进入主页提示session错误。

改用1。01版  错误依然

Fatal error: Call to undefined function: session_name() in /usr/local/www/data-dist/blog/class/net/http/session/sessionmanager.class.php on line 39


不知道怎么办了!


主題: Re: 关于session的问题
作者: winman十月 29, 2005, 10:34:53 下午
请看这里:

http://forum.lifetype.org.tw/index.php?topic=716.msg4445#msg4445

另外也请看这里:
http://forum.lifetype.org.tw/index.php?topic=2.0


主題: Re: 关于session的问题
作者: alin999十月 29, 2005, 10:40:11 下午
多谢老大指导

我在大陆 繁体字看着不那么流畅  以后一定多看历史贴!!


主題: Re: 关于session的问题
作者: winman十月 29, 2005, 10:44:42 下午
不客气,我也在大陆,其实大部分繁体字长得样子跟简体差不多,象明星一样,无论怎么装扮
还是一看就可以认出来。以后发贴希望能善用搜寻功能,这样不但效率高,而且还能保证论坛
内容的质量。


主題: Re: 关于session的问题
作者: markwu十月 31, 2005, 11:33:41 上午
不客气,我也在大陆,其实大部分繁体字长得样子跟简体差不多,象明星一样,无论怎么装扮
还是一看就可以认出来。以后发贴希望能善用搜寻功能,这样不但效率高,而且还能保证论坛
内容的质量。

如 winman 所說的,簡繁真的是差不多的,為什麼我沒限定大家發文用繁體,原因也在我希望台灣的 plogger 能跟大陸的 plogger 多多交流,學著看,很快就會習慣的。

Mark


主題: Re: 关于session的问题
作者: bitbob十一月 05, 2005, 03:27:22 上午
我新装的Plog 1.0.2Beta版本,安装成功后。blog首页出现这么多错误提示:不知道何原因?

引用
Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 20

Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 21

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/net/http/session/sessionmanager.class.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 316

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 177


主題: Re: 关于session的问题
作者: markwu十一月 06, 2005, 11:51:56 上午
我新装的Plog 1.0.2Beta版本,安装成功后。blog首页出现这么多错误提示:不知道何原因?

引用
Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 20

Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 21

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/net/http/session/sessionmanager.class.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 316

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 177

因為你的 ISP 業者啟動了 Safe_Mode,他不允許你執行 ini_set() 這個指令。只有兩個方法可以解決:

1. 換一家業者
2. 試著把 lifetype 內 ini_set 的程式都拿掉(但是這樣我不確定你能安裝成功)

Mark