PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
WebDan
New Member
New Member


Joined: Sep 28, 2003
Posts: 5

PostPosted: Sun Sep 28, 2003 5:48 pm Reply with quote Back to top

Just installed KISGB on my website,
Only registered users can see links on this board!
Get registered or login to the forums!

When viewing the index page source, the page header is out of place. It's between the /HEAD and BODY tags. In the source file, index.php, line 308-310, it appears that the header.php file should be included after the BODY tag.

The web page displays correctly, however.

Any ideas?
Question
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Sun Sep 28, 2003 5:51 pm Reply with quote Back to top

I'm sorry, I'm not understanding the problem? If the web site is displaying correctly, then what's the issue?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
WebDan
New Member
New Member


Joined: Sep 28, 2003
Posts: 5

PostPosted: Tue Sep 30, 2003 9:31 pm Reply with quote Back to top

I thought you might be interested that incorrect HTML is being generated.
Confused
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Tue Sep 30, 2003 9:34 pm Reply with quote Back to top

I think you misunderstood my reply. I am not understanding what you are trying to tell me.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
WebDan
New Member
New Member


Joined: Sep 28, 2003
Posts: 5

PostPosted: Wed Oct 01, 2003 6:50 pm Reply with quote Back to top

On my KISGB
Only registered users can see links on this board!
Get registered or login to the forums!

When the PHP script on the page generates the HTML for the page, the code that is in the "header.php" file appears between the /HEAD and the BODY tags. You can see this when you View Source for the page. This code should be immediately after the BODY tag. As you well know, there should be no HTML between HEAD and BODY.

I don't understand how this is happening because the code of the PHP script would appear to be placing the header properly.

Nevertheless, because the browser is somewhat forgiving of HTML errors, the page displays properly on the screen. The display is OK even if the HTML is incorrect.
Confused
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Wed Oct 01, 2003 7:05 pm Reply with quote Back to top

Oh - ok. Now I see what you are talking about. I'll look into it. Thanks.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


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

PostPosted: Thu Oct 02, 2003 7:03 am Reply with quote Back to top

Would you please test this? In index.php, find this code
Code:
</head>
<?
if ($page_alignment_center) echo "<center>";
if ($use_header_view) @include("header.php");
?>
<body VLINK="<?echo $Vlink_visited_color?>" LINK="<?echo $Vlink_color?>" ALINK="<?echo $Vlink_active_color?>">
<form name="kisgb_view">
and modify it to this
Code:
</head>
<body VLINK="<?echo $Vlink_visited_color?>" LINK="<?echo $Vlink_color?>" ALINK="<?echo $Vlink_active_color?>">
<?
if ($page_alignment_center) echo "<center>";
if ($use_header_view) @include("header.php");
?>
<form name="kisgb_view">
Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
WebDan
New Member
New Member


Joined: Sep 28, 2003
Posts: 5

PostPosted: Sat Oct 04, 2003 9:26 am Reply with quote Back to top

That is correct.
Lines 500-503 should be moved down after line 504.
Thank you!
Cool
View user's profile Send private message Visit poster's website
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