Discussion Forums  >  Self Hosted Control Panels

Replies: 24    Views: 88

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
12/03/12 09:22 AM (13 years ago)

Boring myself asking for help!! Self hosted issues...again!

Hi all, So, I'm now self hosted. I've installed all my plugins to my control panel. I run xcode, blank screen. I add a plugin to the project, get lots of BT_appdelegate errors, change all of those to nameofapp_appdelegate Errors disappear. Still a blank screen :/ I must be missing something, anyone able to assist please? Apologies again, once i'm on top of 2 i'll stop asking for help!! Cheers all.
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
12/03/12 09:43 AM (13 years ago)
add t5he plugins to your project on the control panel export it and open it in xcode drag in all of the BT_ folders as GROUP references run it.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 09:45 AM (13 years ago)
Hey Alex, It's not possible to ask too many questions! We all learn when people ask stuff! Sometimes it's helpful after making changes to your project to sync up the configuration file from the control panel with your local copy. Here's a video I did that shows how: https://www.youtube.com/watch?v=Sp2vL1XCPC0 I'll assume that you're compiling again after adding a new plugin to your project? And make sure that your entire Plugins folder is part of your project, including all the plugins in it. Don't include just the ones you are using. Let me know if this helps a bit! Mark
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 09:46 AM (13 years ago)
Yup, thats what I did. So, all plugins added to my self hosted panel. Zipfile unzipped and folder added to my project. Appdelegate code changed in the project to match. Run = Blank screen :/
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 09:50 AM (13 years ago)
Anything showing up in the debug console? If there are errors, that's where they would be.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 09:52 AM (13 years ago)
Sorry Mark, that reply was to @auggnet, your post snuck in there! I'll give your suggestions a go, cheers :)
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 09:52 AM (13 years ago)
Oops, another post just got in there! I'll start with your first suggestion and be right back :)
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:02 AM (13 years ago)
Am I correct in changing the BT_appdelegate to nameofapp_appdelegate?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:10 AM (13 years ago)
Here is my project: So - just to test - added simple menu to be the first screen. Added the plugin on the control panel. added it to be a non-tabbed layout. Added the folder to my project. Checked the config data is the same on the cp as in the project. Just loading the first screen... http://dl.dropbox.com/u/63458265/btscreen1.png http://dl.dropbox.com/u/63458265/btscreen2.png
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
12/03/12 10:12 AM (13 years ago)
You have to insert the folders like in the manual!! The whole plugin folder is missing for example.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 10:14 AM (13 years ago)
Thanks for the screenshot...I see the issue! You have to add the whole BT_Plugins folder to your project...not the folder for the actual plugin. The directory structure of your downloaded source package should match what you see in Xcode. Meaning...make sure all folders in your download are in Xcode as well. Should be mirror images. Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/03/12 10:17 AM (13 years ago)
"Appdelegate code changed" This should not be necessary. There is something wrong if the apps you download from your self hosted panel don't have your app's name set as the delegate - in all the plugins for that app. This is kinda the whole idea with downloading the project in the first place - right? The plugins in your control panel, (admin, installed plugins) use BT_appDelegate in the source code. These values are replaced, merged, updated, when you "download the code" or an app project. This is why it's necessary to drag the plugins folder into Xcode for EACH project you're working with.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:29 AM (13 years ago)
Thanks guys. What I appear to be missing is the whole BT_Plugins folder. This appears to be not all i'm missing!!! Why can I not find it?! By this do you mean all the plugins I have installed? @LeonG - I've looked at many manuals, believe me - it just has the appearance that I havent! @david - I changed the appdelegate as I was getting appdelegate errors.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 10:31 AM (13 years ago)
Hi Alex, The BT_Plugins folder should come with your source download, and be part of the zip file. Is it not there? Mark
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:41 AM (13 years ago)
I've been a moron. I have been reading all sorts of manuals but didnt read the one contained within the download source code folder. This shows how I need to drag 5 folders over. I will do this and hopefully that will be sorted! Thanks for the help - i'll let you know how I go. I think I got lazy having used 1,5 for so long assuming I knew what I was doing. All the best :)
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 10:43 AM (13 years ago)
Sweet! Feel free to contact me directly if you run into issues..you have my email! Mark
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:45 AM (13 years ago)
You are a gent, thank you Mark. :) All folders added successfully, lets see what happens next!
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:49 AM (13 years ago)
Here is the appdelegate issue? http://dl.dropbox.com/u/63458265/appdel.png
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 10:53 AM (13 years ago)
If you are still using the same source that has renamed app delegate stuff, that could be the problem. I'd just start over. Unzip your old source package, make sure everything is in the Xcode project, run a Product...Clean, and see what happens.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 10:54 AM (13 years ago)
Here is the appdelegate issue? http://dl.dropbox.com/u/63458265/appdel.png
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 12:14 PM (13 years ago)
No idea why the repost! I'll try that, thanks!
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 12:39 PM (13 years ago)
Um.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 02:52 PM (13 years ago)
Whilst usually accepting i'm doing something incorrectly, I really cant figure this out. I am still getting appdelegate errors, with all the folders added and additional plugin added. I'm truly stumped.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/03/12 02:53 PM (13 years ago)
Got your source package, about to start debug...
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
12/03/12 02:54 PM (13 years ago)
Cheers mate. This is driving me crazy!!
 

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.