473,772 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Very Bizarre

This is very bizarre. Could someone else have a look at this? Maybe you
can see something I'm overlooking. Go here:

http://www.newsletters.forbes.com/en...n/deliver.php4

U: bugtest P: test

Enter 1 for "How many files in this delivery?" and select a file to
upload, in one of the listed formats. Scroll down and click "Test Email".

You should get

Cannot modify header information - headers already sent in
/usr/home/enpusr/enews/auth.php3 on line 49

Cannot modify header information - headers already sent by (output
started at /usr/home/enpusr/enews/auth.php3:49) in
/usr/www/users/enpusr/enews/admin/deliverx.php4 on line 83

There are a number of very weird things about this. First, auth.php3 is
used by every single page in the application, but only has a problem with
this one. Second, the second message is saying output started in
auth.php3 on line 49, but that's a header() call:

header("Set-Cookie: pk=$NewKey; path=/; domain=.$AuthDo main");

The third and most bizarre thing is if you omit the file count, this is
an application error, and deliverx.php4 processes it just fine -- it
makes it through auth.php3 and everything else.

And even more bizarre than that is the fact that this code has been
working fine for a long time, and I haven't changed anything.

Don't let the .php3 extension fool you, it's all PHP4; I just haven't
gotten around to changing some of the file extensions.

Any ideas?

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #1
4 2170
"Alan Little" <al**@n-o-s-p-a-m-phorm.com> wrote in message
news:Xn******** *************** ***@216.196.97. 132...
This is very bizarre. Could someone else have a look at this? Maybe you
can see something I'm overlooking. Go here:

http://www.newsletters.forbes.com/en...n/deliver.php4

U: bugtest P: test

Enter 1 for "How many files in this delivery?" and select a file to
upload, in one of the listed formats. Scroll down and click "Test Email".

You should get

Cannot modify header information - headers already sent in
/usr/home/enpusr/enews/auth.php3 on line 49

Cannot modify header information - headers already sent by (output
started at /usr/home/enpusr/enews/auth.php3:49) in
/usr/www/users/enpusr/enews/admin/deliverx.php4 on line 83

There are a number of very weird things about this. First, auth.php3 is
used by every single page in the application, but only has a problem with
this one. Second, the second message is saying output started in
auth.php3 on line 49, but that's a header() call:

header("Set-Cookie: pk=$NewKey; path=/; domain=.$AuthDo main");


No, it said "headers already sent" in auth.php3 on line 49... and then you
demonstrated exactly that.

The second message indicates the error occurred on line 83 of deliverx.php4.
What does that line look like?

- Virgil
Jul 17 '05 #2
Carved in mystic runes upon the very living rock, the last words of
Virgil Green of comp.lang.php make plain:
"Alan Little" <al**@n-o-s-p-a-m-phorm.com> wrote in message
news:Xn******** *************** ***@216.196.97. 132...
This is very bizarre. Could someone else have a look at this? Maybe
you can see something I'm overlooking. Go here:

http://www.newsletters.forbes.com/en...n/deliver.php4

U: bugtest P: test

Enter 1 for "How many files in this delivery?" and select a file to
upload, in one of the listed formats. Scroll down and click "Test
Email".

You should get

Cannot modify header information - headers already sent in
/usr/home/enpusr/enews/auth.php3 on line 49

Cannot modify header information - headers already sent by (output
started at /usr/home/enpusr/enews/auth.php3:49) in
/usr/www/users/enpusr/enews/admin/deliverx.php4 on line 83

There are a number of very weird things about this. First, auth.php3
is used by every single page in the application, but only has a
problem with this one. Second, the second message is saying output
started in auth.php3 on line 49, but that's a header() call:

header("Set-Cookie: pk=$NewKey; path=/; domain=.$AuthDo main");

No, it said "headers already sent" in auth.php3 on line 49... and then
you demonstrated exactly that.


Yes, but the second error says that's where output started.
The second message indicates the error occurred on line 83 of
deliverx.php4. What does that line look like?


It's a Location: header

header("Locatio n: deliver.php4?er r=10");

Something I just noticed is that it's trying to generate an "invalid file
format" error, which should not be happening, as I'm uploading a PDF
file, which is valid. So, more weirdness.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #3
Carved in mystic runes upon the very living rock, the last words of Alan
Little of comp.lang.php make plain:
This is very bizarre. Could someone else have a look at this? Maybe
you can see something I'm overlooking. Go here:


It turned out that something had gone funny with the way the web server
was handling file uploads; apparently it was dumping part of the file
into the response, or something. I don't know. It was the client who put
me onto the solution, actually. He noticed that there was another upload
page that was giving the same error, and said, "Looks like it has
something to do with file uploads." I then noticed that PHP was giving a
UPLOAD_ERR_PART IAL error. On a hunch I had the ops people restart the
http daemon, and it straightened right out.

