• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PDO EXception error

meenakshig

New Pleskian
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
 
Back
Top