Thoughts Media.com

 




  #1 (permalink)  
Old 01-25-2004, 12:11 AM
Mystic
Join Date: Sep 2003
Posts: 1,830
Default PHP Error - Help!

Hello PPCC members!

I am making a website on a free server on lycos.co.uk and I am getting this error on the main page because Im trying to take the first category of my PHPBB forum and make it show up on the main page as news (View Here)

Here is the error:

Code:
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/uk/p/o/c/pocketpcconnection/htdocs/index.php:8) in /data/members/free/tripod/uk/p/o/c/pocketpcconnection/htdocs/forum/includes/sessions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/uk/p/o/c/pocketpcconnection/htdocs/index.php:8) in /data/members/free/tripod/uk/p/o/c/pocketpcconnection/htdocs/forum/includes/sessions.php on line 294
Can someone shed some light on this for me?

-Justin.
 
Reply With Quote
  #2 (permalink)  
Old 01-25-2004, 04:11 AM
Pontificator
Join Date: Jul 2003
Posts: 1,220

This can often be solved by enabling PHP output buffering, but I kinda doubt you'll be able to do it on a free, essentially public server since the providers rarely give users that level of access to the system.

Since that Lycos server runs Apache, if you have the ability to edit the .htaccess file, add the line PHP_FLAG output_buffering on to it. You can also enable output buffering in the php.ini file, but again, I doubt Lycos gives users the ability to do that. (Besides, changing the ini file would require some services on the server to be restarted.)

If you can edit the .htaccess file, give that line a try; otherwise, I'm not sure what to tell you. I had to enable this setting for my site due to the same error and haven't seen it since. Somewhat annoyingly, some pages of my site showed up in Google with that error as the page description since that's what the GoogleBots saw when crawling the site.

This page gives some info about output buffering if you're interested.
__________________
Parenthetical remarks (however relevant) are (usually) unnecessary.
 
Reply With Quote
  #3 (permalink)  
Old 01-25-2004, 05:14 AM
Philosopher
Join Date: Feb 2004
Posts: 551

Don't have any help, but I was curious, Justin:

Are you paying anything to keep that site up? (besides your isp conn.)

I also noticed you have a hotmail address...
 
Reply With Quote
  #4 (permalink)  
Old 01-25-2004, 06:20 AM
Mystic
Join Date: Sep 2003
Posts: 1,830

Quote:
Originally Posted by Dave Beauvais
... a free, essentially public server...
Well - there is the answer to your first question. Yes, it is free! I am looking into a paid one though...

And you think I would give out an email address that I have paid for? I use hotmail on all my sites because I dont really care if I get spam. We have paid internet and paid email accounts, don't know what you are really looking for here lol

-Justin.

And thank you SO MUCH Dave! Im going to try that and see. I knew that when you answered this topic that I was actually going to get some real good help :way to go:
 
Reply With Quote
  #5 (permalink)  
Old 01-25-2004, 06:27 AM
Philosopher
Join Date: Feb 2004
Posts: 551

I have both paid and unpaid e-mail accounts.

I have about.... seven e-mail addresses (hotmail, rcn, yahoo, etc.)

One of which is paid for :wink:

I asked because I wanted to know if it was possible to create a very up-to-date and interactive site with customer service for a little less than a penny.
 
Reply With Quote
  #6 (permalink)  
Old 01-25-2004, 06:35 AM
Mystic
Join Date: Sep 2003
Posts: 1,830

You can do a lot with Lycos because they support MYSQL and PHP, but only 1 database and bandwidth is limited.

-Justin.
 
Reply With Quote
  #7 (permalink)  
Old 01-26-2004, 09:32 PM
Mystic
Join Date: Sep 2003
Posts: 1,830

Dave,

It turns out they will not let you edit the HTACCESS file. They have one, but it is invisible. I made my own, it comes up as Server Error. Oh well...

-Justin.
 
Reply With Quote
  #8 (permalink)  
Old 01-27-2004, 02:49 AM
Pontificator
Join Date: Jul 2003
Posts: 1,220

That's too bad, but really not all that surprising. With the number of things you can do with .htaccess files, it makes sense to prohibit their use on free, public servers with many of hosted sites. You might try asking if they can enable output buffering in the server's php.ini file, but I'd be shocked if you even got a human response, let alone have them make the change.
__________________
Parenthetical remarks (however relevant) are (usually) unnecessary.
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 05:47 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Copyright Thoughts Media Inc. 2007