473,394 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

error origination unclear

Dormilich
8,658 Expert Mod 8TB
My website system is giving me the following error message, where I don't know where it originates or how I can fix it. I get this error repeatedly... the server log only differs in the IP address.

Expand|Select|Wrap|Line Numbers
  1. Warning [2] - Wed, 01 Apr 2009 22:10:21 +0200
  2.  
  3. Cannot modify header information - headers already sent by (output started at ***/main.errorhandler.php:37)
  4.  
  5.   Function: KBL_main_ErrorHandler,
  6.   Class   : ,
  7.   File    : ***/main.errorhandler.php,
  8.   Line    : 48;
  9. #0 [internal function]: KBL_main_ErrorHandler('Content-Type: t...')
  10. #1 ***/class.headers.php(118): header()
  11. #2 ***/class.htmlplus.php(143): Headers->printHeader('Head', Array)
  12. #3 [internal function]: HTMLplus->__call()
  13. #4 ***/main.php(21): HTMLplus->Head()
  14. #5 {main}
  • line #3: line 37 refers to a notice output (E_NOTICE or E_USER_NOTICE)
  • the notice must be triggered while instantiating the main object (because the header function is called directly after it, before that is only the redirector (which is not triggered with those files) and the script loader)
  • the User Agent must be IE or related (an UA that does not understand application/xhtml+xml)

this is what the server log tells me is the page request
Expand|Select|Wrap|Line Numbers
  1. 65.55.217.32 - - [01/Apr/2009:22:10:22 +0200] "GET /main.php?f=fig HTTP/1.1" 200 17301 "-" "WinHttp" www.kulturbeutel-leipzig.net
  2. 65.55.217.32 - - [01/Apr/2009:22:10:22 +0200] "GET /bilder/trailer-figaro.mov HTTP/1.1" 200 66905 "-" "WinHttp" www.kulturbeutel-leipzig.net
anyone knows what UA "WinHttp" is?
the file "trailer-figaro.mov" is not linked any more since 25-03-2009 (but still present)
the file size (line #2) is not the movie's file size (too small)

I could imagine that the page was cached (no request of JS, CSS and pictures)

can anyone shed some light on this?

thanks in advance
Apr 2 '09 #1
1 1214
Dormilich
8,658 Expert Mod 8TB
found a cause:
Expand|Select|Wrap|Line Numbers
  1. Error [8] - Thu, 02 Apr 2009 17:24:24 +0200
  2.  
  3. Undefined index:  HTTP_ACCEPT
  4.  
  5.   Function: KBL_main_ErrorHandler,
  6.   Klasse   : ,
  7.   File    : ***/main.errorhandler.php,
  8.   Line    : 48;
  9. #0 ***/class.headers.php(137): KBL_main_ErrorHandler()
  10. #1 ***/class.headers.php(95): Headers->changeMIME()
  11. #2 ***/class.htmlplus.php(139): Headers->__construct('Head', Array)
  12. #3 [internal function]: HTMLplus->__call()
  13. #4 ***/main.php(21): HTMLplus->Head()
  14. #5 {main} 
now the question remains, how do I handle that? sending a 406 (not acceptable) status code? (or maybe 412 or 417)
Apr 2 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rene | last post by:
Hi, While restoring the log we receive a message after about 30 minutes: Processed 1152109 pages for database 'restest', file 'sales_Log' on file 1 Server: Msg 9004, Leverl 21, State 20, Line...
0
by: Jeff | last post by:
This is one that has been stumping me for a few days now. I have an xml document that is based on a schema, and that schema is based on another schema. When using XMLSpy 2004 Enterprise Edition,...
8
by: Steve | last post by:
I have several pairs of synchronized subforms in an application. I have a Delete button for each pair that uses the following code or similar to delete a record in the second subform: ...
13
by: Krzysztof Bartosiewicz | last post by:
Hi! I have a problem with an access database. The database which I designed and made using MS access works perfectly OK on my computer however it is not working at all on computers for which it...
9
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
0
by: Mythran | last post by:
I'm getting this error and Microsoft's site states that the way we are using our libraries is unsupported and the error is by design (go figure). My setup is simple and why it isn't supported is...
5
by: Chad | last post by:
Hi, I have the following server code that attaches a client side script to the Update command of the data grid. Private Sub clientExc_ItemCreated(ByVal sender As Object, _ ByVal e As...
2
by: RdS | last post by:
Hello, I use sourcesafe and vb 2003 for my dev environment. on the sourcesafe server I also have sql2005 and reporting services installed. The web app references this sql server for db. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.