[tngusers2] Help with PHP, please?
Stephen Rowe
stephen at ser.id.au
Tue May 26 02:57:09 CDT 2009
Russ,
First - don;t know where that advertising came from - certainly isn;t
mine...are you placing adverts in responses?
Second - and lets wrap this up - You are correct in that the final tag
doesn't have a start tag BUT there is still a missing start tag for the
second ?> tag. As I said - miss-matched tags can and will cause
unpredictable results - fix the php syntax first before messing around with
anything else otherwise Micah will never get to the bottom of what is
causing the issue.
Stephen Rowe
Melbourne, Australia
http://www.ser.idu.au
http://www.mtb-images.com.au
stephenr at ser.id.au
From: tngusers2-bounces at lythgoes.net [mailto:tngusers2-bounces at lythgoes.net]
On Behalf Of rgstrong-genes
Sent: Tuesday, 26 May 2009 5:37 PM
To: TNG Users List
Subject: Re: [tngusers2] Help with PHP, please?
Stephen
Here is the snippet of your comment:
SNIPPET:
The Television Waiting Room. Read at Playwrights Horizons, New York, NY.
1984.
</td></tr></table>
<?php tng_footer( "" );
?>
Again - there is no matching start tag for this end tag.
>From this it appears you have a start php tag but THREE end tags so,
somewhere, either the code has been omitted or it isn;t being included
properly.
END SNIPPET
Right above the highlighted php closing tag is the php opening tag for that
one.
Russ
----- Original Message -----
From: Stephen Rowe <mailto:stephen at ser.id.au>
To: 'TNG Users List' <mailto:tngusers2 at lythgoes.net>
Sent: Monday, May 25, 2009 11:03 PM
Subject: Re: [tngusers2] Help with PHP, please?
Russ,
Maybe it is the way it has been cut and pasted then as I don;t see it in the
email I received on the list.
Worth looking at though - if a matching tag is missing, anything can (and
probably will!) happen J
Stephen Rowe
Melbourne, Australia
http://www.ser.idu.au
http://www.mtb-images.com.au
stephenr at ser.id.au
From: tngusers2-bounces at lythgoes.net [mailto:tngusers2-bounces at lythgoes.net]
On Behalf Of rgstrong-genes
Sent: Tuesday, 26 May 2009 10:39 AM
To: TNG Users List
Subject: Re: [tngusers2] Help with PHP, please?
Stephen,
Actually that last php closing tag does have an opening tag! It is <?php
tng_footer(""); on the line before it.
Micah is the directory 'sternfamily.info' the directory where your TNG files
reside? If it is not then this is where the problem is being generated from.
The opening lines will only work if it is relative to your TNG file
directory. If your TNG directory is one more level up then you can change
the line that says
$cms[tngpath] = "../";
change it to $cms[tngpath] = "../../";
and the line before with says include( "../begin.php"); change to include(
"../../begin.php");
try that and see if it works.
Russ
_____
avast! Antivirus <http://www.avast.com> : Outbound message clean.
Virus Database (VPS): 090525-0, 25/05/2009
Tested on: 26/05/2009 4:03:07 PM
avast! - copyright (c) 1988-2009 ALWIL Software.
_____
_______________________________________________
tngusers2 mailing list
tngusers2 at lythgoes.net
http://lythgoes.net/mailman/listinfo/tngusers2_lythgoes.net
_____
avast! Antivirus <http://www.avast.com> : Outbound message clean.
Virus Database (VPS): 090525-0, 25/05/2009
Tested on: 26/05/2009 5:57:09 PM
avast! - copyright (c) 1988-2009 ALWIL Software.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lythgoes.net/pipermail/tngusers2_lythgoes.net/attachments/20090526/43c3a83d/attachment.html>
More information about the tngusers2
mailing list