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
'-1' at line 12
adodb_mysqlt._execute(
SELECT
g2_UserGroupMap.g_userId,
g2..., false) % line 767,
file: adodb.inc.php
adodb_mysqlt.execute(
SELECT
g2_UserGroupMap.g_userId,
g2..., Array[1]) % line 438,
file: adodb-mysql.inc.php
adodb_mysqlt.selectlimit(
SELECT
g2_UserGroupMap.g_userId,
g2..., -1, -1, Array[1]) %
line 1044, file: DatabaseStorage.class
mysqldatabasestorage.search(
SELECT
[GalleryUserGroupMap::userId],
..., Array[1], Array[1]) % line
203, file: Gallery.class
gallery.search(
SELECT
[GalleryUserGroupMap::userId],
..., Array[1], Array[1]) % line
173, file: GalleryUserGroupHelper_medium.class
Posts: 7994
I see this problem has not gone away. :-/ The error should have been accompanied by a stack trace. Can you post that here, please? Thanks!
Posts: 100
Hello Bharat,
I have solved the problem, i had installed MySQL 4.1.1 and just a couple of minutes ago i did remove MySQL 4.1.1 and Installed 4.0.18 and now it working like a charm.
Posts: 7994
Hrm. I'll install MySQL 4.1.1 somewhere and see if I can reproduce your problem. Thanks for the update!