Page 1 of 1

Undefined Index errors on new installation

Posted: Sat Aug 29, 2009 4:16 am
by dgoadby
I already have NuBuilder working on a Wamp system under Windows. I transferred the whole folder to another system, also running Wamp under Windows, and it no longer works. These are a few of the PHP errors I get

Code: Select all

[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  p in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 6
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  ses in C:\wamp\www\nubuilder\productionnu2\common.php on line 31
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  #zzsys_session_id# in C:\wamp\www\nubuilder\productionnu2\common.php on line 537
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  #zzsys_session_id# in C:\wamp\www\nubuilder\productionnu2\common.php on line 538
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  #parameter# in C:\wamp\www\nubuilder\productionnu2\common.php on line 539
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  small in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 12
[29-Aug-2009 03:04:57] PHP Notice:  Undefined index:  small in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 12
[29-Aug-2009 03:04:57] PHP Notice:  Undefined variable: r in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 80
[29-Aug-2009 03:04:57] PHP Notice:  Trying to get property of non-object in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 80
[29-Aug-2009 03:04:57] PHP Notice:  Undefined variable: r in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 80
[29-Aug-2009 03:04:57] PHP Notice:  Trying to get property of non-object in C:\wamp\www\nubuilder\productionnu2\formlogin.php on line 80
The only difference I can see if the system that works is using PHP 5.2.5 and the one that fails PHP 5.2.9.2.

** Update ** I tried PHP 5.2.5 and 5.30 on the second Wamp system and 5.2.5 works ok so it's a PHP thing somewhere.

Is there some subtle feature change that would cause this? .

Re: Undefined Index errors on new installation

Posted: Mon Aug 31, 2009 5:16 am
by michael
Hi David,

This is a known issue with nuBuilder and certain PHP configurations. It is easy to fix though by changing the display_errors option in php.ini. There is another post detailing the change needed here.

This should fix the problem you are having. Just let us know if there's anything else.

Michael