Page 1 of 1

Installation problem - password fail?

Posted: Sat Mar 01, 2014 5:53 am
by ARJ
Hi all,

I'm new to nubuilderpro and having problems with the installation. I followed the instructions from http://forums.nubuilder.cloud/viewtopic.php?f=17&t=8335 and edited config.php as suggested with 'root' as username and password.

Code: Select all

<?php

    $nuConfigDBHost                 = "127.0.0.1";
    $nuConfigDBName                 = "sample";
    $nuConfigDBUser                 = "root";
    $nuConfigDBPassword             = "root";
    $nuConfigDBGlobeadminPassword   = "nu";             //-- globeadmin password
    $nuConfigtitle                  = "sample app";	

?>
When I run nuinstall.php, an error message appears directly below the 'submit' button:

Notice: Undefined index: pwd in C:\Program Files\UwAmp\www\nuBuilder\nuinstall.php on line 47
Password fail


If I then enter the correct Globeadmin password in nuinstall.php, I receive the following notification:

Notice: Undefined variable: restore in C:\Program Files\UwAmp\www\nuBuilder\nuinstall_lib.php on line 25
No Schema Changes!
No SQL Errors!
No Warnings!
Done!


When I then run nuBuilder from uwamp, login as globeadmin, only a a blank screen is displayed.

Part of the installation seems to have worked as system tables (zzzsys*) were correctly written to my test database. The database works correctly in phpMyAdmin

System:
Windows 7
Apache/2.2.22 (Win32) PHP/5.3.5

What am I missing? Any suggestions gratefully received!

Re: Installation problem - password fail?

Posted: Sat Mar 01, 2014 12:04 pm
by massiws
ARJ, have you set display_errors = Off in php.ini file?

Re: Installation problem - password fail?

Posted: Sun Mar 02, 2014 4:54 am
by ARJ
Hi massiws, thanks for the suggestion, I hadn't changed this setting. I went to change php.ini and saw Uwamp recommends changing php_uwamp.ini instead, would that be right? I've changed that file instead, no change unfortunately...

Re: Installation problem - password fail?

Posted: Sun Mar 02, 2014 8:06 pm
by massiws
ARJ, I don't know uWanp.
To be sure what configuration file you have to edit, create a file phpinfo.php like this:

Code: Select all

<?php echo phpinfo(); ?>
and upload in you web root.
Then point your browser in localhost/phpinfo.php: you should see a table like this:
phpinfo.png
On this page, search for "display_errors" and you can see if the vale is On or Off.
In Loaded Configuration File you can read the right path to PHP configuration file you should edit.

Re: Installation problem - password fail?

Posted: Mon Mar 03, 2014 9:08 am
by ARJ
Thanks massiws, really appreciate your time. Here's the table from phpinfo.ini

Image

Edited the php.ini file in the apache folder as suggested, here's how that section looks now:

Code: Select all

; display_errors
;   Default Value: Off
;   Development Value: Off
;   Production Value: Off

; display_startup_errors
;   Default Value: Off
;   Development Value: On
;   Production Value: Off

; error_reporting
;   Default Value: E_ALL & ~E_NOTICE
;   Development Value: E_ALL | E_STRICT
;   Production Value: E_ALL & ~E_DEPRECATED
Having rebooted etc, unfortunately still no luck. :(

Re: Installation problem - password fail?

Posted: Mon Mar 03, 2014 9:14 am
by massiws
ARJ, search this section:
php.ini.png
Remember to restart apache after edit php.ini.

Re: Installation problem - password fail?

Posted: Mon Mar 03, 2014 10:05 am
by ARJ
Aha, got it!! I'm now up and running :D Thanks for your patience massiws!

Re: Installation problem - password fail?

Posted: Mon Mar 03, 2014 10:32 am
by massiws
Ok!