OS Property support center

1064 error

More
8 years 6 months ago #89759 by Shari
1064 error was created by Shari
Getting an error trying to select country

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 '-es = country_name where country_name_es-es Is NULL or country_name_es-es = ''' at line 1 SQL=Update #__osrs_countries set country_name_es-es = country_name where country_name_es-es Is NULL or country_name_es-es = ''

Using 2 languages on the site, English and Spanish.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #89770 by Mr. Dam
Replied by Mr. Dam on topic 1064 error
Hi Shari,
Please go to Back-end > Extensions > Languages manager > Contents language and open Spanish language content. You need to adjust the language code of Spanish from "es-es" to "es"
And the issue will be solved
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan