Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
jayLim

Notice And Warning Messages?

Recommended Posts

Hello!

When I test my page in chapter 3 "Creating the Home Page" section, I get these messages :

 

Notice: Constant BASE_URI already defined in /Users/username/Site/.../includes/config.inc.php on line 6

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /Users/username/Site/.../includes/config.inc.php:6) in /Users/username/Site/.../includes/config.inc.php on line 9

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /Users/username/Site/.../includes/config.inc.php:6) in /Users/username/Site/.../includes/config.inc.php on line 9

 

Note that the first warning message starts with "Cannot send session cookie..." and the other one "Cannot send session cache limiter..."

 

??

Thanks.

 

 

Share this post


Link to post
Share on other sites

The second and third errors are only occurring because of the first one. If you fix that, the others will go away. To fix the first one, remove the duplicate definition of BASE_URI (I expect you used an "I" instead of an "L" for one definition).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...