Hi Lukasz!
> Hi Enrique,
> It looks like you don't have begining of the file. I send you also tar
> file. Try this.
>
> My gues is that you have something wrong with db structure and when you
> call search in 34 line of my file you got mysql error instead of mysql
> result.
> You can also check in mysql log what mysql query is call then you click
> search button and check this query manualy from command-line tool or
> myadmin.
>
> This only guesing but if think i'am right ;-)
It looks like we are getting closer! This is the output of the second (tared)
search.php:
Standard Message: DB Error: unknown error
Standard Code:-1
DBMS/User Message:SELECT distinct a.username, a.domain_name FROM virtual as v,
accountuser as a where ((v.username LIKE '%test%') or (v.alias LIKE
'%test%')) and (v.username=a.username) and ('1'='1') ORDER BY username
[nativecode=1267 ** Illegal mix of collations (latin1_swedish_ci,IMPLICIT)
and (latin1_bin,IMPLICIT) for operation '=']
DBMS/Debug Message:SELECT distinct a.username, a.domain_name FROM virtual as
v, accountuser as a where ((v.username LIKE '%test%') or (v.alias LIKE
'%test%')) and (v.username=a.username) and ('1'='1') ORDER BY username
[nativecode=1267 ** Illegal mix of collations (latin1_swedish_ci,IMPLICIT)
and (latin1_bin,IMPLICIT) for operation '=']
Changing my tables manually to latin1_bin solved. Having a look at my other
databases I have to admit that this wasn't a web-cyradm problem at all!
Somehow all my mysql defaults are set to collation latin1_swedish, no idea
where this comes from: We talk spanish here and my defaults are utf-8. The
funny part: Same happens on different fresh installs with SuSE 9.3!!! - I can
see all defaults set to latin1_swedish.
So: Sorry for bothering this list with questions not related at all to
web-cyradm: I just didn't know. 1000 thanks for your help! I would never have
found this solution on my own!!! 5 stars to web-cyradmin AND its
mailinglist!!!
Thanks again Lukasz!!!
Best wishes
Enrique
>
> rgds,
> Lukasz
--
Dirk Enrique Seiffert
CaribeNet S.A. - Cartagena - Colombia
www.caribenet.com
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm