mhonarc-users

Re: MhonArc/PHP

2002-06-25 18:30:05
Well, I think it's because the HTML that MHonarc
creates sends html headers, and Postnuke sends them as
well.  Since they can only be sent once,  I get
errors.  Since I'm want to wrap postnuke around
MHonArc, I need to stop MHonarc from sending
/anything/ until it's supposed to. After the
header/menu/side menu/etc...)  It's working fine until
I try to view an individual message.

Vincent


--- Earl Hood <earl(_at_)earlhood(_dot_)com> wrote:
On June 24, 2002 at 23:10, Vincent M wrote:

But... how do I prevent the MhonArc version
comment
and the  X-Headers from appearing??  That is what
I've
been asking.

The only way to do it at this time is to modify the
code.

I dont want them in the messaage pages.. or are
the
absolutely nesisary?

The X-Headers are beneficial for archive recovering
options.  The
mha-dbrecover program uses them to reconstruct and
archive database.
The comments can also be useful for those you want
to do some
post-processing of archive pages.

The MHonArc version comment exists since it was a
problem providing
help to users in the past by not knowing what
version of MHonArc was
used to generate a page.  This way, if a URL was
provided, I
can verify for sure what version of MHonArc was used
to create
a given archive page.

Technically, they are not absolutely necessary for
regular
archive operations.  They are useful in diagnostic
and recovering
operations.

BTW, what version of PHP are you using?  Looking at
JC's work,
he does not even bother defining SSMARKUP and leaves
the
X-Headers as-is, and he has things working okay with
PHP.

Is it possible that this PostNuke that you mention
is doing something
more than regular mod_php that is causing the
conflict?  Maybe there
is some configuration parameters you can set to fix
it.

Note, the MHonArc version comment does show up on
the index pages,
at it seems you are having no problems with them. 
Maybe the PostNuke
environment (note, I have no clue how PostNuke is
setup or works)
is actually reading the X-Header comments.

It seems you could use SSMARKUP along with *PgBegin
resources
to wrap the initial comment declarations within a
PHP comment block.
Have you tried this?

--ewh

P.S.  Please trim reply text that is not needed. 
Thanks.


---------------------------------------------------------------------
To sign-off this list, send email to
majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

<Prev in Thread] Current Thread [Next in Thread>