The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> PHP connection script error
krisedwards
post May 15 2013, 03:49 AM
Post #1





Group: Members
Posts: 6
Joined: 18-February 13
Member No.: 18,680



Hi all

I am new to the world of PHP scripts and need some help with my init.php script that calls in my connect.php script.

I keep getting this error:

QUOTE

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent


My init.php file code is as below

CODE

<?php
session_start();

require 'database/connect.php';

?>


I've tried several things but cannot find how to resolve this any ideas?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
krisedwards
post May 15 2013, 04:32 AM
Post #2





Group: Members
Posts: 6
Joined: 18-February 13
Member No.: 18,680



After lots of trial and error i've sorted the error

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 02:44 PM