Discussion Forums  >  Uncategorized

Replies: 6    Views: 323

Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
11/03/11 05:25 AM (14 years ago)

BT Server - Lots of different error messages in header

(V2.0.4, but the same for previous versions) I'm getting loads of error messages in the header of the bt server, I'm wondering if anyone else is getting them? If you have a black background, you probably wont see them, you'll just see the page dropping down. Getting different messages on every page - except the login page when I'm logged out. For example, this is on an apps core properties page: Notice: Undefined variable: objApp in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 Notice: Trying to get property of non-object in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 Notice: Undefined variable: objApp in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 Notice: Trying to get property of non-object in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 Notice: Undefined variable: objApp in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 52 Notice: Trying to get property of non-object in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 52 Notice: Undefined variable: objApp in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 52 Notice: Trying to get property of non-object in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 52
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
11/03/11 05:52 AM (14 years ago)
Ok, just found a thread that said to post errors... login - index.php: (before the page redirects to the account page) Notice: Undefined variable: objApp in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 Notice: Trying to get property of non-object in /home/me/public_html/website.com/bt_v15/bt_app/bt_core.php on line 51 App Control Panel: Notice: Undefined index: parentAppGuid in /home/me/public_html/website.com/bt_v15/bt_app/index.php on line 111 An apps home page: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_screens.php on line 296 Notice: Undefined variable: settingsOptions in /home/me/public_html/website.com/includes/class.Plugin.php on line 151 Global themes: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_themes.php on line 239 Also, in the global themes page itself, just under 'add new theme' Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_themes.php on line 449 Notice: Undefined index: controlPanelItemCode in /home/me/public_html/website.com/bt_v15/bt_app/bt_themes.php on line 501 Notice: Undefined variable: dtToday in /home/me/public_html/website.com/bt_v15/bt_app/bt_themes.php on line 507 Screens/Actions: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_screens.php on line 296 Notice: Undefined variable: settingsOptions in /home/me/public_html/website.com/includes/class.Plugin.php on line 151 Logins/users: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_users.php on line 233 Notice: Undefined variable: addNickname in /home/me/public_html/website.com/bt_v15/bt_app/bt_users.php on line 280 Notice: Undefined variable: nicknameHint in /home/me/public_html/website.com/bt_v15/bt_app/bt_users.php on line 280 Files/Media: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_files.php on line 679 And also under the A to Z search: Notice: Undefined variable: status in /home/me/public_html/website.com/bt_v15/bt_app/bt_files.php on line 875 Configuraqtion data: Notice: Undefined variable: buzztouchAPIKey in /home/me/public_html/website.com/bt_v15/bt_app/bt_configData.php on line 51 And also under the menu: Configuration Data for Notice: Undefined variable: appName in /home/me/public_html/website.com/bt_v15/bt_app/bt_configData.php on line 83 Delete App Page: Notice: Undefined index: parentAppGuid in /home/me/public_html/website.com/bt_v15/bt_app/index.php on line 111 ADMIN AREA Application list: under the A - Z search: Notice: Undefined variable: statusLink in /home/me/public_html/website.com/admin/index.php on line 406 Additionally, in admin, the 'Add or create plugins' and 'refresh plugins' lead to access denied 403 pages and 404 not found error which, I think, show in the error log as: File does not exist: /home/me/public_html/website.com/500.shtml, referer: http://website.com/admin/?viewStyle=listView SoftException in Application.cpp:256: File /home/me/public_html/website.com/admin/plugins.php is writeable by group, referer: http://website.com/admin/?viewStyle=listView I'm slowly getting dazed and confused :-)
 
engineroomdm
Aspiring developer
Profile
Posts: 42
Reg: Jan 23, 2011
Holbrook
420
like
11/03/11 10:16 AM (14 years ago)
Have exactly the same issue....
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/03/11 10:58 AM (14 years ago)
Great stuff here, this is exacty the type of thing we need to hear and fix. These are all simple but annoying oversights on our end. Different server arrangements show different levels of warnings and seeing them in this post allows us to iron them out with each new download (daily at this point). The 500 file not founds are troubling. The URL's in the post just above this one (http://website.com?viewStyle=listView) isnt' suppossed to exist. Look at that URL, it's not pointing to the application in ..../BT-server, of course that file doesn't exist. Not sure why that's happening. Maybe the APP_PHYSICAL_PATH issue in other threads? The APP_PHYSICAL_PATH record in the bt_config table (database) needs to know the exact path the app is installed at or lots of the links and files won't know what to point to.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
11/03/11 01:31 PM (14 years ago)
Thanks David, I missed that other thread. Just checked the APP_PHYSICAL_PATH in the db and nothing seems amiss. Had a play around like adding a trailing slash but I haven't noticed that anything's changed, although I haven't checked every page yet. Would it make a difference that I've put the server in a top level - website.com, rather than a subfolder - website.com/BT-server? I noticed some people reporting time outs. I don't know if it makes a difference, but in the config file you've got: APP_LOGGEDIN_EXPRIES_SECONDS I guess it should be EXPIRES?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/03/11 02:56 PM (14 years ago)
Found all these. Fixed them. Typos! APP_LOGGEDIN_EXPRIES_SECONDS is also a typo. It actually wouldn't change anything about the actual timeout value, it's just a typo in the name of the PHP constant. In other words, as long as that typo was used everywhere (which it was), the contant name is OK. Funny. Fixed this too. Look for v2.0.5 later this evening. A few other improvements, including NO MORE .HTACCESS. Whoo hoo
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
11/03/11 06:04 PM (14 years ago)
Excellent news! Thanks very much
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.