Discussion Forums  >  Self Hosted Control Panels

Replies: 10    Views: 106

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

App in control panel deleted by accident, how to restore?

Hi Guys, I delete all in app control panel ( self hosting bt 2.0) by accident and app now is gone. I have in zip file latest config and I try to copy this config in ( files/applications/APPCODE) in the config folder. After that nothing happen in the app control panel still don't have anything. In my installation version of hosting panel I can't go to JSON data I have only this : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /server/api/app</title> </head> <body> <h1>Index of /server/api/app</h1> <ul><li><a href="/server/api/"> Parent Directory</a></li> </ul> <address>Apache Server at www.mysite.com Port 80</address> </body></html> (this was also before deleting app, this is some issue with hostgator after update to BT self hosting to 2.1.8) I spend a lot of time to develop app and now I have empty window. Is there any solution to restore this? Thank you
 
recoore
I hate code!
Profile
Posts: 73
Reg: Mar 01, 2013
Kingston
4,880
like
05/19/13 11:19 AM (12 years ago)
check with your hosting company they will be able to restore it for you
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/19/13 11:59 AM (12 years ago)
I ask them but there is no old backup where were these files so....
 
Cakebit
Code is Art
Profile
Posts: 502
Reg: Dec 15, 2010
In your local b...
16,520
like
05/19/13 01:01 PM (12 years ago)
The app is still in your database... All you need to do is go into PHP-My-Admin and in your bt_applications directory change your app status table from "deleted" to "created".
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/19/13 02:39 PM (12 years ago)
Agreeing with CakeBit. They haven't gone anywhere; they've just had their status changed in the database, although *nothing* has been actually removed. You'll need to use PHPMyAdmin in order to 'retrieve' them. Cheers! -- Smug
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/19/13 11:41 PM (12 years ago)
I ask them but there is no old backup where were these files so....
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/20/13 12:28 AM (12 years ago)
I did not explain in details I have delete all items in app control panel
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/20/13 12:42 AM (12 years ago)
We understood that. If you deleted the 'app' you should be ok. If you deleted the app 'screens' then you're out of luck. If you 'did' delete the screens, the best you can hope for is that you downloaded code before you deleted the screens. If so, you can look at the 'BT_config.txt' and recreate the app from scratch. But that's about the best you can hope for. Wish I had better news. Cheers! -- Smug
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/20/13 12:53 AM (12 years ago)
Hi Smug, I have last config so I have to start from scratch. Thank you
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/20/13 01:01 AM (12 years ago)
It's not perfect, but it's better than nothing. Good luck in your effort! Cheers! -- Smug
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/20/13 01:05 AM (12 years ago)
thank you
 

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.