Loading...
 
Skip to main content

Architecture / Installation


Need help: You have an error in your SQL syntax...near '?' at line 1

I'm receiving the following error when walking through the Tiki 9.0 Installer at VillaIngenieux.com. SHOW TABLE STATUS LIKE ? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1

I made sure to check the mysql database for proper character formatting as utf8_general_ci as found in http://doc.tiki.org/Understanding+EncodingQuestion. I allowed the Installer to perform the database upgrade when installing also. I am unsure how to troubleshoot this error message. Can someone assist me with this matter so that I can complete the installation process?

One place the error occurs is near the end of the installation process. This is before the 'Configure General Settings' at the 'Review the Installation' step (#8). If I bypass the error and continue the install then it also happens under the 'Administration' section, then choosing the 'General' option (http://www.villaingenieux.com/tiki-admin.php?page=generalQuestion)

When doing so, the General option displays the following error:

System error.

The following error message was returned:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1
The query was:

SHOW TABLE STATUS LIKE ?
Values:

tiki_schema
The built query was likely:

SHOW TABLE STATUS LIKE ?

During install, I've enabled Report all PHP errors under Logging and Reporting if this is what you mean by Tiki error reporting.


On the 'Review the Installation' page, the error I receive is the following:


SHOW TABLE STATUS LIKE ?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1

Have you seen this error before and do you understand what needs to be done to resolve the issue? Thanks for your assistance.


Yes, this is a new installation.

There were 7527 successful queries completed in the process.

- Wayne