The documentation for jqGrid for PHP states that a “PDO Driver for MySQL” is one of the requirements.
I use GoDaddy for hosting, and when I ran the phpinfo() function, it says “no value” in the PDO info box.
I spoke to a tech support rep, and they said they can't enable PDO, and that I would have to find a workaround.
In Google searches, I saw some conversations about changing my root php.ini file to include “extension=php_pdo.dllextension=php_pdo_mysql.dll”, but this did not solve my issue.
Has anyone else run into this problem?
When I try to run the examples, I get the following error:
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in D:HostingXXX
thrown in myfirstgrid.php on line 8.
Line 8: $conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD);
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top