On Tuesday 09 August 2005 08:30 pm, Craig Small wrote:
> On Mon, Aug 08, 2005 at 06:36:38PM -0700, Ian Eure wrote:
> > When I install jffnms, I have several problems:
>
> Which sort of database are you using?
>
MySQL.


> > Additionally, there is no way to change the database (or any other)
> > configuration via the web interface after installation. So you must
> > create and populate the DB and DB user by hand for it to work.
>
> Do you mean change the structure of the database or change the details
> (eg name of database or user to login as) ?
>
Change the connection details, i.e. the database, dbuser, dbpass, on the 
jffnms setup page.

Though I suppose it may be puking because register_globals is off, but I get 
no indication what the problem is - my changes are simply discarded.


> > I see that it doesn't like PHP having register_globals off. Is this a 
> > requirement for it to run?
> It is a requirement, the startup screen has a red No if it is not set.
> 
> The documents are quite clear about that too.
> http://www.jffnms.org/docs/errors.html#id9
>
It's not clear that it's required from the setup page; binaries which are in 
packages JFFNMS Suggests are marked with large red "ERROR" text, though they 
are presumably not required to run the package. You might consider submitting 
a patch upstream, since "ERROR" for missing non-required things, and "NO" for 
missing required things is rather disingenuous.

Would it be possible to set this (and potentially other options JFFNMS needs) 
in a .htaccess file? I see that's possible to set at least register_globals 
in .htaccess as of PHP 4.2.3. register_globals is a known security risk[1], 
and I don't want to expose my other PHP stuff to that.

[1]: http://us2.php.net/register_globals


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to