CodeIgniter loading session class hints how exceptions are resolved

Source: Internet
Author: User
Tags php error codeigniter
CodeIgniter Loading session class hint error how to solve
A PHP Error was encountered

Severity:warning

Message:cannot Modify header Information-headers already sent by (output started at F:\APMServ5.2.6\www\htdocs\applicat ION\CONFIG\CONFIG.PHP:1)

filename:libraries/session.php

Line number:672



Part of my config.php code:
PHP Code
!--Code highlighting produced by Actipro Codehighlighter (freeware) http://www. codehighlighter.com/-->!--? php if (!defined (' BasePath ')) exit (' No Direct script access allowed ');/*|---------------- ----------------------| Base Site url|--------------------------------------| | URL to your CodeIgniter root. Typically this would be your base url,|    With a trailing slash:| | http://example.com/| | If This isn't set then CodeIgniter would guess the protocol, domain and| Path to your installation.| */$config [' base_url '] = ';/*|--------------------------------------| Index file|--------------------------------------| | Typically this would be your index.php file, unless you ' ve renamed it to| Something else. If you is using mod_rewrite to remove the page set this| Variable so, it is blank.| */$config [' index_page '] = ' index.php ';/*|--------------------------------------| URI protocol|-------------------------------------- 

Ask the expert to answer

------Solution--------------------
config.php first line is empty line?
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.