So - following the directions laid out above - I have created a duplicate of the sample directory in nubuilder/db and renamed it to service (I'm working on a service record database). so I have directory structure of nubuilder/db/service/
I have a database named nuBuilder set up in phpMyAdmin - it has one lonely table in it just there to test nuBuilder installation - which is currently failing...
After creating the 3rd (new) directory - when I open a browser to the main nuBuilder directory, it still only gives me the option to log into:
Login to Sample
Login to Sample nuFinancial
Should it see the additional directory I made, or do I need to alter another config file?
When I browse directly to the nubuilder/db/service/ directory - the one I created - I get a login screen that still says I'm logging into Sample and I'm getting Apache2 errors.
Here is my config.php file in the nubuilder/db/service/
<?php
$DBHost = "127.0.0.1";
$DBName = "nuBuilder";
$DBUser = "root";
$DBPassword = "xxxx";
$DBGlobeadminPassword = "xxxx";
//$DBSiteGlobeadminPasswordOnly = true;
$_SESSION['nu_search_title'] = '';
$_SESSION['nu_sfo_add_title'] = '';
$_SESSION['nu_sfo_print_title'] = '';
$_SESSION['nu_sfo_save_title'] = '';
$_SESSION['nu_sfo_clone_title'] = '';
$_SESSION['nu_sfo_close_title'] = '';
$_SESSION['nu_sfo_delete_title'] = '';
$_SESSION['nu_delete_yes_title'] = '';
$_SESSION['nu_delete_no_title'] = '';
?>
Here are the errors in my Apache2 Log file:
[Fri Oct 25 16:50:11 2013] [error] [client 127.0.0.1] PHP Warning: mysql_fetch_
object(): supplied argument is not a valid MySQL result resource in /var/www/ser
vice/nubuilder/productionnu2/dbfunctions.php on line 74, referer:
http://localho
st/service/nubuilder/db/service/
[Fri Oct 25 16:50:11 2013] [error] [client 127.0.0.1] PHP Notice: Undefined ind
ex: hasFailed in /var/www/service/nubuilder/productionnu2/dbfunctions.php on lin
e 96, referer:
http://localhost/service/nubuilder/db/service/
[Fri Oct 25 16:50:11 2013] [error] [client 127.0.0.1] PHP Warning: mysql_fetch_
object(): supplied argument is not a valid MySQL result resource in /var/www/ser
vice/nubuilder/productionnu2/dbfunctions.php on line 74, referer:
http://localho
st/service/nubuilder/db/service/
Here are my system specs on pretty much a fresh install. I have only modded the config.php
Trying to use it on Ubuntu 12.04 LTS Linux.
Apache2 webserver
PHP Version 5.3.10-1ubuntu3.8
Server version: 5.5.34-0ubuntu0.12.04.1
Whats with the invalid MySQL result resources?
Any help would be much appreciated!