$250 reward for solving Flash/PHP problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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

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
-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.)
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

If I had an strace of IE while it was failing, we might be somewhere.
Has anybody ever seen anything like this before?

Re: $250 reward for solving Flash/PHP problem

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.

Re: $250 reward for solving Flash/PHP problem

On 13 Apr 2005 12:14:51 -0700, david.yehaskel@golfsmith.com wrote:

Quoted text here. Click to load it

 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

 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.

<http://www.andyhsoftware.co.uk/space Space: disk usage analysis tool

Re: $250 reward for solving Flash/PHP problem

Andy Hassall wrote:

Quoted text here. Click to load 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?


Re: $250 reward for solving Flash/PHP problem

david.yehaskel@golfsmith.com wrote:
Quoted text here. Click to load it

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.

Site Timeline