[glotpress-updates] [GlotPress] #337: SQL errors during installation

GlotPress noreply at wordpress.org
Tue Jun 17 19:57:12 UTC 2014


#337: SQL errors during installation
---------------------+-----------------
 Reporter:  ozh      |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:
Component:  General  |    Version:
 Keywords:           |
---------------------+-----------------
 Trying to install GlotPress I get this on /install.php :

 {{{
 There were some errors:

 SQL ERROR!
 >>> Database: glotpress (localhost)
 >>>>>> CREATE TABLE IF NOT EXISTS `gp_translations` (
         `id` INT(10) NOT NULL auto_increment
 ) DEFAULT CHARACTER SET 'utf8';
 >>>>>> Incorrect table definition; there can be only one auto column and
 it must be defined as a key

 }}}

 And a similar message for each SQL query. It seems that only the first
 line of each `$gp_schema` in `gp-includes/schema.php:gp_schema_get()` is
 parsed and executed as an SQL query.

 Any hint where I should look at?


 (Apache on Windows 7, MySQL, fresh glotpress checked out from trunk)

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/337>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list