Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

installation on OpenBSD

Post Reply
pere
Posts: 6
Joined: Sat Jul 25, 2009 6:51 pm

installation on OpenBSD

Unread post by pere »

I have found nuBuilder and I think it will make alot of things easier for me.
I have installed it on OpenBSD4.4 with php5-core-5.2.6
When I try to logon the screen gets white and I have pasted the error_log below.
I have set the register_globals to On which is the only change I need to do from the original install.
The path the webbrowser tries to use is: /productionnu2/formlogin.php?x=1&d=db/sample

[Sat Jul 25 18:47:46 2009] [notice] Initializing etag from /var/www/logs/etag-state
[Sat Jul 25 18:47:46 2009] [notice] chrooted in /var/www
[Sat Jul 25 18:47:46 2009] [notice] changed to uid 67, gid 67
[Sat Jul 25 18:47:46 2009] [notice] Apache configured -- resuming normal operations
[Sat Jul 25 18:47:46 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: p in /nubuilder-09.06.26/productionnu2/formlogin.php on line
22
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: ses in /nubuilder-09.06.26/productionnu2/common.php on line
46
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: #zzsys_session_id# in /nubuilder-09.06.26/productionnu2/comm
on.php on line 552
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: #zzsys_session_id# in /nubuilder-09.06.26/productionnu2/comm
on.php on line 553
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: #parameter# in /nubuilder-09.06.26/productionnu2/common.php
on line 554
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: small in /nubuilder-09.06.26/productionnu2/formlogin.php on
line 28
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Undefined index: small in /nubuilder-09.06.26/productionnu2/formlogin.php on
line 28
[Sat Jul 25 18:48:10 2009] [error] PHP Notice: Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/form
login.php on line 64
pere
Posts: 6
Joined: Sat Jul 25, 2009 6:51 pm

Re: installation on OpenBSD

Unread post by pere »

Ok I managed to logon with the globeadmin account.
pere
Posts: 6
Joined: Sat Jul 25, 2009 6:51 pm

Re: installation on OpenBSD

Unread post by pere »

Well something is wrong, if I create a new form and object things doesn't get saved in the database.
My apachelogs get filled with errors like these:

Code: Select all

[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_close_button_display_condition in /nubuilder-09.06.26/pr
oductionnu2/formupdate.php on line 58
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:   in /nubuilder-09.06.26/productionnu2/common.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/comm
on.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  ____sfo_custom_code_run_before_browse in /nubuilder-09.06.26
/productionnu2/formupdate.php on line 55
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_custom_code_run_before_browse in /nubuilder-09.06.26/pro
ductionnu2/formupdate.php on line 58
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:   in /nubuilder-09.06.26/productionnu2/common.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/comm
on.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  ____sfo_custom_code_run_after_browse in /nubuilder-09.06.26/
productionnu2/formupdate.php on line 55
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_custom_code_run_after_browse in /nubuilder-09.06.26/prod
uctionnu2/formupdate.php on line 58
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:   in /nubuilder-09.06.26/productionnu2/common.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/comm
on.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  ____sfo_custom_code_run_before_open in /nubuilder-09.06.26/p
roductionnu2/formupdate.php on line 55
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_custom_code_run_before_open in /nubuilder-09.06.26/produ
ctionnu2/formupdate.php on line 58
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:   in /nubuilder-09.06.26/productionnu2/common.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/comm
on.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  ____sfo_custom_code_run_after_delete in /nubuilder-09.06.26/
productionnu2/formupdate.php on line 55
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_custom_code_run_after_delete in /nubuilder-09.06.26/prod
uctionnu2/formupdate.php on line 58
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:   in /nubuilder-09.06.26/productionnu2/common.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Trying to get property of non-object in /nubuilder-09.06.26/productionnu2/comm
on.php on line 794
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  ____sfo_custom_code_run_after_save in /nubuilder-09.06.26/pr
oductionnu2/formupdate.php on line 55
[Sat Jul 25 23:00:23 2009] [error] PHP Notice:  Undefined index:  sfo_custom_code_run_after_save in /nubuilder-09.06.26/produc
:
pere
Posts: 6
Joined: Sat Jul 25, 2009 6:51 pm

Re: installation on OpenBSD

Unread post by pere »

Ok I think I am starting to get it now.
The sample database doesn't contain the customer table, and the nuBuilder doesn't automaticly create the fields needed for the video tutorials.

After adding some sqldebugging to common.php I found out that the reason for the sql errors where that the table customers actually doesn't exists.
Quite obvious when you know it.

Ok now I can start to write forms that presents and modifies the data from the databases I already have.
steven
Posts: 218
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 1 time

Re: installation on OpenBSD

Unread post by steven »

pere,
We have now added the Video Training Database so you can follow to tutorial yourself (if you still want to).

If you do, let us know how you go!
Post Reply