Jump to content

[SOLVED] Session headers error


conker87

Recommended Posts

impossible

ok

<?php 
session_start();
require("_var.php"); 
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="_menu.css" />
<link rel="stylesheet" type="text/css" href="_style.css" />
</head>
<body>

 

remove the session start on var.php page and do it that way

With the code.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/conker87/public_html/test.php:1) in /home/conker87/public_html/test.php on line 2

 

And nothing printed with just "<?php ?>" or a blank page.

 

@teng84: Nope, still the same.

With the code.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/conker87/public_html/test.php:1) in /home/conker87/public_html/test.php on line 2

 

And nothing printed with just "<?php ?>" or a blank page.

 

@teng84: Nope, still the same.

 

nothing printed on page or nothing at all when you goto view source?

With the code.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/conker87/public_html/test.php:1) in /home/conker87/public_html/test.php on line 2

 

And nothing printed with just "<?php ?>" or a blank page.

 

@teng84: Nope, still the same.

 

nothing printed on page or nothing at all when you goto view source?

Nothing when you go into SC.

Well. I checked the source from the file manager on my host, and there were 3 random characters that wasn't there before and cannot be seen in WE. So I think it was WE.

 



Has been added by the editor on every page I edited with it... Wtf!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.