This is a discussion on $250 reward for solving Flash/PHP problem within the PHP Language forums, part of the PHP Programming Forums category; Seriously. The first person to provide information that leads to the arrest or apprehension of this problem will promptly be ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Seriously. The first person to provide information that leads to the
arrest or apprehension of this problem will promptly be mailed a $250 gift card to the store of your choice (I don't think we can swing cash or PayPal for accounting reasons, sorry - this is almost as good, though, isn't it?) We are having a heck of a time nailing this one down because the problem is so intermittent. I've collected some thoughts from our IS guy with some guesses, theories, things to rule out, etc. All we need is an idea of what to check (with some minor details that he can understand) and maybe how to fix it. Feel free to send as many possible answers as you want. To see the problem in action, check out some examples starting at this page: http://www.golfsmith.com/ps/category/personalization/ Here's the problem: We're running PHP 4.3.3/Apache 1.3.28 on some Red Hat Enterprise boxes, and we're running into a problem with pages failing to display. There are some flash files embedded in some of our product pages which allow people to see the end result of the personalization that they do to the products in question. For example, one of these flash files will take the text written in an HTML <input> text box and make it appear on the image of golf tees in the flash file. The problem is, sometime earlier this year, these pages ceased displaying regularly. Generally, the pages display correctly the first time a user visits the page. However, after reloading once or twice, the page ceases to display completely. Zip, zilch, nada, blank page. -This is true whether we view a php page or the saved HTML source of the page. (It's not php.) -This is true whether we view the HTML in our dev, test, or live environments, although it seems to happen _less often_ with a different server that we haven't kept up to date. It still happens intermittently with that server, though. (It's not an individual host being flaky, although it could theoretically be some configured value common among them. Can't find it, though.) -The problem goes away if we change the path name of the flash file to something that 404s. All the HTML still there, no flash file == Working page. (It's not the HTML independent of the flash.) -The problem does not happen on other pages, even though we have a different (smaller, non-interactive) flash file in our header. (It's not a problem with all flash files.) -We cannot find a pattern. Some files seem to behave (correctly or incorrectly) more consistently than others, but we can't even agree internally on which are the worst and best about behavior. -Once a flash-containing page breaks, almost all of our personalization pages become unviewable as well. This suggests that something stateful has changed in the browser. -Some people have had luck viewing other pages after they clear their cache. -This has only been viewed using IE, for a variety of reasons. -The first <td> tag in the page-enclosing table, when removed, allows the page AND MOVIE to display in spite of previously breaking. However, we kind of need that. >< My theory is that either a)our hosts are somehow misconfigured (Though I couldn't find the break-complicated-flash-files configuration option in our httpd.conf.) OR b)there's some issue on the browser side that crashes the flash movie player (and it subsequently takes down IE's rendering engine, and keeps taking it down every time an actionscript-bearing movie gets played.) If I had an strace of IE while it was failing, we might be somewhere. Has anybody ever seen anything like this before? |
|
|||
|
On 13 Apr 2005 12:14:51 -0700, david.yehaskel@golfsmith.com wrote:
>To see the problem in action, check out some examples starting at this >page: http://www.golfsmith.com/ps/category/personalization/ From looking at a few pages it looks like you've commented out the Flash, so it can't be seen in action... which page actually has the Flash uncommented in it? Also there are a large number of HTML validation errors on those pages - the further from valid HTML you get the less predictable the rendering. -- Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk> <http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
I didn't see any Flash either. I was greeted by a blank page though
when I clicked on one of the links. The actual page would eventually appear after 10 ~ 20 seconds. Don't think that's the problem you're referring to but such long query time is unusual. Your database could use some serious tweaking it seems. |
|
|||
|
Andy Hassall wrote:
> On 13 Apr 2005 12:14:51 -0700, david.yehaskel@golfsmith.com wrote: > >>To see the problem in action, check out some examples starting at this >>page: http://www.golfsmith.com/ps/category/personalization/ > > From looking at a few pages it looks like you've commented out the Flash, > so > it can't be seen in action... which page actually has the Flash > uncommented in it? > The plot thickens....when I look at the source code for that page I can't find 'embed' or 'flash' in it anywhere. Is this a single webserver or several? If the latter, are you sure they're singing from the same hymn sheet? C. |
|
|||
|
david.yehaskel@golfsmith.com wrote:
> Seriously. The first person to provide information that leads to the > arrest or apprehension of this problem will promptly be mailed a $250 > gift card to the store of your choice (I don't think we can swing cash > or PayPal for accounting reasons, sorry - this is almost as good, > though, isn't it?) > > We are having a heck of a time nailing this one down because the > problem is so intermittent. I've collected some thoughts from our IS > guy with some guesses, theories, things to rule out, etc. All we need > is an idea of what to check (with some minor details that he can > understand) and maybe how to fix it. > > Feel free to send as many possible answers as you want. > > To see the problem in action, check out some examples starting at this > page: http://www.golfsmith.com/ps/category/personalization/ > > Here's the problem: > > We're running PHP 4.3.3/Apache 1.3.28 on some Red Hat Enterprise > boxes, and we're running into a problem with pages failing to > display. > > There are some flash files embedded in some of our product pages which > allow people to see the end result of the personalization that they do > to the products in question. For example, one of these flash files > will take the text written in an HTML <input> text box and make it > appear on the image of golf tees in the flash file. > > The problem is, sometime earlier this year, these pages ceased > displaying regularly. Generally, the pages display correctly the first > time a user visits the page. However, after reloading once or twice, > the page ceases to display completely. Zip, zilch, nada, blank page. > > -This is true whether we view a php page or the saved HTML source of > the page. (It's not php.) > -This is true whether we view the HTML in our dev, test, or live > environments, although it seems to happen _less often_ with a different > server that we haven't kept up to date. It still happens > intermittently with that server, though. (It's not an individual > host being flaky, although it could theoretically be some configured > value common among them. Can't find it, though.) > -The problem goes away if we change the path name of the flash file to > something that 404s. All the HTML still there, no flash file == > Working page. (It's not the HTML independent of the flash.) > -The problem does not happen on other pages, even though we have a > different (smaller, non-interactive) flash file in our header. (It's > not a problem with all flash files.) > -We cannot find a pattern. Some files seem to behave (correctly or > incorrectly) more consistently than others, but we can't even agree > internally on which are the worst and best about behavior. > -Once a flash-containing page breaks, almost all of our personalization > pages become unviewable as well. This suggests that something stateful > has changed in the browser. > -Some people have had luck viewing other pages after they clear their > cache. > -This has only been viewed using IE, for a variety of reasons. > -The first <td> tag in the page-enclosing table, when removed, allows > the page AND MOVIE to display in spite of previously breaking. > However, we kind of need that. >< > > My theory is that either > a)our hosts are somehow misconfigured (Though I couldn't find the > break-complicated-flash-files configuration option in our httpd.conf.) > OR > b)there's some issue on the browser side that crashes the flash movie > player (and it subsequently takes down IE's rendering engine, and > keeps taking it down every time an actionscript-bearing movie gets > played.) > > If I had an strace of IE while it was failing, we might be somewhere. > Has anybody ever seen anything like this before? > No flash found here, either. I did find some pages with missing pictures (in Firefox). These had javascript errors; however, turning off javascript seemed to make no difference on any of the pages I saw (missing or not missing graphics)/ -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |