Welcome to the nuBuilder forums!

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

Automatically logged off or not logged in at all

Post Reply
rody
Posts: 4
Joined: Fri Jul 18, 2014 5:10 pm

Automatically logged off or not logged in at all

Unread post by rody »

LIke Pietro in the previous post, i get the exact same php errors like:

Code: Select all

[Fri Jul 18 16:53:30 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nuapi.php on line 365, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:30 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nuapi.php on line 378, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:32 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nudatabase.php on line 28, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:32 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 33, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:32 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/index.php on line 27, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:32 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 1217, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 16:53:32 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/index.php on line 44, referer: http://monster/nuBuilderPro-master/
This happens with the current zip file from the official downloadpage and even after updating nuBuilder with the nuinstall.php file. The installer/updater gives all ok and no errors. The only difference now is that login the first time fails, the second time you get the page with all the buttons without the blue box around it, so apparently still no css is being applied. Also like Pietro, all buttons (except the one for database) cause the session to be expired instanly and you are redirected to the login screen again.

Not sure how to proceed from here, my system is a debian squeeze box with apache2 and php5 installed including the modules curl, mysql and mcrypt (mcrypt was suggested by phpmyadmin, although i do not use this tool as i created an empty database with a simple create database command in mysql). The database is filled with tables by the nuinstall.php file so there doesn't seem to be a problem there. If i search for the php error message using google, nothing related to nuBuilder and this error shows up.. Looks like a problem well suited for a php guru, which i am not... :(

Rody
wimc
Posts: 1
Joined: Mon Jul 21, 2014 11:07 am

Re: Automatically logged off or not logged in at all

Unread post by wimc »

New to NuBuilder, on shared hosting, and having the same issue,
It logs me off each time I log in and the following appears in the log.

Code: Select all

[21-Jul-2014 02:57:04 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:10 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:12 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:15 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:25 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:28 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28 
[21-Jul-2014 02:57:30 America/Denver] PHP Notice: Trying to get property of non-object in /home2/public_html/nubuilder/nudatabase.php on line 28
Help would be much appreciated!
rody
Posts: 4
Joined: Fri Jul 18, 2014 5:10 pm

Re: Automatically logged off or not logged in at all: update

Unread post by rody »

After my initial post I've been testing both nuBuilder version 2.8.1 and 3.0 on 3 different debian systems: lenny, squeeze and wheezy. Here are the results for nuBuilder 3.0:

debian 5 (lenny)
----------------
apache: 2.2.9
php: 5.2.6
no errors, just a blank screen after login and after one or two seconds being logged out.

debian 6 (squeeze)
----------------
apache: 2.2.16
php: 5.3.3
many errors, just a blank screen after login and after one or two seconds being logged out.

Apache2 error log:

Code: Select all

[Fri Jul 18 14:15:10 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nudatabase.php on line 28
[Fri Jul 18 14:15:10 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 33
[Fri Jul 18 14:15:10 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/index.php on line 27
[Fri Jul 18 14:15:10 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 1217
[Fri Jul 18 14:15:10 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/index.php on line 44
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nudatabase.php on line 28, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 33, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 1027, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 450, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 452, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 453, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 454, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 455, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 456, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 457, referer: http://monster/nuBuilderPro-master/
[Fri Jul 18 14:15:27 2014] [error] [client 10.0.1.97] PHP Notice:  Trying to get property of non-object in /var/www/nuBuilderPro-master/nucommon.php on line 458, referer: http://monster/nuBuilderPro-master/
debian 7 (wheezy)
----------------
apache: 2.2.22
php: 5.4.4
many errors, just a blank screen after login and after one or two seconds being logged out.

Apache2 error log:

Code: Select all

[Mon Jul 21 11:29:10 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nudatabase.php on line 28
[Mon Jul 21 11:29:10 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 33
[Mon Jul 21 11:29:10 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/index.php on line 27
[Mon Jul 21 11:29:10 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 1217
[Mon Jul 21 11:29:10 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/index.php on line 44
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nudatabase.php on line 28, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 33, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 1027, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 450, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 452, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 453, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 454, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 455, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 456, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 457, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:17 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 458, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nudatabase.php on line 28, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 33, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 1027, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 450, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 452, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 453, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 454, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 455, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 456, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 457, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nucommon.php on line 458, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nuapi.php on line 365, referer: http://10.0.1.113/nubuilder/
[Mon Jul 21 11:29:18 2014] [error] [client 10.0.1.102] PHP Notice:  Trying to get property of non-object in /var/www/nubuilder/nuapi.php on line 378, referer: http://10.0.1.113/nubuilder/
As said before, I also tested nuBuilder 2.8.1 on these 3 systems and the strange thing is, this version runs on all these systems, even though it produces even more errors in the apache logs. Apart from the logs, nothing seems wrong with this version, all seems to work fine... :?
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Automatically logged off or not logged in at all

Unread post by shane »

I have just found that there is a bug with the nuinstall, it is not creating the zzzsys_setup table, I will fix this asap and update this thread when done.
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Automatically logged off or not logged in at all

Unread post by shane »

updated, you will need to do fresh download
rody
Posts: 4
Joined: Fri Jul 18, 2014 5:10 pm

Re: Automatically logged off or not logged in at all

Unread post by rody »

Thanks for the update. Again, I've tested nuBuilder pro on 3 different debian systems.

On debian 5 (lenny) the problem persists, nuinstall works fine, after login no buttons appear and after 1 or 2 seconds being logged out.

On debian 6 (squeeze) the problem seems to be solved, although the first time i had to login twice before i got the buttons and the blue border around them. After that it gave me no problems so far. Still, the apache error log keeps showing the errors / notices about several undefined indexes in nuapi.php and nucommon.php.

On debian 7 (wheezy) the problem is not solved. Although i can login, the buttons appear but without the blue border around them. Clicking any of the buttons gets me logged out again, except when clicking on the database button.

That nuBuilder pro can only run on debian 6 (squeeze) is good enough for me (for now). It demonstrates however that php is apparently very picky about the version being used...
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Automatically logged off or not logged in at all

Unread post by shane »

We have not experienced any of the problems you have had so I would like to look into this further, could you send me the versions of apache/php/mysql used in each situation. thxs.
rody
Posts: 4
Joined: Fri Jul 18, 2014 5:10 pm

Re: Automatically logged off or not logged in at all

Unread post by rody »

Shane: Been very busy lately, so i did not notice your reply earlier. The versions used are in the 3rd post of this thread. (I did not check if any of these received minor updates in the last few months.) But here they are again:

debian 5 (lenny)
----------------
apache: 2.2.9
php: 5.2.6

debian 6 (squeeze)
----------------
apache: 2.2.16
php: 5.3.3

debian 7 (wheezy)
----------------
apache: 2.2.22
php: 5.4.4

All setups used the same mysql server on the debian 6 (squeeze) box, which is running version 5.1.73-1of mysql.

I seriously doubt mysql is causing the problem here, as there are no mysql errors logged, but the apache error log is filled with php errors like the ones i posted earlier.

I have no objection to testing this again, but i doubt the outcome will be any different unless the nuBuilder code has changed significantly during the last 2 or 3 months...
Post Reply