Discussion Forums  >  Self Hosted Control Panels

Replies: 7    Views: 111

GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
03/06/13 10:01 PM (12 years ago)

Update caused problems

I updated to 2.1.8 and it looked all ok until I logged in to the panel. It looks like my 'files' can't be found. What I did: copied all the new BT files except the files directory. I changed the config files. I tested the api key and that was all ok. I can Login without a problem. But when I open an app there's the text The application's data directory on the file system does not exist? This application does not have a data directory on the file system? When I try to refresh plugins there's a warning There was a problem finding the /files/plugins directory I checked the access rights of the 'files' directory and it is 755 HELP!!!! Gert-Jan
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
03/06/13 11:34 PM (12 years ago)
Did you install it? Don't think overwriting all the files will work, but I could be wrong.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/07/13 12:28 AM (12 years ago)
When you say you changed the config files... check again, because that is where it tells the scripts where your files are, where your database is, etcetera. It may be missing a value, or perhaps the value is slightly off. Cheers! -- Smug
 
GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
like
03/07/13 02:53 AM (12 years ago)
No I installed it. Unzipped the package, copied it to the BT server directory, except for the 'files' directory. Then did an install which went ok, no issues so far. I edit the config.php, checked the settings for 'files'. So I don't know what went wrong. This the config file I changed the privacy content ;-) <?php /* ############################################################################################################## buzztouch Self Hosted v2.1.8 This file does several things and it's included in every .php file in this web application. ------------------------------ 1) It establishes a list of .php CONSTANTS used throughout the application. 2) It begins a .php SESSION using session_start() so session tracking is enabled throughout the application. 3) It includes two .php files so they are available throughout the application. ../includes/autoloadClasses.php ../includes/utilityFunctions.php A database connection is required on every page and screen in the application. Set the values below to suit your requirments. Change only the value of the constant, not the constant name. ############################################################################################################## */ //################################################################################ //COPY AND PASTE CONFIG VALUES CREATED DURING THE INSTALL PROCESS /* database server information. Enter your database login credentials here. */ define("APP_DB_HOST", "localhost"); define("APP_DB_NAME", "mydbname"); define("APP_DB_USER", "mydbuser"); define("APP_DB_PASS", "########"); /* buzztouch.com User Email Address, Password */ define("APP_BT_ACCOUNT_USEREMAIL", "[email protected]"); 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", "https://www.buzztouch.com/api/"); define("APP_BT_SERVER_API_KEY", "my key i checked was ok"); define("APP_BT_SERVER_API_KEY_SECRET", "########"); /* application URL. Do not enter the trailing slash (/) after any URL. */ define("APP_URL", "http://www.gjvanwijk.nl/BT-server"); /* 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", "Gerdos"); define("APP_DEFAULT_PAGE_TITLE", "Gerdos"); define("APP_DEFAULT_PAGE_DESCRIPTION", "Open Source iOS and Android App Platform"); define("APP_DEFAULT_KEYWORDS", "Gerdos"); /* 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", "YOUR_UNIQUE_CRYPTO_STRING"); /* google maps API key for application usage map */ define("APP_GOOGLE_MAPS_API_KEY", "YOUR_GOOGLE_MAPS_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", "YOUR_UNIQUE_LOGGEDIN_COOKIE_NAME"); define("APP_REMEMBER_COOKIE_NAME", "YOUR_UNIQUE_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"); //END COPY AND PASTE VALUES CREATED DURING THE INSTALL PROCESS //################################################################################
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/07/13 03:48 AM (12 years ago)
Arubaman has a point; did you go through the install process again 'after' you copied/updated all your files? If you haven't, you should. Make a copy of your config.txt file before you do, just in case. Cheers! -- Smug
 
GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
like
03/07/13 04:21 AM (12 years ago)
Like I said in my previous post I installed it ;-)
 
GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
like
03/07/13 05:26 AM (12 years ago)
SOLVED. define("APP_PHYSICAL_PATH", "/BT-server"); was wrong...had to be define("APP_PHYSICAL_PATH", "/home/gjvanwijk/domains/gjvanwijk.nl/public_html/BT-server"); Happy now!!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/07/13 01:51 PM (12 years ago)
Glad it's all straightened out! Cheers! -- Smug
 

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.