Page Displaying problem !!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
faisala
Forum Newbie
Posts: 5
Joined: Wed Oct 30, 2002 10:10 am

Page Displaying problem !!

Post by faisala »

Helloo all,

I have a problem on when accessing some php pages through the browser.

The page doesn't downloading to the browser proprely. Some html codes spreads on the php page.

Then, if i refresh the page ( browser) once , the php page displaying properly

I dont know the problem exactly

if anybody have same problem and fixed please reply back to me

Faisal
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

do you have an example that we could see and/or some code that we can look at? what you described sounds rather generic and could be any number of problems.
faisala
Forum Newbie
Posts: 5
Joined: Wed Oct 30, 2002 10:10 am

page displaying (downloading) problem

Post by faisala »

I am posting here some parts of the page, at the end of the page you can see the spreaded html code . But if I refresh the page displaying properly without the html code. And the problem not occuring everytime, only sometimes. I already using ob_start(); at the top of the pages. I used ob_end_flush() also.

When i check the view source , i can find the page not downloded completely



***************************************************

Starring : Kevin Costner, Joe Morton, Kathy Bates, Ron Rifkin, Linda Hunt, Susanna Thompson
Directed By : Tom Shadyac
Rating : 15
Running time : 103 Minutes
Classification : Thriller
Language : English
SYNOPSIS : A grieving doctor is being contacted by his late wife through his patients near death experiences.


<="81" valign="top" align="center" bgcolor="#FFFFFF" style="border-left: 1px solid rgb(255,255,255)">

*********************************************************
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

see what happens if you remove the ob_start() and ob_end_flush() functions. if the page then displays fine with no problems then my guess is that there is a problem with your web server. if this does not fix the problem then some more detail will be required cause what you posted doesn't help. some PHP code or HTML markup would be really help.
faisala
Forum Newbie
Posts: 5
Joined: Wed Oct 30, 2002 10:10 am

Page displaying problem

Post by faisala »

Hi

Thanks for your reply,

I was not used ob_start() or ob_end_flush before ,

When i found this display problem(occures very rarely)
i put ob_start() and ob_end_flush();

this is the website address http://1stopcinema.com/

From the home page ,search for any movie , from the result , try to view the movie details page which is Movie.php

May be u will not find the problem , then try another movie


Becuase it occures very rarely,,


Thanks for the reply,,

Faisal
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

i don't know man. i looked at three differnet movies (Red Dragon, The Tuxedo, Dragonfly <- the example you used) and couldn't see anything wrong with the display. on each page i searched the html for even the slightest hint of what you posted but could not find it. (although finding anything in you html markup is hard cause it has no structure at all). i honestly don't know what to tell you.
faisala
Forum Newbie
Posts: 5
Joined: Wed Oct 30, 2002 10:10 am

Page displaying problem!!

Post by faisala »

Hello all ,,

I can't get a solution upto now for the above issue.

But i am here posting another problem which almost in the same category of the problem discussed above.
The both sites ie; in 1stopcinema.com which is explained above.

and now in http://www.vtradezone.com

In this site, i am using a drop down menu, which is using javascript,

Not downloading to the browser completely and it appears as a garbage on the page.
But if i refresh the page it works.

In both stages i review the source of the page from the browser, but it looks exactly the same.

And also i am using the same menu on another ASP sites , and it works without any problem.

vtradezone.com is using PHP , so i thing this is some problem in PHP or some configuration is needed.

So please advise me in this issue..


Regards,

Faisal
Post Reply