PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Lateron
Worker
Worker


Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.

PostPosted: Sat Mar 27, 2004 3:45 am Reply with quote Back to top

This is just a post which I thought might be of interest.

I did a search on Google on one of my sites and was excited to see I got 180 odd hits. However when I started looking at them most of them were for includes/sessions errors on line 250. If I looked at the cached page on Google for these entries it they showed errors like this:


Quote:
Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.abcxyz123.net/home/includes/my_header.php:64) in /web/htdocs/www. abcxyz123.net/home/includes/sessions.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /web/htdocs/www.abcxyz123.net/home/includes/my_header.php:64) in /web/htdocs/www.abcxyz123.net/home/includes/sessions.php on line 250


So being in detective mode, I entered includes/sessions in Google and got 222,000 hits. I couldn't look at all of them but those that I did all had the above error messages.

It seems that Google and phpnuke's includes/sessions don't like each other for some reason or another.

As I said this might be of interest (yes, I know I should get a life but it's Saturday night Down Under, it's raining, it's cold and I've had three bowls of ice cream and can hardly move ........ Wink )

Ron.....

PS Has anyone noticed that Google indexes nuke's homepages, blocks etc but apparently not the forums?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Mar 27, 2004 6:47 am Reply with quote Back to top

My forums are indexed. I don't think you're interpreting those results correctly Smile. Those header messages would appear to be valid for a point in time. At one time that would have been the errors that visitors were receiving until you fixed it. Is that possible?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Lateron
Worker
Worker


Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.

PostPosted: Mon Apr 05, 2004 12:28 am Reply with quote Back to top

I have watching my Google entries since starting this topic and now think that everytime Google tries to index phpnuke forums it creates a cached page with:

Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/australianopinion.com/httpdocs/header.php:33) in /home/httpd/vhosts/australianopinion.com/httpdocs/includes/sessions.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/australianopinion.com/httpdocs/header.php:33) in /home/httpd/vhosts/australianopinion.com/httpdocs/includes/sessions.php on line 250
Australian Opinion: Forums

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/australianopinion.com/httpdocs/header.php:33) in /home/httpd/vhosts/australianopinion.com/httpdocs/includes/page_header.php on line 525

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/australianopinion.com/httpdocs/header.php:33) in /home/httpd/vhosts/australianopinion.com/httpdocs/includes/page_header.php on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/australianopinion.com/httpdocs/header.php:33) in /home/httpd/vhosts/australianopinion.com/httpdocs/includes/page_header.php on line 532


Now there are a two hundred or so Google entries like this for my site and the cached pages all have different dates, some only a day or two ago.

Now this doesn't just apply to my site but to hundreds of other phpnuke sites (just input 'httpdocs/includes/sessions.php' into Google). If I could get to the bottom of this it might mean better indexing on Google.

Ron...
View user's profile Send private message Visit poster's website
Rikk03
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

PostPosted: Mon Apr 05, 2004 12:37 am Reply with quote Back to top

that sounds familiar...........its a common error - the header.php:33, try changing the
Code:

include("header.php");

into
Code:

require_once("header.php);

or
Code:

include_once("header.php");

where ever the duplicate call is from ie page_header.php.


Richard[/quote]
View user's profile Send private message
Lateron
Worker
Worker


Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.

PostPosted: Mon Apr 05, 2004 12:43 am Reply with quote Back to top

Thanks, Richard, I will give that a try and come back here in a week or three and let you know the results.

Ron...
View user's profile Send private message Visit poster's website
Rikk03
Worker
Worker


Joined: Feb 16, 2004
Posts: 164

PostPosted: Mon Apr 05, 2004 12:53 am Reply with quote Back to top

Code:
require_once


Try that one first.........thats how i fixed the same problem.

Richard
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum