Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : DirectAdmin SoftaCulous API problem



Threaded Mode | Print  

 DirectAdmin SoftaCulous API problem (1 Replies, Read 1969 times)
devado
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi,

I cant use API for softaculous.

Im try HTTPSocket.php, installapi.php and same problem.

error: 'softdomain' => string 'The path of the domain you selected could not be found.'

My API directadmin works fine. I can create users etc. Only Softaculous have a problem.

In debug directadmin i see no login after first post data:


Quote
/CMD_API_SHOW_USER_CONFIG
0: Accept-Encoding: gzip
1: Accept: */*
2: Cookie: session=; key=
3: Da-Ipc-Signature: c0027e632ef5932aaafefedcad60c1c6da9f4dd6
4: Da-Licc-Nresellers: -1
5: Da-Licc-Nusers: -1
6: Da-Licc-Vdomains: -1
7: Host: 127.0.0.1:2222
8: User-Agent: Softaculous
9: X-Da-Remote-Ip: 127.0.0.1
10: X-Forwarded-For: 127.0.0.1
Authentication::getSessAuth: blank session cookie.
** incorrect login
Send::sendLogin(): not logged in.  json_out=0
/CMD_API_SHOW_USER_USAGE

IP: --   

DirectAdmin SoftaCulous API problem
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,
When you use sock or username@password:hostname method to authenticate the $_SESSION variable is not passed to Softaculous causing this error.

You can use cookie method which passes the SESSION data and the installation works.

I have attached a test file which you can try.


Edited by Brijesh : July 25, 2022, 2:27 pm

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 29, 2024, 2:54 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024