Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
WebDan
New Member
New Member



Joined: Sep 28, 2003
Posts: 5

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

Just installed KISGB on my website, [ Only registered users can see links on this board! Get registered or login! ]
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: 17088

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

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
WebDan







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

I thought you might be interested that incorrect HTML is being generated.
Confused
 
Raven







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

I think you misunderstood my reply. I am not understanding what you are trying to tell me.
 
WebDan







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

On my KISGB [ Only registered users can see links on this board! Get registered or login! ]
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
 
Raven







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

Oh - ok. Now I see what you are talking about. I'll look into it. Thanks.
 
Raven







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

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!
 
WebDan







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

That is correct.
Lines 500-503 should be moved down after line 504.
Thank you!
Cool
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©