Page 1 of 1

Automatically logged off

Posted: Wed Jul 16, 2014 1:07 am
by Pietro
Hello,
I just installed nuBuilder to start familiarizing.
After installation I did login successfully.

In the main page the system has a weird behaviour: any button I click on, apart from phpmyadmin, I am automatically logged off, and the browser (Firefox) prompts me "This page need a confirmation before quitting[...]" and offer me to to remain in that page or to abandon:
- if I remain, another message tells me "You are not currently logged in"
- if I abandon, I am redirected at the login screen

Any idea ??
I want to start using it !!

Pietro

Re: Automatically logged off

Posted: Wed Jul 16, 2014 3:47 am
by shane
This is a slight possibility that the build of nuBuilder you are using has a bug. please download to most recent and make sure you run the nuinstall.php script again.

Re: Automatically logged off

Posted: Wed Jul 16, 2014 10:05 am
by Pietro
Shane,
The first Zip I downloaded got all the php files dated 13th july. Now I downloaded another version that has all the php dated 14th...
After installation and the first login I notioced a different button leyaout in the Setup screen.
Unfortunately the same bug remains...I am continuously logged off upon clicking any button (except Database as before...)

A few more info:
- I installed it in my webserver not direcly under the root but in this path: http://{mywebserver}/_others/nubuilder/...may this be the cause ?
- I'm using firefox
- I allow opening pop-ups from my webserver

Any workaround ?
Pietro

Re: Automatically logged off

Posted: Wed Jul 16, 2014 6:52 pm
by Pietro
Hello Shane,
If you think the server settings maybe the cause of this problem, I pass you here attached the PHPInfo output.
Maybe it could be be of some help.
Please let me know
Pietro

PS: I just realize the forum does not allow any attachment...how to do ?

Re: Automatically logged off

Posted: Thu Jul 17, 2014 12:19 am
by Pietro
Shane,
the error_log of my website reports these lines (and several others more) when I try to login:

[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nudatabase.php on line 28, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 33, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 1027, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 450, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 452, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 453, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 454, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 455, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 456, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 457, referer: http://blueshape.net/_others/nubuilder/index.php
[Thu Jul 17 00:14:41 2014] [error] [client 151.55.254.96] PHP Notice: Trying to get property of non-object in /var/www/vhosts/blueshape.net/httpdocs/_others/nubuilder/nucommon.php on line 458, referer: http://blueshape.net/_others/nubuilder/index.php


Hope this helps to debug the problem....
Regards
Pietro

Re: Automatically logged off

Posted: Thu Jul 17, 2014 4:16 am
by jlcsusara
hello, pietro.

i encountered the same "you are not currently logged in" error.

the fix was:
1. i downloaded the latest version nubuilderpro version, extracted it to my _old _folder, and updated the config.php file (pointing to my existing database).
2. i ran the nuinstall.php again.
3. when i opened my nub app, the setup, forms, and objects were updated.

hope this helps.

Re: Automatically logged off

Posted: Thu Jul 17, 2014 12:21 pm
by Pietro
jlcsusara,

thank you very much, i solved the problem finally...I noticed the newer nuinstall.php interface that i haven't seen before...
Pietro

Re: Automatically logged off

Posted: Fri Jul 18, 2014 3:04 am
by admin
.