I have a php page that has Page HTML Markup after . That 'after
' markup is essentially
<?php
Initialise some $_SESSION arrays;
include('fileA');
include('fileB');
?>
fileA and fileB are both generated by that main FW document as
separate pages with the PHP Make Insert Page Action applied. They are
intended to be floating
s that are switched between display:none
and display:inline by JS and triggers on the main page and the
floating
s themselves. Before fileB was added all worked.
Viewing the uploaded page with TextWrangler I see what I expect. The
above followed by the main
of the main page. The first tag
within that main
is a tag which has its
immediately before the
of the main page.
When I visit it in Safari or Firefox and use the inspector/firebug I see:
The tag
A tag
The
that is fileA
A tag
The
that is fileB
The
that is the main page.
The tag as expected
the main content
The tag as expected
The
ending the main content
The spurious tag is a duplicate of the intended one further
down. There is only one pair of tags in the uploaded
page according to TextWrangler.
Any idea what might be triggering this?
A typical page is http://kirkhouse.me.uk/testTest/product.php?range=Wood%20Stacking%20Chairs&code=BB0312CB001
but this is my live test page being edited and may work or fail for
other reasons after 9am BST. As it’s not working I don’t have it
elsewhere. The best stable page is at /newTest/ rather than
/testTest/, but that is less complete and doesn’t include the problem
code.
David
–
David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden www.ivdcs.co.uk
will get you there but it’s will be being worked on again soonish
after 9am BST (GMT+1). After that if there are no other ideas I’ll be
hacking with it again.
David
–
David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden www.ivdcs.co.uk
Try changing include to require_once and see if the problem follows. Include doesn’t throw errors, require dies immediately. Require once means it won’t ever call the same file twice.
Walter
On May 18, 2011, at 4:59 PM, David Ledger email@hidden wrote:
will get you there but it’s will be being worked on again soonish after 9am BST (GMT+1). After that if there are no other ideas I’ll be hacking with it again.
David
–
David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden www.ivdcs.co.uk
Try changing include to require_once and see if the problem follows.
Include doesn’t throw errors, require dies immediately. Require once
means it won’t ever call the same file twice.
Tried that and after fixing some bits that that threw up that problem
is gone. Now some things that were working fine before I started on
the current piece are broken.
Thanks again.
On May 18, 2011, at 4:59 PM, David Ledger email@hidden wrote:
will get you there but it’s will be being worked on again soonish
after 9am BST (GMT+1). After that if there are no other ideas I’ll
be hacking with it again.
David
–
David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden www.ivdcs.co.uk