• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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