Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mysqli prepare error

Discussion in 'Database Discussion' started by Sametto Chan, Oct 14, 2017.

  1. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    337
    Likes Received:
    30
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have checked server error logs from XenForo.

    Code:
    Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';void(0);'), 1508002312, 0, '', 0, 0, 1508002312, 1508002312, 0, ' at line 6 - library/Zend/Db/Statement/Mysqli.php:77
    Code:
    An exception occurred: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';void(0);'), 1508029372, 0, '', 0, 0, 1508029372, 1508029372, 0, ' at line 6 in /home/animexunknown/public_html/library/Zend/Db/Statement/Mysqli.php on line 77
    MariaDB has an issue? I have disabled all add-ons. It's still working up.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Did yo refer to the SYNTAX manual for the version of Database server you have? It looks more of a syntax issue..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    As the previous commenter pointed out, this appears to be a syntax issue with the query. I would recommend reaching out to your developer or xenforo, and ensuring you are meeting their software requirements.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Samet Chan

    Samet Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    337
    Likes Received:
    30
    Trophy Points:
    103
    cPanel Access Level:
    Root Administrator
    Twitter:
    I think its add-on has an issue. They didn't update to latest version of XenForo. I'll later to ask XenForo resource author.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice