Jump to content

Recommended Posts

Posted

I'm working on a login script but once I publish our site it says that there was an error on the following code:

 

<?php

//We start sessions>

session_start();

 

 

Please help!

Posted

I'm working on a login script but once I publish our site it says that there was an error on the following code:

 

<?php

//We start sessions>

session_start();?>

 

 

Errors:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kevinrox/public_html/register.php:3) in /home/kevinrox/public_html/config.php on line 3

 

 

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kevinrox/public_html/register.php:3) in /home/kevinrox/public_html/config.php on line 3

/****************************************************** ------------------Required Configuration--------------- Please edit the following variables so the members area can work correctly. ******************************************************/ //We log to the DataBase mysql_connect('localhost', 'kevinrox_urban', ***Password***'); mysql_select_db('database'); //Webmaster Email $mail_webmaster = '****E-MAIL****'; //Top site root URL $url_root = '/index.php'; /****************************************************** -----------------Optional Configuration---------------- ****************************

**************************/ //Home page file name $url_home = 'index.php'; //Design Name $design = 'default'; ?>

 

 

 

I took the E-mail and password out in the screen capture, too!

Please help!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...