Discussion Forums  >  BT.com Website, Account Questions

Replies: 14    Views: 94

CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
04/12/12 02:51 PM (13 years ago)

Had to move servers, How do i edit API key for old server

Hello, I had major problems with my old server and had to move, The new server i installed buzz touch on has a different IP and host name. How to i edit the IP and Hostname on my old API key? Cameron
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/23/12 01:44 PM (13 years ago)
a) log into your buzztouch.com account b) Click "Self hosted servers" on left side c) Modify the API key. Should be OK at that point.
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
04/23/12 02:01 PM (13 years ago)
Thank you, but when i got to "Self hosted servers" I can not see anything that says Modify API key, not sure why?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/23/12 02:07 PM (13 years ago)
Seems odd? I created a new API key for you. Look at your Self Hosted servers screen again, it will show there. Modify the details for this API key as needed, use it on the new server you setup. Ignore the old key ;-)
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
04/23/12 02:33 PM (13 years ago)
Thank you very much:) I have modify'd it and gone into my server, and put in the details, but when i try to validate it keep getting this "Failed! The key / secret / URL you entered could not be validated" But i have double checked that details are right, not sure why it is doing this?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/23/12 09:24 PM (13 years ago)
This makes sense. I say this because your other API key (the original one you were working with before) should have worked for your new server. So, this means your going to need to figure out why our install isn't configured properly. It's not going to be related to the package you download. It will be related to the PHP installation. Things to check... Does your PHP install / webserver have cURL installed (almost all do) ? Does your PHP install / webserver allow cURL requests from your webserver account? These are just guesses as to why your server cannot seem to make a cURL request to the API to validate the key. cURL is required. Also, I'm assuming your installed on a Linux box - not Windows? Lots of folks dont' have the skill necessary to install PHP software, it sounds like you do. However, you may end up needing to provide a PHP developer with FTP access to diagnose your backend and why it's not working as expected.
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
04/24/12 09:30 AM (13 years ago)
Hello, The answer to theses questions are yes. Yes it it is installed on a Linux box, I was with godaddy, but have moved this to a budget hosting with ukhost4u.com. When i go to the update section, it says i need to update to the current version and i get this message: Oops, a PHP error was trapped. File: /home/kwicodqc/public_html/BT-server-beta/admin/maintenance_AJAX.php Line: 149 Message: Undefined property: stdClass::$latestVersion Is this related to the problem ? Many Thanks Cameron
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/25/12 12:54 AM (13 years ago)
Good info. OK, so this is for sure a cURL issue. I would debug it by printing some results to the screen to try to debug why the cURL request is not doing what's expected. a) Open /home/kwicodqc/public_html/BT-server-beta/admin/maintenance_AJAX.php b) Add: echo "Results: " . jsonResult; exit(); on line 137, just below this line: $jsonResult = curl_exec($ch); c) Click the Check for Updates button. The results of the cURL request will print. If you don't get any results, or you get an error, you'll need to move / add some echo statements to this file to see what's failing on this server.
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
04/25/12 02:27 PM (13 years ago)
Hi @David, I done the above and got this message: Results: jsonResult Oops, a PHP error was trapped. File: /home/kwicodqc/public_html/BT-server-beta/admin/maintenance_AJAX.php Line: 137 Message: Use of undefined constant jsonResult - assumed 'jsonResult' This time it was in green text colour but last time it was in red:/ "you'll need to move / add..." Not quite sure what you mean. I would assume a clean install of Buzztouch would not sort this issue? (I think this is a stupid question but thought i would ask just incase it wasn't :L) Many Thanks Cameron
 
Annonymous
Profile
04/26/12 08:00 AM (13 years ago)
Hi @David, I done the above and got this message: Results: jsonResult Oops, a PHP error was trapped. File: /home/kwicodqc/public_html/BT-server-beta/admin/maintenance_AJAX.php Line: 137 Message: Use of undefined constant jsonResult - assumed 'jsonResult' This time it was in green text colour but last time it was in red:/ "you'll need to move / add..." Not quite sure what you mean. I would assume a clean install of Buzztouch would not sort this issue? (I think this is a stupid question but thought i would ask just incase it wasn't :L) Many Thanks Cameron
 
Annonymous
Profile
04/26/12 11:33 AM (13 years ago)
Hi @David, I done the above and got this message: Results: jsonResult Oops, a PHP error was trapped. File: /home/kwicodqc/public_html/BT-server-beta/admin/maintenance_AJAX.php Line: 137 Message: Use of undefined constant jsonResult - assumed 'jsonResult' This time it was in green text colour but last time it was in red:/ "you'll need to move / add..." Not quite sure what you mean. I would assume a clean install of Buzztouch would not sort this issue? (I think this is a stupid question but thought i would ask just incase it wasn't :L) Many Thanks Cameron
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
04/26/12 02:49 PM (13 years ago)
Sorry i don't know why they have repeated them selfs :( ?
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
05/02/12 12:42 PM (13 years ago)
@ David any ideas ? I also thought maybe reinstalling just the API directory ?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/02/12 01:43 PM (13 years ago)
It's nearly impossible to diagnose / help install this stuff if PHP is beyond your capabilities. That's one of the reasons we charge $ to do installs for folks. Fact is, lots of people can install and configure without any trouble, others cannot because it's beyond their level of understanding. You'll need to figure out if the cURL request is properly requesting data from the buzztouch API. If it's not, you'll need to do some echo statements (in PHP) to determine where it's failing on your server and why.
 
CameronW
Apple Fan
Profile
Posts: 64
Reg: Aug 02, 2011
Scotland
3,240
like
05/02/12 01:48 PM (13 years ago)
Ok Thank you very much, I have a friend who can help me . I shall get him to have a look. I managed to get this working on my my godaddy server fine, but not this one:/ Thank you for your help:)
 

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.