Re: "Show Paragraphs" screenshot on abiword.com


Subject: Re: "Show Paragraphs" screenshot on abiword.com
From: Sam TH (sam@uchicago.edu)
Date: Fri Feb 23 2001 - 04:29:18 CST


> > I was unable to get this to work. I removed the php from the opening
> > tags, since nothing in the rest of the site uses it. But no matter
> > what I try, either the function just gets included as straight text,
> > or it prevents processing of the rest of the page, or the function is
> > unimplemented.
>
> The 'php' shouldn't really be necesary.
>
> Which function does it say was unimplemented? (I coded it on a box running
> PHP4, but I tried to stick to PHP3 things, and I /think/ I managed :-)

The randPNG function. I was just fiddiling with the syntax
(semicolons, ?>, etc), and got all manner of errors.

>
> > A broken version is in the CVS tree for the web site, and the old
> > version is still being used. Do you have any idea what might be wrong
> > here?
>
> Hrm. Odd. The main page is a PHP page, isn't it? (i.e. it's named
> something like index.php, not index.html). If it's not, then PHP won't
> process it (I realise I could check the CVS myself, but I don't have access
> at the moment. I'll check this afternoon if I've had no response).

The main page is index.phtml. It's definitely in PHP, as there are
other includes there.
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key




This archive was generated by hypermail 2b25 : Fri Feb 23 2001 - 04:26:56 CST