kennethgomad03 Posted December 16, 2015 Report Posted December 16, 2015 I need help with a new hosting company that include server hosting with blesta, suddenly i'm confused on how to setup the multicraft api for blesta if someone could help me please response? Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 Have you seen the documentation? https://docs.blesta.com/display/user/Multicraft Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 yes i did but it comfuse me little bit Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 i dont know how to setup the api.php Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 api.php is on your Multicraft master server, if you have Multicraft installed and accessible at the root directory then it would be something like http://multicraft.domain.com/api.php Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 yes also i have question what is the api.php need for ? Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 could you please help me how to set it up please if you could? Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 yes also i have question what is the api.php need for ? This is how Blesta connects to your Multicraft panel. could you please help me how to set it up please if you could? What is the URL to your Multicraft panel? Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 http://158.69.214.252/multicraft/index.php?r=site/page&view=home Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 Your api.php is here: http://158.69.214.252/multicraft/api.php Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 yea but the problem is when cleints had bought a package they do'nt recieve a username and pass automatic generate. Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 yea but the problem is when cleints had bought a package they do'nt recieve a username and pass automatic generate. Did you add welcome email content to your Packages? See https://docs.blesta.com/display/user/Multicraft#Multicraft-WelcomeEmail I suggest going through the documentation step by step, it will make a lot more sense if you are familiar with the documentation. If you have any specific issues or questions, please feel free to post them with as many details as possible. Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 Just to add: If this is not the 1st server the customer ordered, the Multicraft User/Pass will not be included. Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 i setted up the email but customer dont recieve any plus the service don't give active or pending so its hard to know. Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 http://minekey.xyz/billing/ try here the demo server Quote
0 Paul Posted December 16, 2015 Report Posted December 16, 2015 i setted up the email but customer dont recieve any plus the service don't give active or pending so its hard to know. Was the order approved? (Billing > Overview: Orders widget) Did you set up your cron job? Paid pending orders are provisioned by the cron. Quote
0 Michael Posted December 16, 2015 Report Posted December 16, 2015 i setted up the email but customer dont recieve any plus the service don't give active or pending so its hard to know. Would you like me to help on Teamviewer? If so pm me and I'll see what you are doing and how to help? Quote
0 kennethgomad03 Posted December 16, 2015 Author Report Posted December 16, 2015 ok i pm you already Quote
0 kennethgomad03 Posted December 17, 2015 Author Report Posted December 17, 2015 So Mike was helping me on Teamviewer and we keep getting "An internal error occurred, or the server did not respond to the request." In the logs it says under output: http://ip-address/multicraft/api.php|findUsers s:62:"{"success":false,"errors":["No API user supplied."],"data":[]}"; We've moved the MulticraftAPI.php in all three folders to try and fix it: /components/modules/multicraft/ /components/modules/multicraft/apis/ /components/modules/multicraft/config/ But no luck. The username and the API key are both correct in the Module and the file itself. Is there anything we are missing? Thanks. PS: both Input boxes on the log are successful, it's just the output's which are showing errors. Quote
0 kingdl Posted December 17, 2015 Report Posted December 17, 2015 If you pm me ill help you, If your online at around 4:10 Central US Time, Missouri I will help you out, I have all mine setup. I also tried making an account and purchasing a server, and i noticed for some reason it auto cancels the server. Ill trade some information though I'll help you out if you show me how to edit the blesta page like that. lol. EDIT: Alright dude, I just noticed that you got https://, now how did you do that?? Im using wamp, and I cant get it to work what so ever. Michael 1 Quote
0 Michael Posted December 17, 2015 Report Posted December 17, 2015 If you pm me ill help you, If your online at around 4:10 Central US Time, Missouri I will help you out, I have all mine setup. I also tried making an account and purchasing a server, and i noticed for some reason it auto cancels the server. Ill trade some information though I'll help you out if you show me how to edit the blesta page like that. lol. EDIT: Alright dude, I just noticed that you got https://, now how did you do that?? Im using wamp, and I cant get it to work what so ever. Awesome can help each other Multicraft seems very hard to set-up. Quote
0 kingdl Posted December 17, 2015 Report Posted December 17, 2015 To be honestly its not that hard, I just was having a super hard time setting up cron jobs and the email thing, but the email was all wrong on my part, BUT what did suck was getting PayPal setup, I had to register my company and get a Buniness Emplayee ID for a PayPal Business Account. Setting up the packages was a little hard, I got a package for a fully custom server where you can select how ever much ram and players and jar. Im all setup I just wouldnt mind getting the cron jobs finished. I went on google and saw this one post so i tried but no luck, When i get some more free time I for sure will keep on trying. To be honestly the API was the easiest part... Quote
0 Tyson Posted December 17, 2015 Report Posted December 17, 2015 So Mike was helping me on Teamviewer and we keep getting "An internal error occurred, or the server did not respond to the request." In the logs it says under output: http://ip-address/multicraft/api.php|findUsers s:62:"{"success":false,"errors":["No API user supplied."],"data":[]}"; We've moved the MulticraftAPI.php in all three folders to try and fix it: /components/modules/multicraft/ /components/modules/multicraft/apis/ /components/modules/multicraft/config/ But no luck. The username and the API key are both correct in the Module and the file itself. Is there anything we are missing? Thanks. PS: both Input boxes on the log are successful, it's just the output's which are showing errors. What is "MulticraftAPI.php"? Blesta doesn't come with this file, so there is no reason you should be adding it to your Blesta installation. The API URL the module asks for is on the Multicraft server. It sounds like you have that setup correctly because you've stated that you receive a response of "No API user supplied". You would not have received any response if this were incorrect. The error indicates the "Username" you have set in Blesta is likely missing, as it is not included in the API request to Multicraft, hence the "No API user supplied" error. Quote
0 Michael Posted December 17, 2015 Report Posted December 17, 2015 What is "MulticraftAPI.php"? Blesta doesn't come with this file, so there is no reason you should be adding it to your Blesta installation. The API URL the module asks for is on the Multicraft server. It sounds like you have that setup correctly because you've stated that you receive a response of "No API user supplied". You would not have received any response if this were incorrect. The error indicates the "Username" you have set in Blesta is likely missing, as it is not included in the API request to Multicraft, hence the "No API user supplied" error. But we tried both a test account and the admin main account with the API key they provided when you enable access? Quote
0 Tyson Posted December 17, 2015 Report Posted December 17, 2015 I can't attest to your situation, but I can tell you how mine is setup: - Root user in Multicraft has an API key set. Take the root username and this API key and set them in Blesta. - The URL to the Multicraft API file is very similar to where you login (by default), e.g. https://domain.com/multicraft/api.php - set this in Multicraft as the API URL. The Panel URL is the same (by default), minus "api.php", e.g. https://domain.com/multicraft/ Quote
0 kingdl Posted December 17, 2015 Report Posted December 17, 2015 Tyson got it, its ungodly easy. Also its nothing to do with Blesta api stuff its just multicraft. And all it does it just allows the new customers with there new accounts to be made on the panel. Quote
Question
kennethgomad03
I need help with a new hosting company that include server hosting with blesta, suddenly i'm confused on how to setup the multicraft api for blesta if someone could help me please response?
45 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.