Skin - Problem API

comeback

Verified User
Joined
Aug 21, 2012
Messages
34
Hello,

I speak French, sorry for my bad english.

I DirectAdmin with CentOS 6 (64 bit)

I bought the theme Capri and I installed (http://www.outservices.net/capri.php).

There is a tab at the top right to change the language (http://www.outservices.net/images/capri_screens/ca_userlevel.png)

Support the theme tells me that this is a problem in DirectAdmin.

Hello Sr,

The directadmin API is not working on your installation, if you access http://xx.xx.xx.xx.xx:2222/HTM_AJAX_CHANGE_LANG?lang=en (after login) using Capri skin, you will get a login page instead of the intented page.
The function that triggers the API is the one provided by directadmin.

Do you have an idea or it comes from and how to fix.

Thank you for your help
 
Last edited:
Hello,

It seems to me, that default DA skin has no HTM_AJAX_CHANGE_LANG, so I guess, it's Capri skin issue.

Anyway check directadmin logs, and/or enable directamin into debug and see the output.
 
HTM_AJAX_CHANGE_LANG is just a page, as the skin tutorial said, you can create your own page.
That page just call the API CMD_API_CHANGE_INFO, but in his server that api return an html login screen instead of the api result.

I can not ask directadmin support for that because it is working on my servers
 
So the issue is a particular case of the author, and has nothing to do directly with either Capri Skin or directadmin?

I did not find any mention of HTM_AJAX_CHANGE_LANG on site:directadmin.com with Google (except this thread). So I guess it Capri Skin tutorial which you mean, right?
 
Back
Top