But the SQL statement does have some issues that could cause issues with newer versions of mySQL (as lat9 pointed out TYPE= is indeed deprecated) and the SQL script also contains code that could inadvertently delete items from the configuration table.
More importantly here is the reason why when lat9 removed the back quotes (not to be confused with single quotes) around the column names in the create table section of the script the problem was resolved. The syntax issue is the back quotes:
Removing the back quotes solves the issue.The error 1064 occurs due to Mysql version mismatch,because differnt versions have differnt
reserved words,which if used by a previous version causes the error to occur.
Not a PHP compatibility issue or you would have seen an error relating to that instead of a SQL error which is indicative of invalid syntax being used in the SQL script.. Besides that Clyde himself certified that this add-on was PHP v5.3 ready with his last release of Testimonials Manager..
The fact that you are not having an issue when you run the same script would only seem to indicate that your server is running an older version of mySQL which still supports some of this old (and now invalid) syntax..



Reply With Quote
