Php

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back