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

Cannot login to Plesk. PleskMainDBException. error in SQL syntax

Discussion in 'Plesk for Linux - 8.x and Older' started by yarr, Jun 19, 2007.

  1. yarr

    yarr Guest

    I tried to login to our plesk installation today and it came up with the license agreement page (which didn't actually show the license, only the checkboxes to agree or not) and then displays the following error:

    ERROR: PleskMainDBException
    MySQL query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release) = "AdvancedPoll-2.03-14"' at line 1

    0: /usr/local/psa/admin/plib/common_func.php3:229
    db_query(string 'SELECT id FROM SiteAppPackages WHERE CONCAT(name, "-", version, "-", release) = "AdvancedPoll-2.03-14"')
    1: /usr/local/psa/admin/plib/SiteApps/class.SiteAppPackageManager.php:284
    SiteAppPackageManager::getSiteAppPackageId(string 'AdvancedPoll-2.03-14')
    2: /usr/local/psa/admin/plib/SiteApps/class.SiteAppPackageManager.php:249
    3: /usr/local/psa/admin/htdocs/license.php3:27

    Does anyone know what is going wrong?