Click here to Skip to main content
15,887,596 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Add payment option Pin
Afzaal Ahmad Zeeshan6-Feb-15 20:38
professionalAfzaal Ahmad Zeeshan6-Feb-15 20:38 
GeneralRe: Add payment option Pin
Super Lloyd6-Feb-15 22:15
Super Lloyd6-Feb-15 22:15 
AnswerRe: Add payment option Pin
Afzaal Ahmad Zeeshan6-Feb-15 23:38
professionalAfzaal Ahmad Zeeshan6-Feb-15 23:38 
GeneralRe: Add payment option Pin
Super Lloyd7-Feb-15 0:05
Super Lloyd7-Feb-15 0:05 
GeneralRe: Add payment option Pin
Afzaal Ahmad Zeeshan7-Feb-15 0:09
professionalAfzaal Ahmad Zeeshan7-Feb-15 0:09 
SuggestionRe: Add payment option Pin
Richard Deeming9-Feb-15 3:08
mveRichard Deeming9-Feb-15 3:08 
GeneralRe: Add payment option Pin
Super Lloyd9-Feb-15 10:43
Super Lloyd9-Feb-15 10:43 
Questionwhy (Cannot send session)?! Pin
Jassim Rahma3-Feb-15 21:09
Jassim Rahma3-Feb-15 21:09 
Hi,

I am getting the following error after uploading the file to the host:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/jassimuser/mybluefile.com/login_user.php:1) in /home/jassimuser/mybluefile.com/includes/php_header.php on line 3 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/jassimuser/mybluefile.com/login_user.php:1) in /home/jassimuser/mybluefile.com/includes/php_header.php on line 3 

Warning: Cannot modify header information - headers already sent by (output started at /home/jassimuser/mybluefile.com/login_user.php:1) in /home/jassimuser/mybluefile.com/login_user.php on line 52  


but it's working fine on my localhost.

login_user start like this:

PHP
include('includes/php_header.php');
include($_SESSION["bluefile_absolute_path"] . '/includes/Mobile_Detect.php');
include($_SESSION["bluefile_absolute_path"] . '/includes/password_hash.php');
include($_SESSION["bluefile_absolute_path"] . '/includes/connect2db.php');


and my php_header is:

PHP
ob_start();
if(!isset($_SESSION)) { session_start(); }

$_SESSION["bluefile_absolute_path"] = $_SERVER["DOCUMENT_ROOT"];
$_SESSION["bluefile_domain_name"] = "http://www.mybluefile.com/";

$_SESSION["div_max_width"] = "700";

// set max_execution_time;
ini_set('max_execution_time', 300); //300 seconds = 5 minutes
ini_set("session.cookie_lifetime","3600"); //an hour

// report all errors;
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL & ~E_NOTICE);
// report all errors;



Technology News @ www.JassimRahma.com

QuestionBorderline programing question sorry.. :'( Pin
Super Lloyd29-Jan-15 3:20
Super Lloyd29-Jan-15 3:20 
AnswerRe: Borderline programing question sorry.. :'( Pin
Richard Deeming29-Jan-15 8:08
mveRichard Deeming29-Jan-15 8:08 
GeneralRe: Borderline programing question sorry.. :'( Pin
Super Lloyd29-Jan-15 12:48
Super Lloyd29-Jan-15 12:48 
AnswerRe: Borderline programing question sorry.. :'( Pin
Kornfeld Eliyahu Peter29-Jan-15 9:00
professionalKornfeld Eliyahu Peter29-Jan-15 9:00 
GeneralRe: Borderline programing question sorry.. :'( Pin
Super Lloyd29-Jan-15 12:49
Super Lloyd29-Jan-15 12:49 
AnswerRe: Borderline programing question sorry.. :'( Pin
Afzaal Ahmad Zeeshan6-Feb-15 20:37
professionalAfzaal Ahmad Zeeshan6-Feb-15 20:37 
GeneralRe: Borderline programing question sorry.. :'( Pin
Super Lloyd6-Feb-15 22:13
Super Lloyd6-Feb-15 22:13 
QuestionAdvanced HTML (client side) Templating: Custom Markup Pin
Super Lloyd24-Jan-15 17:30
Super Lloyd24-Jan-15 17:30 
AnswerRe: Advanced HTML (client side) Templating Pin
Super Lloyd24-Jan-15 20:30
Super Lloyd24-Jan-15 20:30 
SuggestionRe: Advanced HTML (client side) Templating Pin
Kornfeld Eliyahu Peter24-Jan-15 22:18
professionalKornfeld Eliyahu Peter24-Jan-15 22:18 
AnswerRe: Advanced HTML (client side) Templating Pin
Super Lloyd24-Jan-15 22:48
Super Lloyd24-Jan-15 22:48 
GeneralRe: Advanced HTML (client side) Templating Pin
Super Lloyd24-Jan-15 23:22
Super Lloyd24-Jan-15 23:22 
SuggestionRe: Advanced HTML (client side) Templating Pin
Kornfeld Eliyahu Peter24-Jan-15 23:26
professionalKornfeld Eliyahu Peter24-Jan-15 23:26 
GeneralRe: Advanced HTML (client side) Templating Pin
Super Lloyd25-Jan-15 0:29
Super Lloyd25-Jan-15 0:29 
GeneralRe: Advanced HTML (client side) Templating Pin
best cardiology hospitals in kerala3-Mar-15 22:42
best cardiology hospitals in kerala3-Mar-15 22:42 
QuestionWeb development vs desktop development Pin
Picaro201522-Jan-15 21:22
Picaro201522-Jan-15 21:22 
AnswerRe: Web development vs desktop development Pin
David Mujica23-Jan-15 3:30
David Mujica23-Jan-15 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.