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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mysqli prepare error

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

  1. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    280
    Likes Received:
    25
    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,676
    Likes Received:
    73
    Trophy Points:
    28
    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..
     
  3. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    27
    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.
     
  4. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    280
    Likes Received:
    25
    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