Home › Forums › Quform PHP › There was a problem
- This topic has 6 replies, 2 voices, and was last updated 7 years, 9 months ago by davidjwest.
- AuthorPosts
- February 2, 2017 at 9:41 am #20754davidjwestParticipant
Hi,
I had this working a few months ago but have just come back to do some more work on it and now get this error when submitting:
Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50626 Library:50552 in /home/vapourloveco/public_html/quform/process-all-elements.php on line 456
string(203) “INSERT INTOvpl_products
(title, price, introduction, description, featured, category, image) VALUES (‘Rear Mirror’, ‘1.99’, ‘12121212’, ‘33333333’, ”, ‘Starter’, ‘2_logo.png|1_1-1-cancellation.png|’)”Now my host has told me this shouldn’t matter – Headers:50626 Library:50552
But it isn’t working.
That line (456) is the db connection script and the details are correct.
$db = new mysqli(‘localhost’ etc
Any ideas?
February 3, 2017 at 6:20 pm #20760AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 6, 2017 at 8:31 am #20769davidjwestParticipantThanks, even with that error_reporting(0); added I still get the same error.
I have asked my host to take a look.
February 6, 2017 at 8:33 am #20770davidjwestParticipantWhen I add a simple query at the start of the script I get a different error:
“There was a problem
An error occurred and the response from the server was empty.”February 9, 2017 at 8:02 am #20782davidjwestParticipantMy host has done some work and the error I now get is:
string(212) “INSERT INTO
vpl_products
(title, price, introduction, description, featured, category, image) VALUES (‘Rear Mirror’, ‘1.99’, ‘21212121211’, ‘121212121122’, ”, ‘Advanced’, ‘drivers-licence-001.jpg|3_logo.png|’)”string(212)?
If I run that query in PHPMyAdmin it works fine, but what is string(212)?
February 10, 2017 at 4:02 pm #20785AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 14, 2017 at 11:12 am #20806davidjwestParticipantThanks, it was a var_dump, I don’t remember putting that in there, sorry!
- AuthorPosts
- You must be logged in to reply to this topic.