Still, a very bizarre error.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #4
On Thu, 10 Jun 2004 11:41:33 -0500, Alan Little
<al**@n-o-s-p-a-m-phorm.com> wrote:
Carved in mystic runes upon the very living rock, the last words of
Virgil Green of comp.lang.php make plain:
"Alan Little" <al**@n-o-s-p-a-m-phorm.com> wrote in message
news:Xn******** *************** ***@216.196.97. 132...
This is very bizarre. Could someone else have a look at this? Maybe
you can see something I'm overlooking. Go here:

http://www.newsletters.forbes.com/en...n/deliver.php4

U: bugtest P: test

Enter 1 for "How many files in this delivery?" and select a file to
upload, in one of the listed formats. Scroll down and click "Test
Email".

You should get

Cannot modify header information - headers already sent in
/usr/home/enpusr/enews/auth.php3 on line 49

Cannot modify header information - headers already sent by (output
started at /usr/home/enpusr/enews/auth.php3:49) in
/usr/www/users/enpusr/enews/admin/deliverx.php4 on line 83

There are a number of very weird things about this. First, auth.php3
is used by every single page in the application, but only has a
problem with this one. Second, the second message is saying output
started in auth.php3 on line 49, but that's a header() call:

header("Set-Cookie: pk=$NewKey; path=/; domain=.$AuthDo main");


No, it said "headers already sent" in auth.php3 on line 49... and then
you demonstrated exactly that.


Yes, but the second error says that's where output started.


The "output" in this case is the first error message.

--
David ( @priz.co.uk )
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
21343
by: mamo74 | last post by:
Hello. I am administering a SQL Server (Enterprise Edition on Windows 2003) from some month and can't understand what is going on in the latest week (when the db grow a lot). The DB is around 250G, and has one table with 1 billion rows. It is performing in a decent way, but can't understand why a particolar table has strong performance problem.
11
1742
by: Frances Del Rio | last post by:
this is so bizarre, and don't even know if this is right place to ask, but don't know where else: about two days I changed webhosting, changed DNS for my domain, francesdelrio.com, now when I view my site, www.francesdelrio.com from work it looks fine, just like it should (black bg, a bunch of links in green fonts sitting on a green-tone graffiti-graphic..) and all links work.. but: when I view it from home it takes me to old server!!...
1
1304
by: Richard | last post by:
Here's a Bizarre one: I have a C# service program. The service registers and runs fine on one machine but when I copy the EXE to a second machine and try to use InstallUtil to register the service on the second machine it bails out with: "No publicly exported Installers with RunInstaller attribute set to Yes" This is bizarre since the EXE does register on one machine. I checked and I am an Administrator on the target install machine...
11
1375
by: wASP | last post by:
Hi, I've got a pair of int properties in a class. The properties in question are indexing values - but that's not relevant to my problem - or it's just symptomatic ... sort of. They are declared as follows:
1
1353
by: Michael Carr | last post by:
I have created a website that responds to the following two domain names: logintest.carr-engineering.com logintest.onualumni.org If you open either of these websites on their own, everything works fine. However, if you open both of them simultaneously in two frames of a frameset, wierdness ensues. To demonstrate this, open the following link: http://logintest.onualumni.org/frametest.htm
1
2697
by: zoehart | last post by:
I'm working with VBScript to build a text email message. I'm seeing a variety of bizarre formatting issues. The following lines of code MT = MT & vbCrLf & "Card Type: " & CardType MT = MT & vbCrLf & "Credit Card Number: " & objBOWallet.Encrypt(Payment.) If Not IsNull(Payment.) Then MT = MT & vbCrLf & "Expiration Month: " & Payment. End If If Not IsNull(Payment.) Then MT = MT & vbCrLf & "Expiration Year: " & Payment. End If
0
371
by: ckfan.painter | last post by:
I've run into a seemingly bizarre problem with insert() for std::vector. (This was done on Microsoft Visual C++ 2005 express version 8...maybe it is a compiler specific bug?) Here's the code: //=================== // vector tester 3.cpp : main project file.
52
2548
by: robert | last post by:
I'm very pleased to announce that Foundations of F#, the first book to be published on the F# programming, will finish its first printing run, tomorrow, Friday 25th May. It should reach any pre-order customers between 5 to 10 days later, meaning if ordered it on Amazon or Borders (or any other online store), it should be with you before the end of May. A few weeks after that it should start appearing in books stores, at least bookstores...
6
1150
by: maya | last post by:
hi, http://www.mayacove.com/design/nav/nav.html this dynamic menu is working fine in FF and IE7, but in IE6 can only test in that "stand-alone" IE6 (http://browsers.evolt.org/?ie/32bit/standalone, last one on the list) b/c you can't have both IE7 and IE 6 installed.. but I think there's something wrong this "stand-alone" IE6, b/c in it I get this bizarre JavaScript error when I mouse over one of the links in green ("the specified...
0
9621
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10264
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.