[horde] post configureation db syntax error problems

Jan Schneider jan at horde.org
Fri Nov 10 12:11:50 PST 2006


Zitat von Michael Potter <michael at xonline.org.uk>:

> I have been having lots of trouble trying to set up horde at home  
> whereas at work I got it all working fine.
>
> I am using Slackware (11). with its default apache, mysql and php  
> with extra pear modules installed as directed in the horde INSTALL  
> docs.
>
> After getting a conf.php into place, I end up getting errors in the  
> log similar to the following:
>
> Nov 06 13:56:24 HORDE [emergency] [horde] DB Error: syntax error:  
> SELECT [user_uid] FROM [horde_users] [nativecode=1064 ** 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 '[user_uid]  
> FROM [horde_users]' at line 1] [on line 236 of  
> "/horde/admin/user.php"]
> Nov 06 14:02:22 HORDE [error] [horde] Failed retrieving prefs for  
> Administrator [on line 224 of "/horde/lib/Horde/Prefs/sql.php"]

The column name is called user_uid, not [user_uid]. The same goes for  
the table name.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list