Problems with unicode - cyrilic

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Problems with unicode - cyrilic

Postby levros » Thu May 07, 2009 11:49 am

how do i send messages with cyrilic inside the html version???
levros
 
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Postby maschoff » Mon Jun 08, 2009 3:02 pm

Force the JDBC driver to use UTF-8. To do this, edit file emm.properties in directory

Code: Select all
/home/openemm/webapps/core/WEB-INF/classes


Search for line

Code: Select all
jdbc.url=jdbc:mysql://localhost/openemm


and change it to

Code: Select all
jdbc.url=jdbc:mysql://localhost/openemm?useUnicode=yes&characterEncoding=UTF-8


After that change restart OpenEMM with

Code: Select all
su - openemm
OpenEMM.sh stop
OpenEMM.sh start
exit
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 1310
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Problems with unicode

Postby levros » Wed Jun 10, 2009 1:06 pm

"
After that change restart OpenEMM with

Code:
su - openemm
OpenEMM.sh stop
OpenEMM.sh start
exit

"

Where do I write this code?
levros
 
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Postby maschoff » Sun Jun 14, 2009 9:16 pm

At the Linux shell prompt.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 1310
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

reply to ma

Postby levros » Mon Jan 18, 2010 11:09 am

i have donwloaded the newset version of openemm and istalled it from scratch and now it works with russian :D

the only problem is that all the mails that im sending are identified as spam :(
levros
 
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am

Postby maschoff » Mon Jan 18, 2010 11:44 am

In this case you should use the mail server of your ISP as smart relay. Hopefully, those IP addresses have a better reputation.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 1310
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Reply to ma

Postby levros » Mon Mar 08, 2010 7:13 am

Hi ma,

I changed the smart relay to a gmail account and it works fine.

i have one more question though,

We are using the latest openemm version (6.0.1) and i installed all the required programs on the same server.

Now we want to separate the MySql DB From the application, so we changed the "openemm.py" and added "-h [ip of the MySql server]" and we changed the "emm.properties" and "agn.py" - replaced localhost with the ip of the MySql server.

But We still getting an error message : "failed to connect to database" after creating the openemm and the openemm_cms database.

Can you help me?
levros
 
Posts: 10
Joined: Sun Apr 26, 2009 7:18 am


Return to Using OpenEMM

Who is online

Users browsing this forum: No registered users and 0 guests