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. 2017-11-07, 18:49:55

Author Topic: Unable to remove subdomains under customer  (Read 1782 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Unable to remove subdomains under customer
« on: 2014-04-15, 20:14:01 »
It shows:

Quote
Fatal error: Call to undefined method domain::getFullDocRoot() in /usr/local/lxlabs/kloxo/httpdocs/driver/ftp/ftpuserlib.php on line 28

Folders are being removed, FTP accounts does not.

Kloxo-MR 6.5.1.b-2014041504 + php53s
« Last Edit: 2014-04-15, 20:34:42 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to remove subdomains under customer
« Reply #1 on: 2014-04-15, 20:18:59 »
What's about domain?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to remove subdomains under customer
« Reply #2 on: 2014-04-15, 20:29:04 »
What's about domain?.

It works well for domains. But sometimes it works for subdomains too. It only happens one customer. Maybe he's got some crazy FTP account that cannot be removed, because it does not use subdomain name.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to remove subdomains under customer
« Reply #3 on: 2014-04-15, 20:39:06 »
If I comment this line:

$this->__var_full_directory = "{$this->getParentO()->getFullDocRoot()}/{$this->directory}";

then it works.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Unable to remove subdomains under customer
« Reply #4 on: 2014-04-16, 21:59:19 »
Any progress on this ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Unable to remove subdomains under customer
« Reply #5 on: 2014-04-17, 06:04:01 »
Try change:
Code: [Select]
			$this->__var_full_directory = "{$this->getParentO()->getFullDocRoot()}/{$this->directory}";

to:
Code: [Select]
			if ($this->getParentO()->getFullDocRoot()) {
$this->__var_full_directory = "{$this->getParentO()->getFullDocRoot()}/{$this->directory}";
}
« Last Edit: 2014-04-17, 06:16:33 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.039 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM