Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

API Does not work at all :(

General questions about VestaCP
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

API Does not work at all :(
  • Quote

Post by patstan » Fri Sep 12, 2014 1:58 pm

Hi,

The API listed in the documentation does not work. For example, if i use the create new user function, this is outputted, but it does NOT actually create the user on VestaCP panel.

Code: Select all

User account has been successfuly created
Any suggestions? or are you aware that its broken?

Thank you!
Top

fremeni
Posts: 40
Joined: Sun Jun 15, 2014 11:14 pm

Re: API Does not work at all :(
  • Quote

Post by fremeni » Fri Sep 12, 2014 6:12 pm

patstan wrote:Hi,

The API listed in the documentation does not work. For example, if i use the create new user function, this is outputted, but it does NOT actually create the user on VestaCP panel.

Code: Select all

User account has been successfuly created
Any suggestions? or are you aware that its broken?

Thank you!

Anyone? We would use your software but without API it's impossible to scale up
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API Does not work at all :(
  • Quote

Post by patstan » Sat Sep 13, 2014 12:28 pm

fremeni wrote: Anyone? We would use your software but without API it's impossible to scale up
Indeed. Im trying to built my own little signup system with the API, but unfortunately the thing stopping us is that it does not actually work.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API Does not work at all :(
  • Quote

Post by patstan » Mon Sep 22, 2014 12:16 pm

Any updates?
Top

fremeni
Posts: 40
Joined: Sun Jun 15, 2014 11:14 pm

Re: API Does not work at all :(
  • Quote

Post by fremeni » Mon Sep 22, 2014 12:18 pm

Hi Pastan,

The API seems works perfectly, maybe you need a php coder that help you.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API Does not work at all :(
  • Quote

Post by patstan » Mon Sep 22, 2014 12:23 pm

fremeni wrote:Hi Pastan,

The API seems works perfectly, maybe you need a php coder that help you.
It does not work. Basically i copied and pasted the API script, changed the server details and loaded the page. After about 10 seconds i get "User account has been successfuly created" but when i login to the server, no users have been created.
Top

fremeni
Posts: 40
Joined: Sun Jun 15, 2014 11:14 pm

Re: API Does not work at all :(
  • Quote

Post by fremeni » Mon Sep 22, 2014 12:24 pm

I can't help you because i'm not a coder but my PHP Coder collegue make it works and now we are using them.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API Does not work at all :(
  • Quote

Post by patstan » Mon Sep 22, 2014 12:28 pm

fremeni wrote:I can't help you because i'm not a coder but my PHP Coder collegue make it works and now we are using them.
You dont really need to know PHP. Just put the PHP code on the age, edit the server details and it should work, which in my case doesnt.
Top

patstan
Posts: 117
Joined: Wed Jul 30, 2014 10:53 am

Re: API Does not work at all :(
  • Quote

Post by patstan » Mon Sep 22, 2014 12:51 pm

Ok. I just found out that the API script needs to be hosted on the same server as the vestacp panel. Otherwise, it wont work.
Top

truytim123
Posts: 7
Joined: Fri Nov 20, 2015 8:00 am

Re: API Does not work at all :(
  • Quote

Post by truytim123 » Sun Jan 03, 2016 5:47 pm

patstan wrote:Ok. I just found out that the API script needs to be hosted on the same server as the vestacp panel. Otherwise, it wont work.
How do that? can you help me?
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password