Click here to Skip to main content
15,908,175 members
Home / Discussions / Web Development
   

Web Development

 
SuggestionRe: Website copyright India Pin
F-ES Sitecore19-Feb-15 3:37
professionalF-ES Sitecore19-Feb-15 3:37 
AnswerRe: Website copyright India Pin
manchanx8-Mar-15 14:21
professionalmanchanx8-Mar-15 14:21 
QuestionASP Sitemap Pin
Darrylw9915-Feb-15 6:24
Darrylw9915-Feb-15 6:24 
AnswerRe: ASP Sitemap Pin
Lord_Nick6927-Mar-15 7:26
Lord_Nick6927-Mar-15 7:26 
QuestionUnable to bind JQGrid with the json data using html and httphandler Pin
Karthik@201210-Feb-15 18:37
Karthik@201210-Feb-15 18:37 
SuggestionRe: Unable to bind JQGrid with the json data using html and httphandler Pin
Richard MacCutchan10-Feb-15 22:16
mveRichard MacCutchan10-Feb-15 22:16 
QuestionREST API User Authentication Pin
IsoftTech10-Feb-15 8:37
IsoftTech10-Feb-15 8:37 
AnswerRe: REST API User Authentication Pin
Afzaal Ahmad Zeeshan13-Feb-15 1:24
professionalAfzaal Ahmad Zeeshan13-Feb-15 1:24 
Questionusing OUT in PDO and PHP Pin
Jassim Rahma9-Feb-15 1:20
Jassim Rahma9-Feb-15 1:20 
QuestionRe: using OUT in PDO and PHP Pin
ZurdoDev9-Feb-15 5:05
professionalZurdoDev9-Feb-15 5:05 
QuestionAdd payment option Pin
Super Lloyd6-Feb-15 18:26
Super Lloyd6-Feb-15 18:26 
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 

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.