Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

PHP 'Header Modify' error message stress

Thread Tools
 
Search this Thread
 
Old Sep 3, 2004 | 11:06 AM
  #1  
RussBoy's Avatar
RussBoy
Thread Starter
Scooby Regular
 
Joined: Aug 2003
Posts: 697
Likes: 0
From: Delabole, Cornwall
Default PHP 'Header Modify' error message stress

Following recommendations from a few of the guys on here I decided to use PHP Nuke (7.3 I think) on one of my community websites that I host.

All got installed ok (I think) but when trying to view 'private messages' or 'forum' I get loads of lines of error messages like that below:

"Warning: Cannot modify header information - headers already sent by (output started at /usr/local/home/httpd/vhtdocs/wickham/header.php:32) in /usr/local/home/httpd/vhtdocs/wickham/includes/sessions.php on line 250"

Now, the weird thing is that it only appears to show through my browser - everybody else appears to be able to see the pages as they should. All the lines also seem to relate in someway to a line of code in the header file:

"echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; "

I read that if a carraige return has been inserted at the end of the comfig.php file (common as many editors and some servers do this) that this can cause a similar message but I've tided this up plus it's only obvious through my PC.

Has anyone else other come across this and if so any advice very greatfully received before I throw the laptop out of the window....

Cheers,


Russ
Reply
Old Sep 3, 2004 | 04:22 PM
  #2  
Soulgirl's Avatar
Soulgirl
Scooby Regular
 
Joined: Dec 2002
Posts: 5,145
Likes: 0
From: Here!
Default

It might be a good idea to direct your query to PHP Nuke themselves
Reply
Old Sep 3, 2004 | 09:32 PM
  #3  
RussBoy's Avatar
RussBoy
Thread Starter
Scooby Regular
 
Joined: Aug 2003
Posts: 697
Likes: 0
From: Delabole, Cornwall
Default

Originally Posted by Soulgirl
It might be a good idea to direct your query to PHP Nuke themselves
Er, I did - well, php nuke support forums anyway.

Problem is sussed now (for anyone that is interested) - Nuke has a config issue between XP/Apache/PHP and SQL so only some people would see any error.

Problem is rectified by posting a .htaccess file in the Nuke root on the server. A 2 minute fix that took 2 days to discover...


R
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Sam Witwicky
Engine Management and ECU Remapping
17
Nov 13, 2015 10:49 AM
Ganz1983
Subaru
5
Oct 2, 2015 09:22 AM
IanG1983
Subaru Parts
1
Sep 30, 2015 04:52 PM
Nick_Cat
Computer & Technology Related
2
Sep 26, 2015 08:00 AM




All times are GMT +1. The time now is 01:50 PM.