• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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