Re: [Phpns-team] [Question #73883]: Mass Undefined Variable/Index Errors

2009-06-10 Thread alecwh
Question #73883 on phpns changed:
https://answers.launchpad.net/phpns/+question/73883

Status: Open = Answered

alecwh proposed the following answer:
Hi Johnathon,

This has been documented before (in the bugs section).  Those are not
errors, they are notices/warnings. When I first wrote phpns, I didn't
bother initiating my variables--which turned out to be a mistake.

To workaround this problem, stick this:
error_reporting(E_ALL);
into the top of /inc/header.php, right below ?php.

Good luck, from a fellow high school student!

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #73883]: Mass Undefined Variable/Index Errors

2009-06-10 Thread alecwh
Question #73883 on phpns changed:
https://answers.launchpad.net/phpns/+question/73883

alecwh proposed the following answer:
I should mention, that this is not an ideal workaround. Ideally, I would
go through and initiate all variables used in phpns. This would be
massively tedious (there are hundreds upon hundreds of variables used),
and implausible with my schedule. (If someone wants to do this, please!)

Keep in mind that you are taking a small security risk when you do this.

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp


Re: [Phpns-team] [Question #73883]: Mass Undefined Variable/Index Errors

2009-06-10 Thread alecwh
Question #73883 on phpns changed:
https://answers.launchpad.net/phpns/+question/73883

alecwh posted a new comment:
The security risk is you not being able to see potential errors in the
phpns system. There is no fix for this... you just turned off
error_reporting!

The proper fix would be to initiate the variables, but, like I said, I'm
unable to dedicate that much time on a somewhat trivial annoyance. (I
say trivial because they are not really errors, and because there is no
real security problem; the variables related to security are indeed
initiated.)

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

___
Mailing list: https://launchpad.net/~phpns-team
Post to : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp