Discussion Forums  >  Uncategorized

Replies: 11    Views: 253

manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
08/22/11 01:25 AM (14 years ago)

Newly added Menu items and pages won't load

I've had pretty good success on the iTunes app store with my application, but a recurring complaint among the reviewers is that one section (the How to Draw Faces tutorials) of my application does not load. Everything else loads — just that one section fails to load. Thinking the problem might be buried in the code of that section, I deleted the fives pages contained in the section and then rebuilt them from the bottom up as a new section with new pages. Same problem — on a fresh download of the application, the section doesn't load. Everything else works perfectly. It turns out that NO new menu items or pages that I create on buzztouch get loaded into the application. Is this normal behavior, or a bug? Anyone have any ideas as to what may be going on? Thanks for reading!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/22/11 02:10 AM (14 years ago)
Hi in Tokyo: Just downloaded the app for testing - love this thing. Yes, the 'How to draw faces' menu item goes nowhere. It does'nt error or crash, it simply doesn't go anywhere. There's a few things that could cause this. But, before trying to figure out what may be the issue...lets talk about the updates thing.. Your app has no title bar on the home-screen. This means that there is no Refresh button on the home screen. So, the only way to refresh the app's content is to say 'yes' to an alert that appears when the app's content has changed. When you make a change in your control panel, the app will alert the user the next time the app loads to 'refresh' If you had a nav bar on the home-screen it would include a Refersh button in the top left to do this manually. So, It's tough to say what's happening here without looking at the source-code to the project. Try this... a) Download your project source-code from the server b) drag any images and resources into the project that you need (if you used image names and not urls') c) Compile > run on simulator. Does the How to Draw faces menu item load? If it does, this means the configuration data in the app you compiled and submitted is not the same as the data on the server and the app will need Refreshed (see above). If it doesn't, look at the output console in Xcode with the app running. What does it output when you tap the menu?
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/22/11 02:33 AM (14 years ago)
Hi David, Thanks for your fast reply — you work late! I will try what you suggest and report back my findings. I should point out, though, one thing I've discovered. If I make a change to my content on buzztouch, and then load the app and click yes on the alert that the app's content has changed, this does force the app to begin loading the How to Draw Faces content. Cheers, Glenn
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/22/11 05:22 AM (14 years ago)
I did as you suggested and downloaded the source code from the buzztouch server, added the images and resources, and compiled it in Xcode and ran it on the simulator. Same problem — clicking on the How to Draw Faces menu item goes nowhere. So, I then launched the Xcode Organizer and clicked the menu item on my iPhone. Here's the console output: Aug 22 20:31:36 iPhone4 manga101[3916] <Warning>: BT_screen_menuList: didSelectRowAtIndexPath: Selected Row: 4 Aug 22 20:31:36 iPhone4 manga101[3916] <Warning>: BT_application: getScreenDataByItemId E731A96E0DF1530595CF562 Aug 22 20:31:36 iPhone4 manga101[3916] <Warning>: BT_application: could not find screen with itemId: E731A96E0DF1530595CF562 Aug 22 20:31:36 iPhone4 manga101[3916] <Warning>: BT_screen_menuList: The application doesn't know how to handle action? Does this -- hopefully -- give you a clue as to what might be preventing the menu items from loading?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/22/11 09:46 PM (14 years ago)
interesting. I launched the app on my phone and it asked me to Refresh - I did. After I refreshed the How to Draw faces item works. Whoo. So, this means for sure something going on with the configuration data in the Xcode project. The console is showing what's happening: It can't find a screen from the apps list of screens with an id of E731A96E0DF1530595CF562. Do a Search in the configuration file - is there a screen in the list with id E731A96E0DF1530595CF562 ? I'll bet not. Not sure why but it's the first step in debugging this strange behavior. Gotta find the screen in the list of screens with that ID or the menu item will not know what to load
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/22/11 11:00 PM (14 years ago)
Hi David, Actually, I checked the configuration file last night, because I thought the same thing — that the item with ID E731A96E0DF1530595CF562 was most likely missing from the file. However, it actually does exist in the file. Also, if I create a brand new item (menu list, custom html page, etc.), I have the same problem when trying to load it on my iDevice — it simply goes nowhere. So, it seems that I can't add anything to the buzztouch CMS without encountering this bug.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/22/11 11:34 PM (14 years ago)
I'm happy to download your project and figure this out. Something screwy happening. Thousands of menu items and screens are added constantly so it must be something silly. I'll need your permission to download the source-code to your project to test. Please post 'it's OK for buzztouch team to download my project for testing' and I'll get the project and see what's up.
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/23/11 12:16 AM (14 years ago)
Hi David, Certainly - and thanks! It's OK for the buzztouch team to download my project for testing. Best, Glenn
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/23/11 04:47 AM (14 years ago)
OK, like I suspected, How To Draw Faces works perfectly without needing to Refresh. I didn't change anything...just downloaded the project then compiled. Here's what must be happening (it can get confusing). If you delete the app from your sim and do what I just did it will work. I'll be that when it does not work it is using a previously downloaded (and no-good) config.txt file. This is the only explanation I can come up with. I would recommend: a) Delete the app from your device entirely. b) Dowload the project c) Compile > Run. If it doesn't work I'll need to find a new job! d) Upload an App Update to Apple so end-users don't have to wait for a Refresh to get How To Draw Faces content.
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/23/11 05:56 AM (14 years ago)
HI David, OK, thanks. I'll try that. But it still seems unusual to me that end-users are reporting that they've downloaded the app for the first time and are not able to access the Faces content. Does that make sense? In any case, it seems like it would be a good idea to upload an app update. Cheers, Glenn
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/23/11 10:59 PM (14 years ago)
Yes, it makes perfect sense. I'm suggesting that the app in the app store was compiled with the 'faces' menu item not working, and, it would continue to not work untl they Refreshed the content. This is why I suggested an App Update, there's something wrong with the config.txt data in the app in the App Store but nothing wrong with the config.txt data on the server - which is why it works after refreshing.
 
manga_university
Aspiring developer
Profile
Posts: 48
Reg: Jul 13, 2011
Tokyo
480
like
08/24/11 02:09 AM (14 years ago)
Hi David, OK, gotcha. Getting ready to submit an App Update now. I'll report back after Apple approves the update (or rejects it, as they've been known to do!).
 

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.