PDO Error: This driver doesn't support setting attributes...

Status
Not open for further replies.

hbtestx1

New Member
Messages
2
Reaction score
0
Points
1
I am currently learning the ropes of PDO and upon creating a simple user registration form when submitting the form this error is presented:

Fatal error: Uncaught PDOException: SQLSTATE[IM001]: Driver does not support this function: This driver doesn't support setting attributes

It appears that this issue is one on x10hosting's part unless Im mistaken. I have tried changing the version of my PHP and selected all available PDO drivers from within the PHP settings in cPanel however this has not fixed the issue.


I don't believe this is an issue with my code as although the error is present, a new row is inserted into my MySQL database, however all columns other an ID are blank due to this error.

Is there a way to fix this error on my part or is this something x10hosting will have to look into?

Thank you,
 
Status
Not open for further replies.
Top