这网站我重新上传了一遍。就成这样了。那位大虾能帮个忙啊。
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/www/user/zh/ou/zhoutang/shop/cache) is not within the allowed path(s): (/home/alwayspi/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 143Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 100Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 100Warning: Cannot modify header information - headers already sent by (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/init_includes/init_templates.php on line 78
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/www/user/zh/ou/zhoutang/shop/cache) is not within the allowed path(s): (/home/alwayspi/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 143Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 100Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/functions/sessions.php on line 100Warning: Cannot modify header information - headers already sent by (output started at /home/alwayspi/public_html/shop/includes/functions/sessions.php:143) in /home/alwayspi/public_html/shop/includes/init_includes/init_templates.php on line 78
解决方案 »
- php的一个算法实现问题
- php编译时出错 php5.2.5 mysql4.1.22
- 高分求飞信网页网站源码
- 为什么这样不能实现重定向??
- 如何更换“shop.webclue.com.cn"中首页的“ENKEL”?
- php写的webservice给多用户同时访问时如何解决堵塞问题?
- [求助]PHP通过ODBC造作Access的问题
- 当任意选择一个<select>中一个<option>元素,怎么样才使其页面可调用不同的函数运行?急救!谢谢!
- 求PHP技术开发人员,成为我们的合作伙伴!
- 一个简单问题,高手帮忙看一下
- 超级头痛的问题:如何转换%u9999%u8549到中文?
- 小弟初学乍练 请指教 变量传递 session的用法??
2.你在session start前有输出,但也可能是上面1.引起的,解决1后这个问题也不出现
其值是否设为了网站根目录?
否则容易出现这样的问题。
而你是使用自定的session_save_path,造成出错
解决办法是把本地的目录结构和网站保持一致(绝对路径)
或者使用$_SERVER['DOCUMENT_ROOT']+子目录