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

PDO EXception error

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by meenakshig, Oct 5, 2012.

  1. meenakshig

    meenakshig New Pleskian

    10
     
    Joined:
    Oct 5, 2012
    Messages:
    1
    Likes Received:
    0
    I am running my zend framework site on plesk. I am using PDO-MYSQL connection in the application.
    The version of PHP is 5.3.3 and version of MYSQL Client API is 5.0.7

    But , the website is not running showing the The requested URL /login was not found on this server(404)

    I have checked the error log it is showing error

    PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: no parameters were bound'
    in /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Statement/Pdo.php:228
    \nStack trace:\n#0 /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Statement/Pdo.php(228):
    PDOStatement->execute(Array)\n#1 /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Statement.php(300):
    Zend_Db_Statement_Pdo->_execute(Array)\n#2 /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Adapter/Abstract.php(468):
    Zend_Db_Statement->execute(Array)\n#3 /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Adapter/Pdo/Abstract.php(238):
    Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)\n#4 /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPul in
    /var/www/vhosts/marketpulseindia.co.in/subdomains/retailmetrics/httpdocs/MarketPulse/library/Zend/Db/Statement/Pdo.php on line 234



    Please answer, a quick response will be very helpful. Thanks
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
Loading...