Discussion Forums  >  Self Hosted Control Panels

Replies: 8    Views: 143

ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
02/18/13 08:39 AM (12 years ago)

2.1.8 iOS Source code packaging

Just curious if the 2.1.8 Source Code packaging of iOS is still an issue for everyone? Maybe it was fixed and I might have missed a post about it?
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
02/18/13 09:13 AM (12 years ago)
I still have the issue. Haven't seen a fix yet.
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
02/18/13 09:20 AM (12 years ago)
I do not know how much you missed, but there have been an update of 3 files a week ago. After that I have not heard anything. While implementing the APN to my latest package which I recovered from temp directory of the server, I faced the problem of blocked ports and I moved to another hosting company who willingly opened the said ports for me. When I reinstalled the self-hosted 2.1.8, transfered and directed to my old database, EVERYTHING INCLUDING THE PACKAGING WORKED QUITE WELL... Hope you find the solution.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/18/13 09:44 AM (12 years ago)
Thanks. How about uploading new plug-ins to a fresh 2.1.8 install? I can't seem to add these either. Get this error: >> Error Saving Archive. The file archive uploaded OK but it could not be saved to the file system? I had issues with a fresh 2.1.8 install so I started with a fresh 2.1.6 install on a new host, new database and then dropped 2.1.8 on top of that. It's running but I can't upload plug-ins (or download iOS source code). I was able to load a couple of plug-ins when it was still 2.1.6 but once I upgraded to 2.1.8 I'm getting that error now. So that files folder was working under 2.1.6 with proper permissions. It's 0755, i confirmed it. I FTP'd a few plugins up there and then REFRESHED to see if I could add them manually and this is what I get: There was a problem finding the /files/plugins directory I can upload plug-in on another 2.1.8 server, this current issue is on a new server.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
02/18/13 10:16 AM (12 years ago)
I'm on Host Gator, didn't change anything and it all works. Tim
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
02/18/13 10:36 AM (12 years ago)
Might be the issue with the database name or credentials? I will check once more and let you know if something helpfull.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/18/13 11:49 AM (12 years ago)
I think I've got it narrowed down to issues with the the config.php file. Seemed like the culprit so I did some experementing- If load a 2.1.6 config.php file into the 2.1.8 install, everything works. I can upload plug-ins, package an app, download the package. I just have these sections/entries in the config.php /* database server information */ define("APP_DB_HOST", ""); define("APP_DB_NAME", ""); define("APP_DB_USER", ""); define("APP_DB_PASS", ""); /* buzztouch.com User Email Address, Password */ define("APP_BT_ACCOUNT_USEREMAIL", ""); define("APP_BT_ACCOUNT_USERPASS", ""); /* buzztouch.com API URL, API Key, API Secret. Log in at buzztouch.com then see Account > Self Hosted Servers */ define("APP_BT_SERVER_API_URL", ""); define("APP_BT_SERVER_API_KEY", ""); define("APP_BT_SERVER_API_KEY_SECRET", ""); (this was from the 2.1.6 file) /* the name of the table that holds the global bt_config settings data */ define("TBL_BT_CONFIG", "bt_config"); But the idea of running a 2.1.8 server with a 2.1.6 config.php seems like a disaster waiting to happen. But as soon as I upload the 2.1.8 config that has all these entries below - I get the other errors. Can't upload plug-ins or package sourcecode, etc.... /* application URL. Do not enter the trailing slash (/) after any URL. */ define("APP_URL", ""); /* application physical path on server, data directories. */ /*These begin with a forward slash (/). Do not enter the trailing slash (/) */ define("APP_PHYSICAL_PATH", "/BT-server"); define("APP_DATA_DIRECTORY", "/files"); define("APP_THEME_PATH", "/files/theme"); /* values used in <head> section of the HTML for many pages in this web based application */ define("APP_APPLICATION_NAME", "buzztouch"); define("APP_DEFAULT_PAGE_TITLE", "buzztouch"); define("APP_DEFAULT_PAGE_DESCRIPTION", "Open Source iOS and Android App Platform"); define("APP_DEFAULT_KEYWORDS", "buzztouch"); /* outbound email settings. Used by the forgot password routine on the login page */ define("APP_ADMIN_EMAIL", "[email protected]"); define("APP_MAIL_SERVER", ""); define("APP_MAIL_SERVER_USER", ""); define("APP_MAIL_SERVER_PASS", ""); define("APP_MAIL_USE_SMTP", "0"); /* encryption key for senstive data. Set this once, then DO NOT CHANGE IT. */ /* letters and numbers only, NO SPACES OR SPECIAL CHARACTERS */ define("APP_CRYPTO_KEY", ""); /* google maps API key for application usage map */ define("APP_GOOGLE_MAPS_API_KEY", "YOUR_GOOGLE_API_KEY"); /* miscellaneous settings */ define("APP_MAX_UPLOAD_SIZE", "52428800"); define("APP_MAX_EXECUTION_TIME", "360"); define("APP_LOGGEDIN_EXPIRES_SECONDS", "180"); define("APP_ERROR_REPORTING", "0"); define("APP_CURRENT_VERSION", "2.1.8"); /* Cookie names are unique to this installation and must be unique values such as a GUID */ define("APP_LOGGEDIN_COOKIE_NAME", ""); define("APP_REMEMBER_COOKIE_NAME", ""); /* database table names. Do not change these unless you know what you're doing */ define("TBL_USERS", "bt_users"); define("TBL_APPLICATIONS", "bt_applications"); define("TBL_APP_USERS", "bt_app_users"); define("TBL_CP_LINKS", "bt_cp_links"); define("TBL_BT_ITEMS", "bt_items"); define("TBL_BT_FILES", "bt_files"); define("TBL_BT_PLUGINS", "bt_plugins"); define("TBL_API_REQUESTS", "bt_api_requests"); define("TBL_API_KEYS", "bt_api_keys"); define("TBL_APN_DEVICES", "bt_apn_devices"); define("TBL_APN_QUEUE", "bt_apn_queue"); I'm sure there's a lot of other changes between the 2.1.6 and 2.1.8 config.php. I want to use the proper file- But this at least proved to me it's not an obvious database/credential issue. I didn't think it was but now I know.
 
Naz
I hate code!
Profile
Posts: 22
Reg: Feb 02, 2013
London
4,820
like
02/20/13 02:10 PM (12 years ago)
Good job
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/20/13 03:01 PM (12 years ago)
Thanks. I should follow this up saying I'm building and having no issues so far with new apps I create on this box. So far.... ;)
 

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.