There was a problem

Home Forums Quform PHP There was a problem

This topic is: resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20754
    davidjwest
    Participant

    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 INTO vpl_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?

    #20760
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20769
    davidjwest
    Participant

    Thanks, even with that error_reporting(0); added I still get the same error.

    I have asked my host to take a look.

    #20770
    davidjwest
    Participant

    When 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.”

    #20782
    davidjwest
    Participant

    My 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)?

    #20785
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20806
    davidjwest
    Participant

    Thanks, it was a var_dump, I don’t remember putting that in there, sorry!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy