World Maps

Hi all i am struggling to get the world maps working :( i keep getting this error though

Database error in

Query:

SELECT `m`.`country`, `m`.`lat`, `m`.`lng`, COUNT(`p`.`ID`) AS `num`
FROM `bx_map_countries` AS `m`
INNER JOIN `Profiles` AS `p` ON (`p`.`Country` = `m`.`country` AND `p`.`Status` = 'Active')
INNER JOIN `bx_map_profiles` AS `pm` ON (`pm`.`id` = `p`.`ID` AND `pm`.`failed` = 0 AND `pm`.`allow_view_location_to` = '3')
WHERE `m`.`failed` = 0 AND `m`.`lat` < 74.590108008823 AND `m`.`lat` > -52.482780222078 AND `m`.`lng` < 180 AND `m`.`lng` > -180
GROUP BY `p`.`Country`
LIMIT 250

Mysql error: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='

Found error in the file '/var/www/vhosts/I HAVE EDITED THIS AND THE PATH IS CORRECT/map_profiles/classes/BxMapDb.php' at line 126.
Called 'getAll' function with erroneous argument #0.

Can anyone help

Quote · 28 Jun 2010

I am a noob but i just noticed a difference in the utf8 code, 1 is general and 1 is unicode, what does this mean ???

Quote · 28 Jun 2010

I would check the tables structure in phpmyadmin.

phpmyadmin

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 29 Jun 2010

I have done this and it is the same as yours . So where is it pulling the unicode form

Quote · 29 Jun 2010

Did you check the three tables involved or just the one?

bx_map_countries

Profiles

bx_map_profiles

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 29 Jun 2010

Hi i have found the problem and yes you were correct, i checked all the tables and for some reason some had general and some had unicode. Thanks for your help :)

Quote · 29 Jun 2010

Your welcome. :)

Sorry I was not more detailed the first time around.

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 30 Jun 2010

Could you possibly tell me what you did as I am now getting the same error

 

Regards

 

Toni

Quote · 8 Oct 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.