1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk Domain Panel Problem about class.PhDomain.php file

Discussion in 'Plesk for Windows - 8.x and Older' started by demircan, May 7, 2007.

  1. demircan

    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:

    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
  2. demircan

    demircan Guest

    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.

    When you try to remove a domain you get an error

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


    To avoid this problem:

    1. Download updated file Plesk files

    Plesk 8.1.0






    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.