« Return to Thread: Nfsen and php problems...?

Re: Nfsen and php problems...?

by Bugzilla from richard.daemon@gmail.com :: Rate this Message:

Reply to Author | View in Thread

On Feb 18, 2008 3:48 AM, Tasmanian Devil <tasm.devil@...> wrote:

> Hello!
>
> > lookup.php at least gives a yellow page and also allows me to see it's
> > source, unlike the others:
> >
> > <?
> > /* This file was automatically created by the NfSen install.pl script */
>
> This and especially the empty pages sound like you've "short_open_tag
> = Off" in your /var/www/conf/php.ini. From that file:
>
> ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
> ; NOTE: Using short tags should be avoided when developing applications or
> ; libraries that are meant for redistribution, or deployment on PHP
> ; servers which are not under your control, because short tags may not
> ; be supported on the target server. For portable, redistributable code,
> ; be sure not to use short tags.
> short_open_tag = Off
>
> So if my guess is right, you should either fix the php files or set
> "short_open_tag = On".
>
> Tas.
>

Sweet!!! That was it! Thank you! :-)

I used the stock php.ini-recommended > php.ini with minor
modifications, with this option staying at the default.

The pages now display, but not sure yet if the graphs are updating but
the flows are updating properly with nfcapd. Will test some more after
working tonight.

Thanks guys!

 « Return to Thread: Nfsen and php problems...?