• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk Domain Panel Problem about class.PhDomain.php file

D

demircan

Guest
When i try to remove a domain i get an error
Error: Table::select() failed: no such row in the table

Then i did following:
http://kb.swsoft.com/article_139_1756_en.html

Now i have a big problem, when i enter Domains panel to list the domains i get following error, what must i do now?

-----
Warning: main(class.PhDomain.php) [function.main]: failed to open stream: Permission denied in C:\Program Files\SWsoft\Plesk\admin\plib\class.BsDomain.php on line 7

Fatal error: main() [function.require]: Failed opening required 'class.PhDomain.php' (include_path='C:\Program Files\SWsoft\Plesk\admin\plib;C:\Program Files\SWsoft\Plesk\admin\plib\api-rpc;C:\Program Files\SWsoft\Plesk\admin\javascripts;C:\Program Files\SWsoft\Plesk\admin\plib\locale;C:\Program Files\SWsoft\Plesk\admin\auto_prepend;C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\databases\phpMyAdmin;C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\databases\phpPgAdmin') in C:\Program Files\SWsoft\Plesk\admin\plib\class.BsDomain.php on line 7
-------
 
Does anyone have an idea?
I think the problem occured after i replaced, class.PHostingManager.php, class.PhDomain.php and class.SubDomainManager.php files in C:\Program Files\SWsoft\Plesk\admin\plib. But how can i recover original files now?

I did exactly in the Plesk Knowledbase but now my plesk is down!

Please help.


http://kb.swsoft.com/article_139_1756_en.html
--------
SYMPTOMS
When you try to remove a domain you get an error

Error: Table::select() failed: no such row in the table

RESOLUTION

To avoid this problem:

1. Download updated file Plesk files


Plesk 8.1.0

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.0/114199/DNSZone.php

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.0/114199/class.PHostingManager.php

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.0/114199/class.PhDomain.php

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.0/114199/class.SubDomainManager.php

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.0/114199/DNSZonesRepair.exe

2. Put class.PHostingManager.php, class.PhDomain.php, class.SubDomainManager.php to %plesk_dir%admin\plib

DNSZone.php to %plesk_dir%admin\plib\dns

But backup the original files first.

Put DNSZonesRepair.exe to %plesk_bin%

DNSZonesRepair.exe is developed to restore missing DNS zones for domains in Plesk. You can simply launch this tool and it recovers necessary records in Plesk database.
---------------
 
Back
Top