Dynadot โ€” .com Transfer

Php

NamecheapNamecheap
Watch

TheBrigade

Established Member
Impact
2
I need someone who knows php very well. I have asked around and I guess to fix my problem. I was told this
"Any decent PHP developer will be able to identify and fix the problem based on the error message you're getting."

The problem is:

On totalupload.com people can register fine, but when logging in we get the following error messages:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/totalup/public_html/login.php:3) in /home/totalup/public_html/include/common.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /home/totalup/public_html/login.php:3) in /home/totalup/public_html/login.php on line 44

so yeah I need some help...
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
that means you had some code that does ANYTHING before your

session_start(); call.

It looks like you included something before the session_start() ?

for example:

WRONG:

PHP:
include_once("common.php");
session_start();

CORRECT:

PHP:
session_start(); // fist line of code (very strict)
// .. anything
// .
// .
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back