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

Deleting domain template and got stuck with error

Discussion in 'Plesk for Windows - 8.x and Older' started by MasterWebMan, Aug 11, 2005.

  1. MasterWebMan

    MasterWebMan Guest

    I searched through this forum and did not find anyone has the same problem as mine.

    I was trying to delete one Domain Template but got into the problem. There's an error message appear after clicking on "Confirm removal." Unfortunately, I didn't copy that error. I believed it's something similar to what I posted below.

    After I got into the problem, I went to check the domain template section. There's a blank template appeared. It's the template I was trying to delete. The name has gone, but the template (an icon plus blank name) still appeared. Trying to delete this template again (and again), I got this error message.

    TemplatesList::remove() failed: TemplatesList::getRepositId_() failed: Unable to define templates
    0: C:program FilesSWsoftPleskadminhtdocscreation_templatesdom_templates.php:47 psaerror(string "TemplatesList::remove() failed: TemplatesList::getRepositId_() failed: Unable to define templates")

    Anyone can help?
  2. MasterWebMan

    MasterWebMan Guest

    Is this forum monitored by SW-soft engineer? Just wonder if you guys know what this error is about.
  3. smach

    smach Guest

    The problem can be in MySQL records, some of them were not removed
    that's why you get this error.
  4. nettproffen

    nettproffen Guest

    Hi -

    I have just the same problem.
    Is there any solution known?

  5. arazas

    arazas Guest

    Well this will need to be removed manually through plesk DB. All you need to do is back PSA db first. Connect PSA DB using any sql editor and then remove or modify the related records carefully. If you can't do let me know at arazas@gmail.com
  6. raaqi

    raaqi Guest

    I have the same problem. It would be nice for SWSoft to take a look at this.

    The problem does not exist with the DBASE. I narrowed mine down to a problem with the template id 8. If i put this back in the dbase, the blank template is now no longer blank, however upon deleting it, the dbase record is removed but the empty template stays.

    I have since had the same problem with an empty client template too. The problem is widespread with the template data (where is it stored???)
  7. raaqi

    raaqi Guest

    Viewing templates from Plesk:

    mysql> select * from Templates;
    | id | name | note_id |
    | 8 | eight | NULL |
    1 row in set (0.01 sec)

    Deleting the template from Plesk:
    [​IMG] <-- EMPTY PAGE

    mysql> select * from Templates;
    Empty set (0.00 sec)

    Recreating the template in PSA dbase:

    mysql> INSERT INTO `Templates` ( `id` , `name` , `note_id` ) VALUES ('8', 'PlanEight', NULL );
    Query OK, 1 row affected (0.00 sec)


    So what we're seeing is plesk not deleting the template id 8... It's storing this somewhere, i'm not sure where.