私は私のライブにPHPのセッションのエラーを取得していますセッションの問題(CI)
localhostの罰金で働くA PHP Error was encountered
Severity: Warning
Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/userts4m/public_html/development/relatioweb/admin/index.php:1)
Filename: Session/Session.php
Line Number: 140
Backtrace:
File: /home/userts4m/public_html/development/relatioweb/application/admin/controllers/User.php
Line: 9
Function: __construct
File: /home/userts4m/public_html/development/relatioweb/admin/index.php
Line: 293
Function: require_once
CodeIgniterの使用して開発。しかし私がサーバー上で肥大化したとき、私たちはこの問題に直面しています。
私は何をすべき...
私はあなたがprint_r()を削除するのを忘れてしまったと思います。またはエコーステートメント – Kunal
このファイルの1行目は何ですか? '/ home/userts4m/public_html/development/relatioweb/admin/index.php' – Dale
' User.php'管理者のコンストラクタで何か変更してください。 – Tpojka