phpScheduleIt
May 25, 2013, 02:19:35 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Bugs
>
phpScheduleIt 1.2.x
>
Group and sorting not working
Pages: [
1
]
« previous
next »
Print
Author
Topic: Group and sorting not working (Read 767 times)
gabrielef71
Newbie
Karma: 0
Posts: 2
Group and sorting not working
«
on:
March 15, 2010, 06:16:55 AM »
Hi all,
here are a couple of questions. My PhpScheduleIT version is 1.2.12.
1) When I try to working with groups I get this message so I'm not able to create/manage groups at all.
DB Error: syntax error SELECT g.groupid, g.group_name, u.fname, u.lname, cnt.user_count FROM groups g LEFT JOIN user_groups ug ON g.groupid = ug.groupid AND ug.is_admin = 1 LEFT JOIN login u ON ug.memberid = u.memberid LEFT JOIN ( SELECT ug.groupid, COUNT(ug.memberid) as user_count FROM user_groups ug GROUP BY ug.groupid ) cnt ON cnt.groupid = g.groupid ORDER BY group_name LIMIT 0, 25 [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 'SELECT ug.groupid, COUNT(ug.memberid) as user_count FROM user_g]
My Mysql version is 4.0.30. Php version: 5.2.13.
2) When I try to sort my booking by date (Start Date or End Date), the sorting process it doesn't work.
Any idea? Thanks.
Best, Gabriele
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: Group and sorting not working
«
Reply #1 on:
March 16, 2010, 02:06:13 PM »
I *think* this is a limitation of older versions of MySQL. A thread with the fix is here:
http://php.brickhost.com/forums/index.php?topic=2153.0
Logged
gabrielef71
Newbie
Karma: 0
Posts: 2
Re: Group and sorting not working
«
Reply #2 on:
March 17, 2010, 05:47:28 PM »
Thanks, it's working with the fix.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...