session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\gozi\Conf\config.php:1) ~runtime.php 第 7 行. 
注意:[2] Cannot modify header information - headers already sent by (output started at C:\wamp\www\gozi\Conf\config.php:1) ~runtime.php 第 10 行. 
 注意:[2] Cannot modify header information - headers already sent by (output started at C:\wamp\www\gozi\Conf\config.php:1) ~runtime.php 第 10 行. 
 注意:[2] ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent ~runtime.php 第 10 行. 

解决方案 »

  1.   

    把session_start();放在你文件的第一行
    前面行已经有输出
      

  2.   

    session_start(); 语句之前不能有输出, 
    出现echo 或者其他输出语句,就会报错;
    把session_start() 放到输出语句的前面即可;
      

  3.   

    我已经把session_start();放在第一行了!!!
      

  4.   

    那意思是C:\wamp\www\gozi\Conf\config.php:1这个文件根本就没有session_start();
      

  5.   

    <?php
    /* 
     * 数据库参数配置
     * 
     */
    return array('DB_TYPE'=> 'mysql','DB_HOST'=> 'localhost','DB_NAME'=>'gozidb','DB_USER'=>'root','DB_PWD'=>'gozi','DB_PORT'=>'3306','DB_PREFIX'=>'gozi_',//'TMPL_CACHE_TIME'=>0,'AUTO_LOAD_PATH'=>'Think.Util.,ORG.Util.','DEBUG_MODE'=>true,//调试模式开启
    );?>
    这个文件有问题么?
      

  6.   

    如果你用require()函数包含那个文件,你当前的PHP程序一运行,就把它加到了你的当前PHP程序的头部,这样,你还要保证第一行是session_start();或者说保证前面没有发送header。
      

  7.   

    session_start()之前不能有任何内容输出, 包括空格。
      

  8.   

    我就是没看到这个session_start()在哪里,又没在这个文件C:\wamp\www\gozi\Conf\config.php:1里面!
    是不是php.in这个文件的问题。。
    或者是服务器安装的时候,文件的路径一些问题
      

  9.   

    session_start() 在 ~runtime.php 第 7 行去掉 C:\wamp\www\gozi\Conf\config.php 中 <?php 前的所有字符
      

  10.   

    C:\wamp\www\gozi\Conf\config.php 中 <?php前面是没有字符的
    那Cannot modify header information - headers already sent by (output started at C:\wamp\www\gozi\Conf\config.php:1) ~runtime.php 第 10 行
    又是怎么回事呢?
      

  11.   

    session_start()这个没出现了,那Cannot modify header information - headers already sent by (output started at C:\wamp\www\gozi\Conf\config.php:1) ~runtime.php 第 10 行
    又是怎么回事呢?
      

  12.   

    Cannot modify header information - headers already sent by (output started at C:\wamp\www\gozi\Conf\config.php:1)
    =====================================================
    http返回头是有固定格式的,不允许修改。
    你看config.php的第一行有没有输出?
    没有的话就很可能是bom头的问题,把config.php利用编辑器另存为utf-8无bom头文件.