Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 21:50:01

Author Topic: No box for domain when add client in kloxo  (Read 11255 times)

0 Members and 1 Guest are viewing this topic.

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
No box for domain when add client in kloxo
« on: 2013-08-24, 18:36:42 »
There is no box for domain name when add client in kloxo. So WHMCS can't work too without this.. and add user without domain/default domain.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #1 on: 2013-08-24, 19:30:34 »
I was disable this feature because have trouble where unfinish loop. But, it's not related to api and it's just 'disappear' on panel.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #2 on: 2013-08-24, 19:37:33 »
And one more problem with WHMCS:
Strict Standards: Non-static method LxHelper::objectToCommaList() should not be called statically in /home/kloxotest/test.com/clients/modules/servers/lxadmin/lxadmin.php on line 0

WHMCS work perfect on older MR versions...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #3 on: 2013-08-24, 19:51:45 »
Give me your WHMCS driver for lxadmin/kloxo. I want to know what's a problem is.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #4 on: 2013-08-24, 20:01:48 »
Ugh. It is encoded. I will try to decode now.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #5 on: 2013-08-24, 20:06:55 »
If you want enable domain when add client, open '/usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/client/clientbaselib.php' and then change:
Code: [Select]
if ($sgbl->isKloxo()) {
/*
$dlist = domainbase::getDnsTemplateList($parent);

// MR -- don't know what a problem where including domain make unfinish looping
// so, for awhile option for customer as the same as reseller

if ($typetd['val'] === 'customer') {
$vlist['domain_name'] = "";
$vlist['dnstemplate_name'] = make_hidden_if_one($dlist);
// $list = array('wordpress', 'mambo', 'joomla', 'dolphin');
// $list = lx_merge_good('--leave--', $list);
// $vlist['installapp_app'] = array('s', $list);
}
*/
}

to:
Code: [Select]
if ($sgbl->isKloxo()) {

$dlist = domainbase::getDnsTemplateList($parent);

// MR -- don't know what a problem where including domain make unfinish looping
// so, for awhile option for customer as the same as reseller

if ($typetd['val'] === 'customer') {
$vlist['domain_name'] = "";
$vlist['dnstemplate_name'] = make_hidden_if_one($dlist);
// $list = array('wordpress', 'mambo', 'joomla', 'dolphin');
// $list = lx_merge_good('--leave--', $list);
// $vlist['installapp_app'] = array('s', $list);
}

}

Please inform 'Strict Standards: Non-static method LxHelper::objectToCommaList() should not be called statically in /home/kloxotest/test.com/clients/modules/servers/lxadmin/lxadmin.php on line 0' still exists?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: No box for domain when add client in kloxo
« Reply #6 on: 2013-08-24, 20:35:50 »
still related to whmcs
i hope find out solution for my issue

i had setup,.whmcs with kloxo, but suddenly. my whmcs won't edit or etc :(. just always unfinish task
any advice?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #7 on: 2013-08-24, 20:37:52 »
Mustafa,
Thats are the bad lines:

Code: [Select]
         $configarray = array(
              "Get from server" => array(
                  "Type" => "yesno",
                  "Description" => "Get the available choices from the server"
              ),
              "Resource Plan" => array(
                  "Type" => "dropdown",
                  "Options" => LxHelper::objecttocommalist($resourcePlans)
              ),
              "DNS Template" => array(
                  "Type" => "dropdown",
                  "Options" => LxHelper::objecttocommalist($dnsTemplates)
              ),
              "Web Server" => array(
                  "Type" => "dropdown",
                  "Options" => LxHelper::objecttocommalist($servers)
              ),
              "Mail Server" => array(
                  "Type" => "dropdown",
                  "Options" => LxHelper::objecttocommalist($servers)
              ),
              "MySQL Server" => array(
                  "Type" => "dropdown",
                  "Options" => LxHelper::objecttocommalist($servers)
              ),
              "DNS Servers" => array(
                  "Type" => "text",
                  "Size" => "40",
                  "Description" => "(comma&nbsp;separated)<br/>Available servers: " . LxHelper::objecttocommalist($servers, false)
              ),
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #8 on: 2013-08-24, 21:22:33 »
And Total Disk usage not work on OpenVZ vps.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #9 on: 2013-08-24, 21:31:14 »
Agh, And backup not work too.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #10 on: 2013-08-24, 21:36:32 »
Quote from: "prandah"
still related to whmcs
i hope find out solution for my issue

i had setup,.whmcs with kloxo, but suddenly. my whmcs won't edit or etc :(. just always unfinish task
any advice?
You mean 'unfinish loop' on Kloxo-MR or Kloxo official.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #11 on: 2013-08-24, 21:40:48 »
Mostly Total Disk Usage not work because something wrong with Kloxo code or else.

About backup not work, it's usually happens on Centos 6 with certain Mysql/MariaDB (because compatibilty between mysql/mariadb with php 5.2). If happens on Centos 5, possible mysql set as 'skip-innodb' but certain database using innodb.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #12 on: 2013-08-24, 21:56:35 »
Code: [Select]
[root@vps1 ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013082401

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php53u-5.3.27-1.ius.el5
   3. Httpd: httpd-2.2.25-1.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.27.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
   7. Dns: bind-9.9.3-5.P2.el5

D. Php-type (for Httpd/proxy): php-fpm_worker

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        729        294          0          0          0
   -/+ buffers/cache:        729        294
   Swap:            0          0          0
Code: [Select]
my.cnf
[mysqld]
#skip-innodb
default-storage-engine=myisam
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Backup and Total Disk usage not work :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: No box for domain when add client in kloxo
« Reply #13 on: 2013-08-24, 21:59:21 »
For backup, try 'sh /script/mysql-convert --engine=myisam' (if want using myisam) or 'sh /script/mysql-convert --engine=innodb'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: No box for domain when add client in kloxo
« Reply #14 on: 2013-08-24, 22:02:21 »
Not work

Code: [Select]
- Added 'default-storage-engine=myisam' in /etc/my.cnf
- Convert to 'myisam' engine finished
- MySQL Service restarted
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.044 seconds with 18 queries.

web stats analysis