Discussion Forums  >  Self Hosted Control Panels

Replies: 7    Views: 82

nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
06/10/12 03:08 AM (13 years ago)

SelfHosted BT_2.1.6 404 error after click on manage screens?

Hi, I have install BT 2.1.6 and installation was fine API authorization was fine. Thane I create the app and also I create Screen (menu) and when I want to edit example. custom HTMl or any other screen I get error 404 page not found. I don't know what can be the problem, I have files directory at 755 and database is ok... Any ides? thx
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/10/12 03:29 AM (13 years ago)
Good explanation. When you click any screen's name (after creating it) it will load the plugins index.php page. Every screen type (plugin) has an index.php file. a) Look at the URL that loads the index.php page for the plugin you're working with (The one that doesn't work). Verify the path to the file is proper. If OK... b) Can you run ANY .php page in the /files/plugins folder? If none of the index.php pages work for any plugin, you probably cannot. Do this: create a test.php page on your machine and uplaod it to the plugins folder. Fetch it with your browser - does it load? 99% of the time this is caused by some sort of permission issue that isn't allowing .PHP files to execute in the plugin directory. Permissions can be tricky. It's especially tricky to get these right if you're on a shared hosting account somewhere and / or if you're new to PHP setups.
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
06/10/12 03:55 AM (13 years ago)
Hi David, thank you for fast response. a) URL that loads the index.php of plugins doesn't work but for .js , .txt, .png files it's open in browser b) I create test test.php and try to fetch url and also I have 404 error (test.php was in bt_action_call folder) Permission is 755 for all folders and files, I upload test.php file in the root and it works and I test to upload to download folder and it works but it files folder doesn't work
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/10/12 04:14 AM (13 years ago)
OK, good info here and good work... Like I mentioned in the earlier post, it's 100% or sure a permission issue, your second post confirms this. You'll need to figure out what's wrong with the file ownership / permissions on the .php files in the /files/plugin folder. I wish this was easy (it is for some folks) but there are countless ways a web host may have your backend setup so it's not as easy as 1, 2, 3 sometimes. When you uploaded the test.php file, it worked unless you put it in a /files/plugins folder. This means you're backend is unable to process .php pages in this folder. I'm not sure where your skill level is but you'll need to figure out how to adjust the ownership / permission's of these files to get php to execute. Because you mention you have /files at 755 you must know something about this. Cool, what is the permission of the /files/plugins folders? I normally set the permission of the entire /files folder recursively after the install so I'm sure all the subfolders are also 755. Lastly: It's possible that you'll need to use 750 (and not 755), you could try that. Again, shared hosts do all sorts of things with .PHP sometimes :-)
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
06/10/12 06:04 AM (13 years ago)
Hi David, I found the solution for this issue, maybe it will be useful for someone who have same problem. I just manually create new folder (and sub-folders) delete from database all plugins (and from plugin folder) and again install all plugins and it works. P.S. I have some issue with BT 1.5 Android custom URL, did I need to open new post or I can ask you here? The problem is that when I create Custom URL or Native App for youtube (page open but can't stream the video), soundcloud (use HTML audio players) can't display list of streams, and twitter works only with sign up URL all other URL display blank screen.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/11/12 11:33 PM (13 years ago)
Glad you got it fixed. URL's: Not sure what to advise here without more info. Have a look at the LogCat with the Android app running and see what URL is trying to load? Custom URL screens are pretty simple (it's a relatively simple WebView embedded in the screen's controller) so you may find that there is something funky going on with the URL you're using? The LogCat should show you what URL's is trying to load and that should help point you in the right direction...
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
06/20/12 06:39 AM (13 years ago)
Hi David, I create Android app at BT 2.1.7 (the problem was also at 2.1.6 and BT 1.5) I have a trouble with m.soundcloud.com when I put this at custom URL. The web page partly open (only search bar and footer of mobile web), and stuck there. I track this in Eclipse (LogCat) and it was GC FOR MALLOC freed 11193 objects. I google it and it can be something memory full or take to much memory. Similar problem I have with mobile twitter (custom URL) works only if you put sign in page but if you put URL of your twitter account doesn't work. Also strange problem with youtube channel (custom URL) it open channel and everything looks fine but I can't stream video. I try to use Native app with soundcloud and it works, but I need solution for custom URL. If someone have some solution for this problem please share it. thank you
 
rhundle denz
Aspiring developer
Profile
Posts: 53
Reg: Feb 22, 2012
location unknow...
2,630
like
07/04/12 08:22 AM (13 years ago)
Hi nickrick32, Thank you very much. I was having the same problem (as posted here http://www.buzztouch.com/forum/thread.php?tid=51FBF58AB28712F41ABA418&fid=06DB0BCB08E6666&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 ) Then i saw this post and tried your solution and it worked!! Keep the buzztouch forum rollin'.
 

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.