• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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