Zubrag.com
October 16, 2019, 01:49:16 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: NEW PROBLEM with Cannot modify header error  (Read 11277 times)
mth700
Newbie
*
Posts: 2


« on: August 12, 2008, 04:49:33 PM »

Hi guys,

I have been receiving two Cannot modify header errors, both with login.php

First one was on Line 69, which I have corrected by adding the // as per previous posts.

However I am also receiving this error;

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/brightplus.co.uk/public_html/clientarea/console/accounts/index.php:1) in /home/sites/brightplus.co.uk/public_html/clientarea/console/login.php on line 79


Line 79 in login.php is this:    . $REDIRECTS[$login]);

Kind regards,
Mark H.

Logged
Pissed
Newbie
*
Posts: 1


« Reply #1 on: September 08, 2009, 07:17:35 PM »

Line 79 deals with the manager file open manager and delete any http://www.examplepage.com redircts whats happening is its trying to attache http to the address when someone figures out how to fix this let me know....
Logged
wb
Newbie
*
Posts: 3


« Reply #2 on: November 22, 2009, 07:18:49 PM »

If I didn't have a belief in the code, I would give up.  After two days of struggling over "Warning: Cannot modify header information - headers already sent by (output started at /mnt/w0602/d34/s03/b02ce4dd/www/ellwhiteboard.com/index.php:1) in /mnt/w0602/d34/s03/b02ce4dd/www/xxxxxxxxx.com/login.php on line 67" I am hoping someone has some good advice. 
WB
Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #3 on: November 23, 2009, 12:37:42 PM »

What do you have on line 1 of /mnt/w0602/d34/s03/b02ce4dd/www/ellwhiteboard.com/index.php  Huh
Logged
wb
Newbie
*
Posts: 3


« Reply #4 on: November 24, 2009, 09:32:16 AM »

This is the script that was generated from manager.php - <?php include("/mnt/w0602/d34/s03/b02ce4dd/www/ellwhiteboard.com/login.php"); ?> found on index.php.  Hoping for an answer. Thanks.  WB
Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #5 on: November 24, 2009, 02:56:05 PM »

Looks like there is some character before that code (before <?php). Some editors insert invisible character (BOM) when saving file in unicode mode. Try saving file in different editor or send me /mnt/w0602/d34/s03/b02ce4dd/www/ellwhiteboard.com/index.php to adminATzubrag.com to check for invisible characters.
Logged
wb
Newbie
*
Posts: 3


« Reply #6 on: November 26, 2009, 08:37:46 AM »

It appears that you are right.  When I wrote and saved the file in notepad, saved it as php, there was no warning message.  It worked perfectly.  The next question is, how do you remove the BOM in Expression Web 2 from php saved files?
Thanks, WB
Logged
zubrag
Administrator
Hero Member
*****
Posts: 788


WWW
« Reply #7 on: November 26, 2009, 09:26:50 AM »

This article may be of help:

http://saffronstroke.com/2009/05/19/add-or-remove-byte-order-marks-bom-in-microsoft-expression-web-2/
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC