MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: Maradney on 2017-06-06, 17:44:03
-
I can't find the Kloxo API anywhere and the link http://wiki.lxcenter.org/API is no longer available
where can I find the API ?
-
Try running 'sh /script/simplelist', 'sh /script/update', 'sh /script/add', 'sh /script/delete' and 'sh /script/getproperty'.
-
I need the API docs if possible I need to understand the commands.
In one of your replies you said that Kloxo-MR has the same API as Kloxo and provided the link but unfortunately the website is down and the docs are no where to be found.
as for what I want to do :
I want to make the user submit his own domain through an installation screen after he opens his temo-domain for the first time and for that I need to do Kloxo-MR operations using server side language.
-
Use this snapshot from web archive:
https://web.archive.org/web/20150424023149/http://wiki.lxcenter.org/index.php/API#Kloxo.2FHyperVM_API
I used it to learn about Kloxo API, although the info is limited.
-
Oh thanks I'll check it out :D
-
Or read https://forum.mratwork.com/kloxo-mr-development/kloxo-api-23797/
-
the command sh /script/simplelist throws this error
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56s/usr/lib/php/modules/sphinx.so' - libsphinxclient-0.0.1.so: cannot open shared object file: No such file or directory in Unknown on line 0
/script/simplelist: line 3: 44863 Segmentation fault (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"
I wanted to know the resource types and try understand the add command to add a sub domain using php
-
the command sh /script/simplelist now throws this error
/script/simplelist: line 3: 44863 Segmentation fault (core dumped) lxphp.exe ../bin/common/commandline.php --action=simplelist "$@"
I solved the php one by doing so
mv /opt/php56s/etc/php.d/40-sphinx.ini /opt/php56s/etc/php.d/40-sphinx_unused.nonini
I wanted to know the resource types and parameters and try understand the add command to add a sub domain using php