Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Installation problem - password fail?

Locked
ARJ
Posts: 4
Joined: Sat Mar 01, 2014 5:07 am

Installation problem - password fail?

Unread post 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!
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Installation problem - password fail?

Unread post by massiws »

ARJ, have you set display_errors = Off in php.ini file?
ARJ
Posts: 4
Joined: Sat Mar 01, 2014 5:07 am

Re: Installation problem - password fail?

Unread post 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...
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Installation problem - password fail?

Unread post 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.
You do not have the required permissions to view the files attached to this post.
ARJ
Posts: 4
Joined: Sat Mar 01, 2014 5:07 am

Re: Installation problem - password fail?

Unread post 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. :(
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Installation problem - password fail?

Unread post by massiws »

ARJ, search this section:
php.ini.png
Remember to restart apache after edit php.ini.
You do not have the required permissions to view the files attached to this post.
ARJ
Posts: 4
Joined: Sat Mar 01, 2014 5:07 am

Re: Installation problem - password fail?

Unread post by ARJ »

Aha, got it!! I'm now up and running :D Thanks for your patience massiws!
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Installation problem - password fail?

Unread post by massiws »

Ok!
Locked