• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

MIgration Manager BUG

D

datahaus

Guest
Found a BUG in migration manager plesk module PleskX.pl (Version 7.5.2) execution on Redhat Linux 9.0 fail with this error:

SELECT c.id FROM certificates c, Repo
sitory r WHERE c.id=r.component_id AND r.rep_id= ORDER BY c.id
You have an error in your SQL syntax near 'ORDER BY c.id' at line 1


line 3161:
PHP:
    $sql = "SELECT c.id FROM certificates c, Repository r ".                                                                  
      "WHERE c.id=r.component_id AND r.rep_id=".$domain{'cert_rep_id'}.                                                      
      " ORDER BY c.id";

changed to:

PHP:
    $sql = "SELECT c.id FROM certificates c, Repository r ".                                                                  
      "WHERE c.id=r.component_id AND r.rep_id='".$domain{'cert_rep_id'}.                                                      
      "' ORDER BY c.id";

Hope this will help
 
Back
Top