Forums

PHP

This topic is locked

Phakt probs

Posted 21 Oct 2001 19:01:36
1
has voted
21 Oct 2001 19:01:36 Peter Hawkes posted:
I am getting this warning on a page made with Phakt, actually this warning comes up with all pages using the Delete, Insert or Update behaviours.

Warning: Cannot add header information - headers already sent by (output started at /home/david/public_html/Connections/connDad.php:33) in /home/david/public_html/db/update.php on line 99

I have just ordered ImpAKT but not sure when it will come. Anyway, is this a common problem, or how can I fix it?

I don't any problems when testing on Win(* running PHP with PWS, I only get this problem when the site is uploaded on my Linux web space. All pages displaying records work fine.

Thanks

Pete

Replies

Replied 21 Oct 2001 19:47:31
21 Oct 2001 19:47:31 Tim Green replied:
This error occurs when output is being sent to the browser before the header line is being sent.

Unfortunately this can be a simple matter of an extra space where it shouldn't be. I don't know why your Win setup is working ok but it isn't working on your Linux space. It could be that you have some form of cache running by default on your Win PHP Configuration.

Anyway, you need to check out your Connections file (connDad.php) and also the file update.php, and go through them with a fine toothed comb to make sure that there are no blank lines between PHP code blocks and that there are no erroneous HTML tags floating around.

Hope this helps

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 21 Oct 2001 19:54:58
21 Oct 2001 19:54:58 Peter Hawkes replied:
Thanks very much Tim,

I did actually subscribe to the Phakt bug tracker and saw your comments on this. I have removed the spaces from my connDad file and that seems to have worked.

I have just ordered ImpAKT, whats your opinion of that compared to the free Phakt?
Do they not send ImpAKT instantly, do they wait for the money to go through first? All my other online software purchases send straight away.. just wondering.

Thanks for your help

Pete <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
This error occurs when output is being sent to the browser before the header line is being sent.

Unfortunately this can be a simple matter of an extra space where it shouldn't be. I don't know why your Win setup is working ok but it isn't working on your Linux space. It could be that you have some form of cache running by default on your Win PHP Configuration.

Anyway, you need to check out your Connections file (connDad.php) and also the file update.php, and go through them with a fine toothed comb to make sure that there are no blank lines between PHP code blocks and that there are no erroneous HTML tags floating around.

Hope this helps

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Replied 25 Oct 2001 17:15:23
25 Oct 2001 17:15:23 Tim Green replied:
Sorry for the delay in responding. I've been rather busy of late.

As a member of the IMPAkT development team, I must say that I have great faith in the product, and I'm sure that you will like it!

Unfortunately, I don't know what the procedure is for distribution after purchase. If you still haven't received your copy of IMPAkT I would suggest that you email Interakt direct.

As for other comments on IMPAkT/PHAkT, well, my opinion is rather biased. Perhaps you should start a new thread and ask other people's opinions ?

All the best

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic