FW: [PHP-DEV] Re: A question about php_streams
| From: | Mikey | Date: | Thu, 10 Feb 2005 20:06:08 +0000 |
| Subject: | FW: [PHP-DEV] Re: A question about php_streams | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-14804@lists.php.net to get a copy of this message | ||
Whoops - sorry Sara!
> -----Original Message-----
> From: Mikey [mailto:frak@totalise.co.uk]
> Sent: 10 February 2005 18:56
> To: 'Sara Golemon'
> Subject: RE: [PHP-DEV] Re: A question about php_streams
>
> > Not really...can you include the entire backtrace? Did you compile
> > with --enable-debug?
>
> PHP or Apache? PHP yes, Apache is a slackware package so
> prolly not. This error occurs at the time that Apache
> starts, and it doesn't run at all. If you want I can do a
> debug build of Apache?
>
> > You misunderstood. I mean make sure that
> > TMPL_G(template_dir) != NULL, and that whatever
> > TMPL_G(template_dir) points to (as in the address referred
> to by the
> > char* datatype) has meaningful data in it.
>
> You are right, I did misunderstand.
>
> template_dir is a php.ini directive and prints out OK when
> phpinfo is called. I have put tests into my code to see if
> it is actually a string and it seems to think so, and is def not NULL.
>
> Tia,
>
> Mikey
>