Re: [site is acting strange] - blank pages, download index.php, or works fine
| From: | Ashley Sheridan | Date: | Fri, 30 Jul 2010 18:50:52 +0000 |
| Subject: | Re: [site is acting strange] - blank pages, download index.php, or works fine | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307259@lists.php.net to get a copy of this message | ||
On Fri, 2010-07-30 at 13:38 -0400, Adam Richardson wrote:
> On Fri, Jul 30, 2010 at 11:35 AM, Bill Guion <bguion@comcast.net> wrote:
>
> > At 6:45 PM -0600 7/29/10, Tristan wrote:
> >
> > Yeah like i said site works 95% of the time when navigating. PHP5.2, Mysql
> >> 5. The site is completely dynamic so it wouldn't work at all if that was
> >> the
> >> case of it not being installed right.
> >>
> >> so the other 5% of the time is blank pages and download index.php files.
> >> In
> >> Firefox when you get a blank page, if you click view source it will show
> >> all
> >> the code that should be there but, I can't tell if it's requesting the
> >> page
> >> again when you do that. It never fails 2 times in a row. A refresh will
> >> always fix it. When you look in firebug there is no html so it leads me to
> >> believe FF may be doing just that...going for a second request instead of
> >> viewing currently opened source? In IE8 I would get something like
> >>
> >> diagnose problem button
> >>
> >> more information drop down with
> >>
> >> this problem can be caused by a variety of issues..this is a completely
> >> typical M$ error with no valid help
> >>
> >>
> >>
> >> chrome same thing with
> >>
> >> web page cannot be displayed
> >>
> >> more information etc...
> >>
> >>
> >>
> >>
> >>
> >> On Thu, Jul 29, 2010 at 6:36 PM, David McGlone <david@dmcentral.net>
> >> wrote:
> >>
> >> On Thu, 2010-07-29 at 18:11 -0600, Tristan wrote:
> >>> > I have the strangest issue with my host. They can't figure it out and
> >>> I'm
> >>> > completely perplexed. We have other sites running on the server just
> >>> fine.
> >>> > However, this new site is acting very weird. Sometimes we get blank
> >>> pages,
> >>> > sometimes we get a blank page and then a dialog pops up asking if we
> >>> want
> >>> to
> >>> > download index.php, and then sometimes the site is working fine. Any
> >>> ideas
> >>> > on this?
> >>> >
> >>> > I'm at ends. Appreciate any advice. For authentication we are using
> >>> mysql
> >>> > auth module in apache/linux and proxy pass. We removed proxy pass to
> >>> see
> >>> if
> >>> > that was it but, it wasn't. its a members.domain.com subdomain if
> >>> that
> >>> > helps.
> >>>
> >>> Do you have php-mysql installed?
> >>>
> >>>
> >>> --
> >>> Blessings,
> >>> David M.
> >>>
> >>>
> >>>
> > Does the page validate at
> > http://jigsaw.w3.org/css-validator/?
> >
> > -----===== Bill =====-----
> > --
> >
> > Don't find fault. Find a remedy. - Henry Ford
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> Tristan,
>
> The good news is that you're not crazy. I've had this exact issue (at least
> in terms of symptoms) when working with one of my client's websites.
>
> The bad news is that this was long ago, I was using a shared host, and I'm
> not the one who cause or, more importantly, fixed the problem. That said,
> I've strained my memory to try and recall what might have been said in the
> follow-up from the host, and it seems like there was a mime-type handling
> issue (again, I could be completely wrong, this is just a faint memory.)
>
> Another faint memory: are you able to see a difference in behavior when you
> view an index file with the file included in the url (
> http://yoursite.com/index.php) as opposed to when you view the
> page without
> it in the url (http://yoursite.com)?
>
> Sorry, I wish I still had my email exchange with the company to see what
> information they provided after the fix :(
>
> Adam
>
Actually, you just saying that made me think of a similar problem I had
once with IIS serving up files. It was XML files rather than PHP, but
the Mime issue does ring a bell!
Is the server you're using IIS Tristan?
Thanks,
Ash
http://www.ashleysheridan.co.uk