Open mhartian opened 8 years ago
You need another domain name to enable the client to work properly.
Thabks very much for reply. How can i test it into localhost. and about api key and secret key can be eun into localhost? thank you agai i am student i want to implement it to our thesis.
On Sunday, 10 April 2016, Canbin Lin notifications@github.com wrote:
You need another domain name to enable the client to work properly.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-207938862
You can bind the LAN IP of Server as domain name for the API, such as 192.168.1.1.
Just like this.
it look like this?
public static final String DOMAIN_NAME = "127.0.0.1" + WEBSITE_PATH;
public static final String MOBILE_DOMAIN_NAME = "127.0.0.1" + WEBSITE_PATH;
public static final String BASIC_API_URL = "192.168.15.5" +
WEBSITE_PATH; // MY IPV4
and how can i configure this? i am using localhost . what should i put in my API_KEY and API_SECRET?
public static final String WEBSITE_PATH = ""; //Website path, You can leave it blank in most cases. public static final String API_KEY = "12450"; //Application key you
set in config.php
public static final String API_SECRET = "b40484df0ad979d8ba7708d24c301c38"; //Application secret you set in
config.php
Thank you for the reply sir sorry to disturb you.
On Sun, Apr 10, 2016 at 4:14 AM, Canbin Lin notifications@github.com wrote:
[image: qq 20160410191351] https://cloud.githubusercontent.com/assets/5785188/14409810/653766fc-ff50-11e5-8269-6bb2a198776a.png Like this.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-207962196
public static final String DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH;
public static final String MOBILE_DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH;
public static final String BASIC_API_URL = "http://192.168.15.5" + WEBSITE_PATH; // MY IPV4
And API_SECRET API_KEY can be modified, as long as with the config.php to maintain consistency.
You can also do not have to modify it.
Hello. i trie but it wont work it always Network error.
On Sun, Apr 10, 2016 at 6:22 AM, Canbin Lin notifications@github.com wrote:
And API_SECRET API_KEY can be modified, as long as with the config.php to maintain consistency.
You can also do not have to modify it.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-207983812
define('ForumLanguage', '{{Language}}'); //MemCache(d) / Redis define('EnableMemcache', {{EnableMemcache}}); define('MemCacheHost', 'localhost');/////////////////////////////////////// could i change it to my ip? or localhost only? define('MemCachePort', 11211);//Memcache: 11211, Redis: 6379 define('MemCachePrefix', '{{MemCachePrefix}}');
RewriteEngine On RewriteCond %{HTTP_HOST} ^94cb.com$ [NC] --------------------- could i change it to localhost? RewriteRule ^(.*)$ https://www.94cb.com/$1 [L,R=301]
to localhost?
--------------------- and this?
and this
define('ForumLanguage', 'en'); //MemCache(d) / Redis define('EnableMemcache', false); define('MemCacheHost', '127.0.0.1');---------------------------------------------------to my ip or localhost only? define('MemCachePort', 11211);//Memcache: 11211, Redis: 6379 define('MemCachePrefix', 'carbon_fiber'); //Database define('DBHost', '127.0.0.1'); -------------------------also this? define('DBName', 'database'); define('DBUser', 'root'); define('DBPassword', '');
cant run the android app . please help me . the website is run smoothly but the android app wont connect.
On Sun, Apr 10, 2016 at 8:27 AM, mhart ian cruz ian.mhart21@gmail.com wrote:
Hello. i trie but it wont work it always Network error.
On Sun, Apr 10, 2016 at 6:22 AM, Canbin Lin notifications@github.com wrote:
And API_SECRET API_KEY can be modified, as long as with the config.php to maintain consistency.
You can also do not have to modify it.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-207983812
Print your Android debug log.
heres.
04-10 19:06:22.016 3884-8359/com.lincanbin.carbonforum W/System.err:
java.net.MalformedURLException: Protocol not found:
deepwebph.x10host.com/seccode.php
04-10 19:06:22.016 3884-8359/com.lincanbin.carbonforum W/System.err: at
java.net.URL.
On Sun, Apr 10, 2016 at 6:18 PM, Canbin Lin notifications@github.com wrote:
Print your Android debug log.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208106842
Because you delete "http://"。
public static final String DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://192.168.15.5" + WEBSITE_PATH; // MY IPV4
i have my own domain now and i upload the site . http://www.deepwebph.x10host.com/ - this my domain
so should i put like this :
public static final String DOMAIN_NAME = "http://deepwebph.x10host.com" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = " http://deepwebph.x10host.com" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://deepwebph.x10host.com" + WEBSITE_PATH; // MY IPV4
On Sun, Apr 10, 2016 at 7:57 PM, Canbin Lin notifications@github.com wrote:
Because you delete "http://"。
public static final String DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://192.168.15.5" + WEBSITE_PATH; // MY IPV4
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208136261
the only problem is how can i retrieve posted thread into android app it always network error
On Sun, Apr 10, 2016 at 8:14 PM, mhart ian cruz ian.mhart21@gmail.com wrote:
i have my own domain now and i upload the site . http://www.deepwebph.x10host.com/ - this my domain
so should i put like this :
public static final String DOMAIN_NAME = "http://deepwebph.x10host.com" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = " http://deepwebph.x10host.com" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://deepwebph.x10host.com"
- WEBSITE_PATH; // MY IPV4
On Sun, Apr 10, 2016 at 7:57 PM, Canbin Lin notifications@github.com wrote:
Because you delete "http://"。
public static final String DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "http://192.168.15.5" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://192.168.15.5" + WEBSITE_PATH; // MY IPV4
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208136261
Set your domain name firstly.
ok i set it it now. after that
On Monday, 11 April 2016, Canbin Lin notifications@github.com wrote:
[image: qq 20160411140723] https://cloud.githubusercontent.com/assets/5785188/14418155/c1a983b8-ffee-11e5-85ad-0328b0ac6541.png Set your domain name firstly.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208177528
i only upload the website in the web hosting and it run smoothly . should i upload the android carbon forum app source to web hosting?so it can connect the androin app to the website. can you help me how?
On Monday, 11 April 2016, mhart ian cruz ian.mhart21@gmail.com wrote:
ok i set it it now. after that
On Monday, 11 April 2016, Canbin Lin <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
[image: qq 20160411140723] https://cloud.githubusercontent.com/assets/5785188/14418155/c1a983b8-ffee-11e5-85ad-0328b0ac6541.png Set your domain name firstly.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208177528
you don't need to upload app source.
only the website? but it wont connect me it always network connection. but when i try to login the Captcha show ip but it wont log in me always network error
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
you don't need to upload app source.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208432698
What's your API domain name?
here's my domain for the website deepwebph.x10host.com http://deepwebph.x10host.com/seccode.php
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
What's your API domain name?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208456164
API domain name, not the pc domain name.
i dont have api sir.
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
API domain name, not the pc domain name.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208460034
you can't use api without api domain name.
how to get api domain. should i upload the website on api domain?
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
you can't use api without api domain name.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208463036
Just bind another domain name to your host, and set it as api domain name on carbon forum dashboard. You do not need to upload anything.
is there any tutorial for that. im so sorry sir im student
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
Just bind another domain name to your host, and set it as api domain name on carbon forum dashboard. You do not need to upload anything.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208465176
Binding domain should be a very simple matter, you should not need tutorials.
just like subdomain?
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
Binding domain should be a very simple matter, you should not need tutorials.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208466855
can you give me example sir
On Tuesday, 12 April 2016, mhart ian cruz ian.mhart21@gmail.com wrote:
just like subdomain?
On Tuesday, 12 April 2016, Canbin Lin <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
Binding domain should be a very simple matter, you should not need tutorials.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208466855
how to bind sir. please
thanks
On Tuesday, 12 April 2016, mhart ian cruz ian.mhart21@gmail.com wrote:
can you give me example sir
On Tuesday, 12 April 2016, mhart ian cruz <ian.mhart21@gmail.com javascript:_e(%7B%7D,'cvml','ian.mhart21@gmail.com');> wrote:
just like subdomain?
On Tuesday, 12 April 2016, Canbin Lin notifications@github.com wrote:
Binding domain should be a very simple matter, you should not need tutorials.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208466855
right, add a subdomain.
just like this? api.(Subdomain).deepwebph.x10host.com
deepwebph.x10host.com- this is my main domain so i just put api.(subdomain name)?
On Mon, Apr 11, 2016 at 6:18 PM, Canbin Lin notifications@github.com wrote:
right, add a subdomain.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208653938
is this correct?
On Tue, Apr 12, 2016 at 5:00 AM, mhart ian cruz ian.mhart21@gmail.com wrote:
just like this? api.(Subdomain).deepwebph.x10host.com
deepwebph.x10host.com- this is my main domain so i just put api.(subdomain name)?
On Mon, Apr 11, 2016 at 6:18 PM, Canbin Lin notifications@github.com wrote:
right, add a subdomain.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-208653938
You are right. you can ask your service provider how to bind the domain name.
network error again.
this is my configuration
Apiadress:
public static final String DOMAIN_NAME = "http://deepwebph.x10host.com" + WEBSITE_PATH; public static final String MOBILE_DOMAIN_NAME = "http://m.deepwebph.x10host.com" + WEBSITE_PATH; public static final String BASIC_API_URL = "http://api.deepwebph.x10host.com" + WEBSITE_PATH; // MY IPV4
htaccess RewriteEngine On RewriteCond %{HTTP_HOST} ^http://deepwebph.x10host.com$ [NC] RewriteRule ^(.*)$ http://deepwebph.x10host.com/$1 [L,R=301]
api.deepwebph.x10host.com PC Domainname (www.94cb.com) Mobile Domainname (m.94cb.com) API Domainname (api.94cb.com)
i dont know why always error. i think my configuration is correct.
On Tue, Apr 12, 2016 at 6:19 PM, Canbin Lin notifications@github.com wrote:
You are right. you can ask your service provider how to bind the domain name.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/lincanbin/Android-Carbon-Forum/issues/6#issuecomment-209174393
this is my log.
04-13 02:11:14.439 4225-4255/com.lincanbin.carbonforum D/POST URL :: http://api.deepwebph.x10host.com/register 04-13 02:11:14.439 4225-4255/com.lincanbin.carbonforum D/POST parameter: SKey=12450&STime=1460538674&SValue=69bf9c39c40f561fcea697221fb8715f&Email=dasdsadsa% 40gmail.com &VerifyCode=2756&UserName=daremenot&Password=99303d7922f1518d2f4135add71b63f5 04-13 02:11:15.149 4225-4229/com.lincanbin.carbonforum D/dalvikvm: GC_CONCURRENT freed 2398K, 33% free 5165K/7600K, paused 0ms+0ms, total 10ms 04-13 02:11:22.319 4225-4255/com.lincanbin.carbonforum D/Post Result: <!DOCTYPE html>
should it work if i test it to may local ip? ipv4