Discussion Forums  >  Buzztouch News and Announcements

Replies: 15    Views: 1146

David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
02/17/17 09:53 AM (7 years ago)

Buzztouch 4.0.3 - Self Hosted (PHP 5.6+)

Hey Self Hoster's.... Grab this archive...replace the included files on your backend... https://buzztouch.com/BT-server/BT-server-patches-4.0.3.zip So it turns out the Self Hosted package was MAJOR BROKEN on hosts running PHP 5.6 or higher. IN many cases their hosting customers were not affected, other a ton. If your host is forcing you to run PHP 5.6 or above, or magically updated their systems and now you're seeing some funkyness these patches should get you going again. What about older PHP version? These patches shouldn't affect older PHP versions in a negative way. This means if you're running PHP 5.0, 5.1, you'll be fine. These patches WILL BREAK ancient, super older PHP installs in the 4.0 range. We seriously doubt any hosts are still running 4.x but ya never know. Have a look at the RELEASE-NOTES.txt, upload away.
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
02/18/17 02:11 AM (7 years ago)
After installing 4.0.3 all apps and plugins and everything dissapeared from my self-hosted, I just didn't pay enough attention to /includes directory. I copied it to right position and now it works.
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
02/18/17 02:43 AM (7 years ago)
@David, just a suggestion about Location plugin: it would be really fine if Location plugin has option to lead to CustomHTML screen. Nowadays especially tourist locations need to be described with some images, texts, contacts. I checked many other tourist apps and almost all have option to describe location.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/18/17 02:54 AM (7 years ago)
@miku: That's a good idea. I haven't looked at the map in awhile but I think you can choose to load a new screen when the callout is tapped. Like: Three locations on a map, tapping the callout shows basic details, tapping the button (in the callout bubble) shows a CustomHTML screen with specific details, image, etc. That idea would work but it would require that you knew each location in advance, created an individual details screen for each location (a CustomURL screen for each location) and loaded it with data. This is slightly different than loading a list of locations from a URL then dynamically adding them to the map. Doing this dynamically also seems like a good idea. Not sure if the Map plugin supports "loadScreenObject" or not. loadScreenObject is used to create a JSON structure for the "next screen" dynamically so it can be included in each location item in a dynamic list. Hope this makes sense. Anyway, you have a good idea, hopefully you can create individual CustomURL screens for each location and connect them to the callout bubble. I'll look into allowing this dynamically using the loadScreenObject concept used in other plugins.
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
02/18/17 03:09 AM (7 years ago)
@David, now callout can show directions OR load another screen. I mean: both options would be fine, user to find direction and to see description. Like: when user tap callout, direction shows, if he tap Info button, he can see detail description of location. I think CustomURL is good enough.
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
02/18/17 03:21 AM (7 years ago)
Android error on 4.0.3. is: /Users/milan/Documents/Apps/Test40/AND/test40and_Android_BTv4.0.3/app/src/main/res/layout/bt_screen_quiz.xml Error:(70) Error: @+id/txtScore is not a sibling in the same RelativeLayout [NotSibling] Error:Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ... android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } ...
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
02/22/17 05:01 PM (7 years ago)
Thanks David. My self-hosted is much "snappier" now.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
02/28/17 03:39 AM (7 years ago)
Hi, I haven't updated my self hosted since 2011 - but intend to do it now. Got some notification from Appstore that some of my apps no longer meet the standard etc, so I need to update basically all my apps. Should I just replace all files that are zipped in the 4.03 with my old files on my server. I will of course make sure that applications folder remains intact. Feel like a n00b since it's been a while - and that I also have "live" apps that can be affected. BR/Stefan
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/02/17 04:54 AM (7 years ago)
I was running BT 3.0 and followed the instructions in the patch file, which to summarise say to copy the patch files into your existing folders over-writing any files found. My self hosted updated without any issues. I would suggest to anyone to make a copy of the relevant folders first, just in case you need to roll back.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/02/17 05:14 AM (7 years ago)
Oh, one small thing on the patch, it does not update the version number - in fact, it still says V3. If you want to make the cversion number change, edit line 72 of your config.php file from '3.0.0' to '4.0.3' Credit to @smug, info taken from his post https://www.buzztouch.com/forum/thread.php?tid=DD42602F45789F23B24010E
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
05/17/17 12:55 PM (7 years ago)
Just Following ...
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
11/17/17 08:23 AM (7 years ago)
Thank you!
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
11/17/17 08:27 AM (7 years ago)
Any impact on the fact that the app update system was broken?
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
11/17/17 08:28 AM (7 years ago)
By "app update system was broken" I mean the Live v Design mode brokenness.
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
11/17/17 08:43 AM (7 years ago)
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
11/17/17 08:46 AM (7 years ago)
 

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.